public class GroupPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>
implements com.liferay.portal.service.persistence.GroupPersistence
Caching information and settings can be found in portal.properties
GroupPersistence,
GroupUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C_L_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_F |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_L_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_P_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_LIVEGROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_C_L_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_F |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_L_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_C_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_LIVEGROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_UUID_G |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.Organization> |
groupToOrganizationTableMapper |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.Role> |
groupToRoleTableMapper |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.UserGroup> |
groupToUserGroupTableMapper |
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.User> |
groupToUserTableMapper |
protected com.liferay.portal.service.persistence.OrganizationPersistence |
organizationPersistence |
protected com.liferay.portal.service.persistence.RolePersistence |
rolePersistence |
protected com.liferay.portal.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
GroupPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrganization(long pk,
long organizationPK)
Adds an association between the group and the organization.
|
void |
addOrganization(long pk,
com.liferay.portal.model.Organization organization)
Adds an association between the group and the organization.
|
void |
addOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
Adds an association between the group and the organizations.
|
void |
addOrganizations(long pk,
long[] organizationPKs)
Adds an association between the group and the organizations.
|
void |
addRole(long pk,
long rolePK)
Adds an association between the group and the role.
|
void |
addRole(long pk,
com.liferay.portal.model.Role role)
Adds an association between the group and the role.
|
void |
addRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
Adds an association between the group and the roles.
|
void |
addRoles(long pk,
long[] rolePKs)
Adds an association between the group and the roles.
|
void |
addUser(long pk,
long userPK)
Adds an association between the group and the user.
|
void |
addUser(long pk,
com.liferay.portal.model.User user)
Adds an association between the group and the user.
|
void |
addUserGroup(long pk,
long userGroupPK)
Adds an association between the group and the user group.
|
void |
addUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
Adds an association between the group and the user group.
|
void |
addUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
Adds an association between the group and the user groups.
|
void |
addUserGroups(long pk,
long[] userGroupPKs)
Adds an association between the group and the user groups.
|
void |
addUsers(long pk,
java.util.List<com.liferay.portal.model.User> users)
Adds an association between the group and the users.
|
void |
addUsers(long pk,
long[] userPKs)
Adds an association between the group and the users.
|
void |
afterPropertiesSet()
Initializes the group persistence.
|
void |
cacheResult(com.liferay.portal.model.Group group)
Caches the group in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.model.Group> groups)
Caches the groups in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portal.model.Group group) |
void |
clearCache()
Clears the cache for all groups.
|
void |
clearCache(com.liferay.portal.model.Group group)
Clears the cache for the group.
|
void |
clearCache(java.util.List<com.liferay.portal.model.Group> groups) |
void |
clearOrganizations(long pk)
Clears all associations between the group and its organizations.
|
void |
clearRoles(long pk)
Clears all associations between the group and its roles.
|
protected void |
clearUniqueFindersCache(com.liferay.portal.model.Group group) |
void |
clearUserGroups(long pk)
Clears all associations between the group and its user groups.
|
void |
clearUsers(long pk)
Clears all associations between the group and its users.
|
boolean |
containsOrganization(long pk,
long organizationPK)
Returns
true if the organization is associated with the group. |
boolean |
containsOrganizations(long pk)
Returns
true if the group has any organizations associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Returns
true if the role is associated with the group. |
boolean |
containsRoles(long pk)
Returns
true if the group has any roles associated with it. |
boolean |
containsUser(long pk,
long userPK)
Returns
true if the user is associated with the group. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns
true if the user group is associated with the group. |
boolean |
containsUserGroups(long pk)
Returns
true if the group has any user groups associated with it. |
boolean |
containsUsers(long pk)
Returns
true if the group has any users associated with it. |
int |
countAll()
Returns the number of groups.
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.
|
int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and name = ?.
|
int |
countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
int |
countByC_C(long companyId,
long classNameId)
Returns the number of groups where companyId = ? and classNameId = ?.
|
int |
countByC_F(long companyId,
java.lang.String friendlyURL)
Returns the number of groups where companyId = ? and friendlyURL = ?.
|
int |
countByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
Returns the number of groups where companyId = ? and liveGroupId = ? and name = ?.
|
int |
countByC_N(long companyId,
java.lang.String name)
Returns the number of groups where companyId = ? and name = ?.
|
int |
countByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.
|
int |
countByC_P(long companyId,
long parentGroupId)
Returns the number of groups where companyId = ? and parentGroupId = ?.
|
int |
countByC_S(long companyId,
boolean site)
Returns the number of groups where companyId = ? and site = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of groups where companyId = ?.
|
int |
countByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
int |
countByLiveGroupId(long liveGroupId)
Returns the number of groups where liveGroupId = ?.
|
int |
countByT_A(int type,
boolean active)
Returns the number of groups where type = ? and active = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of groups where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of groups where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of groups where uuid = ?.
|
com.liferay.portal.model.Group |
create(long groupId)
Creates a new group with the primary key.
|
void |
destroy() |
com.liferay.portal.model.Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?.
|
com.liferay.portal.model.Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?.
|
com.liferay.portal.model.Group |
fetchByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
fetchByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
Returns the group where companyId = ? and friendlyURL = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByC_N(long companyId,
java.lang.String name)
Returns the group where companyId = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
Returns the group where companyId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByC_P_First(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
fetchByC_P_Last(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
fetchByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
|
com.liferay.portal.model.Group |
fetchByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
|
com.liferay.portal.model.Group |
fetchByC_S_First(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?.
|
com.liferay.portal.model.Group |
fetchByC_S_Last(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?.
|
com.liferay.portal.model.Group |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ?.
|
com.liferay.portal.model.Group |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ?.
|
com.liferay.portal.model.Group |
fetchByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
fetchByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
fetchByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
Returns the group where liveGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByPrimaryKey(long groupId)
Returns the group with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the group with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByT_A_First(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?.
|
com.liferay.portal.model.Group |
fetchByT_A_Last(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?.
|
com.liferay.portal.model.Group |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.Group |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.Group |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ?.
|
com.liferay.portal.model.Group |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.portal.model.Group |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
Returns the group where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.model.Group |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findAll()
Returns all the groups.
|
java.util.List<com.liferay.portal.model.Group> |
findAll(int start,
int end)
Returns a range of all the groups.
|
java.util.List<com.liferay.portal.model.Group> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups.
|
com.liferay.portal.model.Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?.
|
com.liferay.portal.model.Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?.
|
com.liferay.portal.model.Group |
findByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
findByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group[] |
findByC_C_P_PrevAndNext(long groupId,
long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group[] |
findByC_C_PrevAndNext(long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_C(long companyId,
long classNameId)
Returns all the groups where companyId = ? and classNameId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the groups where companyId = ? and classNameId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and classNameId = ?.
|
com.liferay.portal.model.Group |
findByC_F(long companyId,
java.lang.String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
Returns the group where companyId = ? and liveGroupId = ? and name = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByC_N(long companyId,
java.lang.String name)
Returns the group where companyId = ? and name = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByC_P_First(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
findByC_P_Last(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group[] |
findByC_P_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
findByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
|
com.liferay.portal.model.Group |
findByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
|
com.liferay.portal.model.Group[] |
findByC_P_S_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns all the groups where companyId = ? and parentGroupId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end)
Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_P(long companyId,
long parentGroupId)
Returns all the groups where companyId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where companyId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
findByC_S_First(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?.
|
com.liferay.portal.model.Group |
findByC_S_Last(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?.
|
com.liferay.portal.model.Group[] |
findByC_S_PrevAndNext(long groupId,
long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_S(long companyId,
boolean site)
Returns all the groups where companyId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_S(long companyId,
boolean site,
int start,
int end)
Returns a range of all the groups where companyId = ? and site = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByC_S(long companyId,
boolean site,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and site = ?.
|
com.liferay.portal.model.Group |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ?.
|
com.liferay.portal.model.Group |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ?.
|
com.liferay.portal.model.Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByCompanyId(long companyId)
Returns all the groups where companyId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the groups where companyId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ?.
|
com.liferay.portal.model.Group |
findByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
findByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
com.liferay.portal.model.Group |
findByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByPrimaryKey(long groupId)
Returns the group with the primary key or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the group with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portal.model.Group |
findByT_A_First(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?.
|
com.liferay.portal.model.Group |
findByT_A_Last(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?.
|
com.liferay.portal.model.Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where type = ? and active = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByT_A(int type,
boolean active)
Returns all the groups where type = ? and active = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByT_A(int type,
boolean active,
int start,
int end)
Returns a range of all the groups where type = ? and active = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByT_A(int type,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where type = ? and active = ?.
|
com.liferay.portal.model.Group |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.Group |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.Group[] |
findByUuid_C_PrevAndNext(long groupId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the groups where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the groups where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where uuid = ? and companyId = ?.
|
com.liferay.portal.model.Group |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ?.
|
com.liferay.portal.model.Group |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.model.Group |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ?.
|
com.liferay.portal.model.Group[] |
findByUuid_PrevAndNext(long groupId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where uuid = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByUuid(java.lang.String uuid)
Returns all the groups where uuid = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the groups where uuid = ?.
|
java.util.List<com.liferay.portal.model.Group> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the groups where uuid = ?.
|
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portal.model.Group |
getByC_C_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByC_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.Group |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
java.util.List<com.liferay.portal.model.Organization> |
getOrganizations(long pk)
Returns all the organizations associated with the group.
|
java.util.List<com.liferay.portal.model.Organization> |
getOrganizations(long pk,
int start,
int end)
Returns a range of all the organizations associated with the group.
|
java.util.List<com.liferay.portal.model.Organization> |
getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the organizations associated with the group.
|
int |
getOrganizationsSize(long pk)
Returns the number of organizations associated with the group.
|
java.util.List<com.liferay.portal.model.Role> |
getRoles(long pk)
Returns all the roles associated with the group.
|
java.util.List<com.liferay.portal.model.Role> |
getRoles(long pk,
int start,
int end)
Returns a range of all the roles associated with the group.
|
java.util.List<com.liferay.portal.model.Role> |
getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the roles associated with the group.
|
int |
getRolesSize(long pk)
Returns the number of roles associated with the group.
|
java.util.List<com.liferay.portal.model.UserGroup> |
getUserGroups(long pk)
Returns all the user groups associated with the group.
|
java.util.List<com.liferay.portal.model.UserGroup> |
getUserGroups(long pk,
int start,
int end)
Returns a range of all the user groups associated with the group.
|
java.util.List<com.liferay.portal.model.UserGroup> |
getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the user groups associated with the group.
|
int |
getUserGroupsSize(long pk)
Returns the number of user groups associated with the group.
|
java.util.List<com.liferay.portal.model.User> |
getUsers(long pk)
Returns all the users associated with the group.
|
java.util.List<com.liferay.portal.model.User> |
getUsers(long pk,
int start,
int end)
Returns a range of all the users associated with the group.
|
java.util.List<com.liferay.portal.model.User> |
getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the users associated with the group.
|
int |
getUsersSize(long pk)
Returns the number of users associated with the group.
|
com.liferay.portal.model.Group |
remove(long groupId)
Removes the group with the primary key from the database.
|
com.liferay.portal.model.Group |
remove(java.io.Serializable primaryKey)
Removes the group with the primary key from the database.
|
void |
removeAll()
Removes all the groups from the database.
|
com.liferay.portal.model.Group |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.
|
com.liferay.portal.model.Group |
removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? from the database.
|
void |
removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.
|
void |
removeByC_C(long companyId,
long classNameId)
Removes all the groups where companyId = ? and classNameId = ? from the database.
|
com.liferay.portal.model.Group |
removeByC_F(long companyId,
java.lang.String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database.
|
com.liferay.portal.model.Group |
removeByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
Removes the group where companyId = ? and liveGroupId = ? and name = ? from the database.
|
com.liferay.portal.model.Group |
removeByC_N(long companyId,
java.lang.String name)
Removes the group where companyId = ? and name = ? from the database.
|
void |
removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.
|
void |
removeByC_P(long companyId,
long parentGroupId)
Removes all the groups where companyId = ? and parentGroupId = ? from the database.
|
void |
removeByC_S(long companyId,
boolean site)
Removes all the groups where companyId = ? and site = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the groups where companyId = ? from the database.
|
void |
removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.
|
com.liferay.portal.model.Group |
removeByLiveGroupId(long liveGroupId)
Removes the group where liveGroupId = ? from the database.
|
void |
removeByT_A(int type,
boolean active)
Removes all the groups where type = ? and active = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the groups where uuid = ? and companyId = ? from the database.
|
com.liferay.portal.model.Group |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the group where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the groups where uuid = ? from the database.
|
protected com.liferay.portal.model.Group |
removeImpl(com.liferay.portal.model.Group group) |
void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the group and the organization.
|
void |
removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
Removes the association between the group and the organization.
|
void |
removeOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
Removes the association between the group and the organizations.
|
void |
removeOrganizations(long pk,
long[] organizationPKs)
Removes the association between the group and the organizations.
|
void |
removeRole(long pk,
long rolePK)
Removes the association between the group and the role.
|
void |
removeRole(long pk,
com.liferay.portal.model.Role role)
Removes the association between the group and the role.
|
void |
removeRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
Removes the association between the group and the roles.
|
void |
removeRoles(long pk,
long[] rolePKs)
Removes the association between the group and the roles.
|
void |
removeUser(long pk,
long userPK)
Removes the association between the group and the user.
|
void |
removeUser(long pk,
com.liferay.portal.model.User user)
Removes the association between the group and the user.
|
void |
removeUserGroup(long pk,
long userGroupPK)
Removes the association between the group and the user group.
|
void |
removeUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
Removes the association between the group and the user group.
|
void |
removeUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
Removes the association between the group and the user groups.
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
Removes the association between the group and the user groups.
|
void |
removeUsers(long pk,
java.util.List<com.liferay.portal.model.User> users)
Removes the association between the group and the users.
|
void |
removeUsers(long pk,
long[] userPKs)
Removes the association between the group and the users.
|
void |
setOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
Sets the organizations associated with the group, removing and adding associations as necessary.
|
void |
setOrganizations(long pk,
long[] organizationPKs)
Sets the organizations associated with the group, removing and adding associations as necessary.
|
void |
setRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
Sets the roles associated with the group, removing and adding associations as necessary.
|
void |
setRoles(long pk,
long[] rolePKs)
Sets the roles associated with the group, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
Sets the user groups associated with the group, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
Sets the user groups associated with the group, removing and adding associations as necessary.
|
void |
setUsers(long pk,
java.util.List<com.liferay.portal.model.User> users)
Sets the users associated with the group, removing and adding associations as necessary.
|
void |
setUsers(long pk,
long[] userPKs)
Sets the users associated with the group, removing and adding associations as necessary.
|
protected com.liferay.portal.model.Group |
toUnwrappedModel(com.liferay.portal.model.Group group) |
com.liferay.portal.model.Group |
updateImpl(com.liferay.portal.model.Group group) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_LIVEGROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_LIVEGROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_F
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_T_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_P_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_P_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_P_S
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_L_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_L_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_C_C_L_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_C_L_N
@BeanReference(type=com.liferay.portal.service.persistence.OrganizationPersistence.class) protected com.liferay.portal.service.persistence.OrganizationPersistence organizationPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.Organization> groupToOrganizationTableMapper
@BeanReference(type=com.liferay.portal.service.persistence.RolePersistence.class) protected com.liferay.portal.service.persistence.RolePersistence rolePersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.Role> groupToRoleTableMapper
@BeanReference(type=com.liferay.portal.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.service.persistence.UserGroupPersistence userGroupPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.UserGroup> groupToUserGroupTableMapper
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<com.liferay.portal.model.Group,com.liferay.portal.model.User> groupToUserTableMapper
public java.util.List<com.liferay.portal.model.Group> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_First in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_First in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_Last in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_Last in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByUuid_PrevAndNext(long groupId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByUUID_G in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByUUID_G in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDnull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByUUID_G in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByUUID_G in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByUUID_G(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
countByUUID_G in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid_C in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_C_First in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_C_First in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_C_Last in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_C_Last in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByUuid_C_PrevAndNext(long groupId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_C_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid_C in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid_C in interface com.liferay.portal.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByCompanyId_PrevAndNext(long groupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByCompanyId in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByLiveGroupId(long liveGroupId)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistenceliveGroupId - the live group IDcom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistenceliveGroupId - the live group IDnull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistenceliveGroupId - the live group IDretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByLiveGroupId(long liveGroupId)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistenceliveGroupId - the live group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByLiveGroupId(long liveGroupId)
throws com.liferay.portal.kernel.exception.SystemException
countByLiveGroupId in interface com.liferay.portal.service.persistence.GroupPersistenceliveGroupId - the live group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_C(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
findByC_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_C(long companyId,
long classNameId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_C(long companyId,
long classNameId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_C_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_First(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_C_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_C_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_Last(long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_C_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByC_C_PrevAndNext(long groupId,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_C_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long classNameId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_C(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_C(long companyId,
long classNameId)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_P(long companyId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
findByC_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_P(long companyId,
long parentGroupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_P(long companyId,
long parentGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_P_First(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_P_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_P_First(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_P_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_P_Last(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_P_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_P_Last(long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_P_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByC_P_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_P_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_P(long companyId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_P(long companyId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
countByC_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByC_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDname - the namecom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDname - the namenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDname - the nameretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByC_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByC_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByC_F in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r lcom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_F in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r lnull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_F in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r lretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByC_F in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r lcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.kernel.exception.SystemException
countByC_F in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly u r lcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_S(long companyId,
boolean site)
throws com.liferay.portal.kernel.exception.SystemException
findByC_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_S(long companyId,
boolean site,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_S(long companyId,
boolean site,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_S_First(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_S_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_S_First(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_S_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_S_Last(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_S_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_S_Last(long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_S_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByC_S_PrevAndNext(long groupId,
long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_S_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_S(long companyId,
boolean site)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_S(long companyId,
boolean site)
throws com.liferay.portal.kernel.exception.SystemException
countByC_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByT_A(int type,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
findByT_A in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByT_A(int type,
boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_A in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByT_A(int type,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByT_A in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByT_A_First(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByT_A_First in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByT_A_First(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByT_A_First in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByT_A_Last(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByT_A_Last in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByT_A_Last(int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByT_A_Last in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByT_A_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current grouptype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
int type,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByT_A(int type,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
removeByT_A in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByT_A(int type,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
countByT_A in interface com.liferay.portal.service.persistence.GroupPersistencetype - the typeactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByG_C_P(long groupId,
long companyId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
findByG_C_P in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_P in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_C_P in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_P_First in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_C_P_First in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByG_C_P_Last in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByG_C_P_Last in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByG_C_P in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByG_C_P(long groupId,
long companyId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
countByG_C_P in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p kcom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p knull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p kretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p kcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C_C in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class p kcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
findByC_C_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_C_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_C_P_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_C_P_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_C_P_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_C_P_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByC_C_P_PrevAndNext(long groupId,
long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_C_P_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByC_C_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long classNameId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_C_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C_P in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_P_S(long companyId,
long parentGroupId,
boolean site)
throws com.liferay.portal.kernel.exception.SystemException
findByC_P_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_P_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_P_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_P_S_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_P_S_First in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_P_S_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_P_S_Last in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group[] findByC_P_S_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
findByC_P_S_PrevAndNext in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group getByC_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.Group group,
long companyId,
long parentGroupId,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_P_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_P_S(long companyId,
long parentGroupId,
boolean site)
throws com.liferay.portal.kernel.exception.SystemException
countByC_P_S in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDname - the namecom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDname - the namenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDname - the nameretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByC_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDname - the namecom.liferay.portal.NoSuchGroupException - if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDname - the namenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDname - the nameretrieveFromCache - whether to use the finder cachenull if a matching group could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
removeByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portal.NoSuchGroupExceptionpublic int countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
countByC_C_L_N in interface com.liferay.portal.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDname - the namecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portal.model.Group group)
cacheResult in interface com.liferay.portal.service.persistence.GroupPersistencegroup - the grouppublic void cacheResult(java.util.List<com.liferay.portal.model.Group> groups)
cacheResult in interface com.liferay.portal.service.persistence.GroupPersistencegroups - the groupspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>public void clearCache(com.liferay.portal.model.Group group)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>public void clearCache(java.util.List<com.liferay.portal.model.Group> groups)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>protected void cacheUniqueFindersCache(com.liferay.portal.model.Group group)
protected void clearUniqueFindersCache(com.liferay.portal.model.Group group)
public com.liferay.portal.model.Group create(long groupId)
create in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key for the new grouppublic com.liferay.portal.model.Group remove(long groupId)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the groupcom.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>primaryKey - the primary key of the groupcom.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.Group removeImpl(com.liferay.portal.model.Group group)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.Group updateImpl(com.liferay.portal.model.Group group)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portal.service.persistence.GroupPersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.model.Group toUnwrappedModel(com.liferay.portal.model.Group group)
public com.liferay.portal.model.Group findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>primaryKey - the primary key of the groupcom.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group findByPrimaryKey(long groupId)
throws com.liferay.portal.NoSuchGroupException,
com.liferay.portal.kernel.exception.SystemException
NoSuchGroupException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the groupcom.liferay.portal.NoSuchGroupException - if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.Group>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>primaryKey - the primary key of the groupnull if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.GroupPersistencegroupId - the primary key of the groupnull if a group with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portal.service.persistence.GroupPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.service.persistence.GroupPersistencestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Group> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.service.persistence.GroupPersistencestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portal.service.persistence.GroupPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portal.service.persistence.GroupPersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Organization> getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getOrganizationsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getOrganizationsSize in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsOrganization(long pk,
long organizationPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the organization is associated with the group.containsOrganization in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organizationtrue if the organization is associated with the group; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsOrganizations(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the group has any organizations associated with it.containsOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with organizationstrue if the group has any organizations associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addOrganization(long pk,
long organizationPK)
throws com.liferay.portal.kernel.exception.SystemException
addOrganization in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organizationcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addOrganization(long pk,
com.liferay.portal.model.Organization organization)
throws com.liferay.portal.kernel.exception.SystemException
addOrganization in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganization - the organizationcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.kernel.exception.SystemException
addOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizationscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
throws com.liferay.portal.kernel.exception.SystemException
addOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizations - the organizationscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearOrganizations(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated organizations fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeOrganization(long pk,
long organizationPK)
throws com.liferay.portal.kernel.exception.SystemException
removeOrganization in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organizationcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
throws com.liferay.portal.kernel.exception.SystemException
removeOrganization in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganization - the organizationcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizationscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
throws com.liferay.portal.kernel.exception.SystemException
removeOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizations - the organizationscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.kernel.exception.SystemException
setOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizations to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setOrganizations(long pk,
java.util.List<com.liferay.portal.model.Organization> organizations)
throws com.liferay.portal.kernel.exception.SystemException
setOrganizations in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouporganizations - the organizations to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Role> getRoles(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getRolesSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getRolesSize in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.kernel.exception.SystemException
true if the role is associated with the group.containsRole in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprolePK - the primary key of the roletrue if the role is associated with the group; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsRoles(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the group has any roles associated with it.containsRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with rolestrue if the group has any roles associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addRole(long pk,
long rolePK)
throws com.liferay.portal.kernel.exception.SystemException
addRole in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprolePK - the primary key of the rolecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addRole(long pk,
com.liferay.portal.model.Role role)
throws com.liferay.portal.kernel.exception.SystemException
addRole in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprole - the rolecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.kernel.exception.SystemException
addRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the rolescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
throws com.liferay.portal.kernel.exception.SystemException
addRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouproles - the rolescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearRoles(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated roles fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeRole(long pk,
long rolePK)
throws com.liferay.portal.kernel.exception.SystemException
removeRole in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprolePK - the primary key of the rolecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeRole(long pk,
com.liferay.portal.model.Role role)
throws com.liferay.portal.kernel.exception.SystemException
removeRole in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprole - the rolecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.kernel.exception.SystemException
removeRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the rolescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
throws com.liferay.portal.kernel.exception.SystemException
removeRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouproles - the rolescom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.kernel.exception.SystemException
setRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the roles to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setRoles(long pk,
java.util.List<com.liferay.portal.model.Role> roles)
throws com.liferay.portal.kernel.exception.SystemException
setRoles in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the grouproles - the roles to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getUserGroupsSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getUserGroupsSize in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the user group is associated with the group.containsUserGroup in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user grouptrue if the user group is associated with the group; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsUserGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the group has any user groups associated with it.containsUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with user groupstrue if the group has any user groups associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.kernel.exception.SystemException
addUserGroup in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.kernel.exception.SystemException
addUserGroup in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroup - the user groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.kernel.exception.SystemException
addUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groupscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
throws com.liferay.portal.kernel.exception.SystemException
addUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroups - the user groupscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearUserGroups(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated user groups fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.kernel.exception.SystemException
removeUserGroup in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.kernel.exception.SystemException
removeUserGroup in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroup - the user groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groupscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
throws com.liferay.portal.kernel.exception.SystemException
removeUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroups - the user groupscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.kernel.exception.SystemException
setUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groups to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setUserGroups(long pk,
java.util.List<com.liferay.portal.model.UserGroup> userGroups)
throws com.liferay.portal.kernel.exception.SystemException
setUserGroups in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserGroups - the user groups to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.User> getUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from GroupModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int getUsersSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
getUsersSize in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
true if the user is associated with the group.containsUser in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserPK - the primary key of the usertrue if the user is associated with the group; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic boolean containsUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
true if the group has any users associated with it.containsUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with userstrue if the group has any users associated with it; false otherwisecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
addUser in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserPK - the primary key of the usercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUser(long pk,
com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException
addUser in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuser - the usercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
addUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the userscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void addUsers(long pk,
java.util.List<com.liferay.portal.model.User> users)
throws com.liferay.portal.kernel.exception.SystemException
addUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupusers - the userscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void clearUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
clearUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated users fromcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
removeUser in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserPK - the primary key of the usercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUser(long pk,
com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException
removeUser in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuser - the usercom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
removeUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the userscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeUsers(long pk,
java.util.List<com.liferay.portal.model.User> users)
throws com.liferay.portal.kernel.exception.SystemException
removeUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupusers - the userscom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
setUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the users to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void setUsers(long pk,
java.util.List<com.liferay.portal.model.User> users)
throws com.liferay.portal.kernel.exception.SystemException
setUsers in interface com.liferay.portal.service.persistence.GroupPersistencepk - the primary key of the groupusers - the users to be associated with the groupcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.Group>public void afterPropertiesSet()
public void destroy()