Class GroupPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Group>,com.liferay.portal.kernel.service.persistence.GroupPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringprotected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Organization> protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Role> protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.UserGroup> protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.User> protected com.liferay.portal.kernel.service.persistence.OrganizationPersistenceprotected com.liferay.portal.kernel.service.persistence.RolePersistenceprotected com.liferay.portal.kernel.service.persistence.UserGroupPersistenceprotected com.liferay.portal.kernel.service.persistence.UserPersistenceFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddOrganization(long pk, long organizationPK) Adds an association between the group and the organization.booleanaddOrganization(long pk, com.liferay.portal.kernel.model.Organization organization) Adds an association between the group and the organization.booleanaddOrganizations(long pk, long[] organizationPKs) Adds an association between the group and the organizations.booleanaddOrganizations(long pk, List<com.liferay.portal.kernel.model.Organization> organizations) Adds an association between the group and the organizations.booleanaddRole(long pk, long rolePK) Adds an association between the group and the role.booleanaddRole(long pk, com.liferay.portal.kernel.model.Role role) Adds an association between the group and the role.booleanaddRoles(long pk, long[] rolePKs) Adds an association between the group and the roles.booleanAdds an association between the group and the roles.booleanaddUser(long pk, long userPK) Adds an association between the group and the user.booleanaddUser(long pk, com.liferay.portal.kernel.model.User user) Adds an association between the group and the user.booleanaddUserGroup(long pk, long userGroupPK) Adds an association between the group and the user group.booleanaddUserGroup(long pk, com.liferay.portal.kernel.model.UserGroup userGroup) Adds an association between the group and the user group.booleanaddUserGroups(long pk, long[] userGroupPKs) Adds an association between the group and the user groups.booleanaddUserGroups(long pk, List<com.liferay.portal.kernel.model.UserGroup> userGroups) Adds an association between the group and the user groups.booleanaddUsers(long pk, long[] userPKs) Adds an association between the group and the users.booleanAdds an association between the group and the users.voidInitializes the group persistence.voidcacheResult(com.liferay.portal.kernel.model.Group group) Caches the group in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.Group> groups) Caches the groups in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(GroupModelImpl groupModelImpl) voidClears the cache for all groups.voidclearCache(com.liferay.portal.kernel.model.Group group) Clears the cache for the group.voidclearCache(List<com.liferay.portal.kernel.model.Group> groups) voidclearCache(Set<Serializable> primaryKeys) voidclearOrganizations(long pk) Clears all associations between the group and its organizations.voidclearRoles(long pk) Clears all associations between the group and its roles.voidclearUserGroups(long pk) Clears all associations between the group and its user groups.voidclearUsers(long pk) Clears all associations between the group and its users.booleancontainsOrganization(long pk, long organizationPK) Returnstrueif the organization is associated with the group.booleancontainsOrganizations(long pk) Returnstrueif the group has any organizations associated with it.booleancontainsRole(long pk, long rolePK) Returnstrueif the role is associated with the group.booleancontainsRoles(long pk) Returnstrueif the group has any roles associated with it.booleancontainsUser(long pk, long userPK) Returnstrueif the user is associated with the group.booleancontainsUserGroup(long pk, long userGroupPK) Returnstrueif the user group is associated with the group.booleancontainsUserGroups(long pk) Returnstrueif the group has any user groups associated with it.booleancontainsUsers(long pk) Returnstrueif the group has any users associated with it.intcountAll()Returns the number of groups.intcountByC_A(long companyId, boolean active) Returns the number of groups where companyId = ? and active = ?.intcountByC_C(long companyId, long classNameId) Returns the number of groups where companyId = ? and classNameId = ?.intcountByC_C_C(long companyId, long classNameId, long classPK) Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.intcountByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ?.intcountByC_C_P(long companyId, long classNameId, long parentGroupId) Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.intcountByC_C_S(long companyId, long classNameId, boolean site) Returns the number of groups where companyId = ? and classNameId = ? and site = ?.intcountByC_CPK(long classNameId, long classPK) Returns the number of groups where classNameId = ? and classPK = ?.intcountByC_F(long companyId, String friendlyURL) Returns the number of groups where companyId = ? and friendlyURL = ?.intcountByC_GK(long companyId, String groupKey) Returns the number of groups where companyId = ? and groupKey = ?.intcountByC_GK(long companyId, String[] groupKeys) Returns the number of groups where companyId = ? and groupKey = any ?.intcountByC_L_GK(long companyId, long liveGroupId, String groupKey) Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?.intcountByC_LikeN_S(long companyId, String name, boolean site) Returns the number of groups where companyId = ? and name LIKE ? and site = ?.intcountByC_LikeT_S(long companyId, String treePath, boolean site) Returns the number of groups where companyId = ? and treePath LIKE ? and site = ?.intcountByC_P(long companyId, long parentGroupId) Returns the number of groups where companyId = ? and parentGroupId = ?.intcountByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site) Returns the number of groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.intcountByC_P_S(long companyId, long parentGroupId, boolean site) Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.intcountByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent) Returns the number of groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.intcountByC_S(long companyId, boolean site) Returns the number of groups where companyId = ? and site = ?.intcountByC_S_A(long companyId, boolean site, boolean active) Returns the number of groups where companyId = ? and site = ? and active = ?.intcountByCompanyId(long companyId) Returns the number of groups where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of groups where externalReferenceCode = ? and companyId = ?.intcountByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId) Returns the number of groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.intcountByGtG_C_P(long groupId, long companyId, long parentGroupId) Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.intcountByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site) Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.intcountByLiveGroupId(long liveGroupId) Returns the number of groups where liveGroupId = ?.intcountByT_A(int type, boolean active) Returns the number of groups where type = ? and active = ?.intcountByUuid(String uuid) Returns the number of groups where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of groups where uuid = ? and companyId = ?.intcountByUUID_G(String uuid, long groupId) Returns the number of groups where uuid = ? and groupId = ?.com.liferay.portal.kernel.model.Groupcreate(long groupId) Creates a new group with the primary key.voiddestroy()com.liferay.portal.kernel.model.GroupfetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and active = ?.com.liferay.portal.kernel.model.GroupfetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and active = ?.com.liferay.portal.kernel.model.GroupfetchByC_C_C(long companyId, long classNameId, long classPK) Returns the group where companyId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByC_C_C(long companyId, long classNameId, long classPK, boolean useFinderCache) Returns the group where companyId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ?.com.liferay.portal.kernel.model.GroupfetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey, boolean useFinderCache) Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ?.com.liferay.portal.kernel.model.GroupfetchByC_C_P_First(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByC_C_P_Last(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByC_C_S_First(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_C_S_Last(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where classNameId = ? and classPK = ?.com.liferay.portal.kernel.model.GroupfetchByC_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where classNameId = ? and classPK = ?.com.liferay.portal.kernel.model.GroupfetchByC_F(long companyId, String friendlyURL) Returns the group where companyId = ? and friendlyURL = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByC_F(long companyId, String friendlyURL, boolean useFinderCache) Returns the group where companyId = ? and friendlyURL = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByC_GK(long companyId, String groupKey) Returns the group where companyId = ? and groupKey = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByC_GK(long companyId, String groupKey, boolean useFinderCache) Returns the group where companyId = ? and groupKey = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByC_L_GK(long companyId, long liveGroupId, String groupKey) Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByC_L_GK(long companyId, long liveGroupId, String groupKey, boolean useFinderCache) Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByC_LikeN_S_First(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_LikeN_S_Last(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_LikeT_S_First(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_LikeT_S_Last(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_First(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_Last(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_S_First(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.com.liferay.portal.kernel.model.GroupfetchByC_P_S_Last(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_S_A_First(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.com.liferay.portal.kernel.model.GroupfetchByC_S_A_Last(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.com.liferay.portal.kernel.model.GroupfetchByC_S_First(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByC_S_Last(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ?.com.liferay.portal.kernel.model.GroupfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ?.com.liferay.portal.kernel.model.GroupfetchByERC_C(String externalReferenceCode, long companyId) Returns the group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByGtG_C_P_First(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfetchByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfetchByLiveGroupId(long liveGroupId) Returns the group where liveGroupId = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByLiveGroupId(long liveGroupId, boolean useFinderCache) Returns the group where liveGroupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByPrimaryKey(long groupId) Returns the group with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByPrimaryKey(Serializable primaryKey) Returns the group with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.portal.kernel.model.Group> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.portal.kernel.model.GroupfetchByT_A_First(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where type = ? and active = ?.com.liferay.portal.kernel.model.GroupfetchByT_A_Last(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where type = ? and active = ?.com.liferay.portal.kernel.model.GroupfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.GroupfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.GroupfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where uuid = ?.com.liferay.portal.kernel.model.GroupfetchByUUID_G(String uuid, long groupId) Returns the group where uuid = ? and groupId = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.GroupfetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the group where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where uuid = ?.List<com.liferay.portal.kernel.model.Group>findAll()Returns all the groups.List<com.liferay.portal.kernel.model.Group>findAll(int start, int end) Returns a range of all the groups.List<com.liferay.portal.kernel.model.Group>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups.List<com.liferay.portal.kernel.model.Group>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups.List<com.liferay.portal.kernel.model.Group>findByC_A(long companyId, boolean active) Returns all the groups where companyId = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the groups where companyId = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and active = ?.com.liferay.portal.kernel.model.Group[]findByC_A_PrevAndNext(long groupId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_C(long companyId, long classNameId) Returns all the groups where companyId = ? and classNameId = ?.List<com.liferay.portal.kernel.model.Group>findByC_C(long companyId, long classNameId, int start, int end) Returns a range of all the groups where companyId = ? and classNameId = ?.List<com.liferay.portal.kernel.model.Group>findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and classNameId = ?.List<com.liferay.portal.kernel.model.Group>findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and classNameId = ?.com.liferay.portal.kernel.model.GroupfindByC_C_C(long companyId, long classNameId, long classPK) Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws aNoSuchGroupExceptionif it could not be found.com.liferay.portal.kernel.model.GroupfindByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ?.com.liferay.portal.kernel.model.GroupfindByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or throws aNoSuchGroupExceptionif it could not be found.com.liferay.portal.kernel.model.GroupfindByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_P(long companyId, long classNameId, long parentGroupId) Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.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 = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByC_C_P_First(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByC_C_P_Last(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.Group[]findByC_C_P_PrevAndNext(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.Group[]findByC_C_PrevAndNext(long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_S(long companyId, long classNameId, boolean site) Returns all the groups where companyId = ? and classNameId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_S(long companyId, long classNameId, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and classNameId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_C_S_First(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_C_S_Last(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_C_S_PrevAndNext(long groupId, long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_CPK(long classNameId, long classPK) Returns all the groups where classNameId = ? and classPK = ?.List<com.liferay.portal.kernel.model.Group>findByC_CPK(long classNameId, long classPK, int start, int end) Returns a range of all the groups where classNameId = ? and classPK = ?.List<com.liferay.portal.kernel.model.Group>findByC_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where classNameId = ? and classPK = ?.List<com.liferay.portal.kernel.model.Group>findByC_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where classNameId = ? and classPK = ?.com.liferay.portal.kernel.model.GroupfindByC_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where classNameId = ? and classPK = ?.com.liferay.portal.kernel.model.GroupfindByC_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where classNameId = ? and classPK = ?.com.liferay.portal.kernel.model.Group[]findByC_CPK_PrevAndNext(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where classNameId = ? and classPK = ?.com.liferay.portal.kernel.model.GroupReturns the group where companyId = ? and friendlyURL = ? or throws aNoSuchGroupExceptionif it could not be found.com.liferay.portal.kernel.model.GroupfindByC_GK(long companyId, String groupKey) Returns the group where companyId = ? and groupKey = ? or throws aNoSuchGroupExceptionif it could not be found.List<com.liferay.portal.kernel.model.Group>findByC_GK(long companyId, String[] groupKeys) Returns all the groups where companyId = ? and groupKey = any ?.List<com.liferay.portal.kernel.model.Group>findByC_GK(long companyId, String[] groupKeys, int start, int end) Returns a range of all the groups where companyId = ? and groupKey = any ?.List<com.liferay.portal.kernel.model.Group>findByC_GK(long companyId, String[] groupKeys, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and groupKey = any ?.List<com.liferay.portal.kernel.model.Group>findByC_GK(long companyId, String[] groupKeys, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and groupKey = ?, optionally using the finder cache.com.liferay.portal.kernel.model.GroupfindByC_L_GK(long companyId, long liveGroupId, String groupKey) Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or throws aNoSuchGroupExceptionif it could not be found.List<com.liferay.portal.kernel.model.Group>findByC_LikeN_S(long companyId, String name, boolean site) Returns all the groups where companyId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeN_S(long companyId, String name, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_LikeN_S_First(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_LikeN_S_Last(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_LikeN_S_PrevAndNext(long groupId, long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeT_S(long companyId, String treePath, boolean site) Returns all the groups where companyId = ? and treePath LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and treePath LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_LikeT_S_First(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_LikeT_S_Last(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_LikeT_S_PrevAndNext(long groupId, long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_P(long companyId, long parentGroupId) Returns all the groups where companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByC_P(long companyId, long parentGroupId, int start, int end) Returns a range of all the groups where companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByC_P(long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByC_P(long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByC_P_First(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByC_P_Last(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site) Returns all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_P_LikeN_S_PrevAndNext(long groupId, long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_P_PrevAndNext(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S(long companyId, long parentGroupId, boolean site) Returns all the groups where companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.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 = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_P_S_First(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent) Returns all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end) Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.List<com.liferay.portal.kernel.model.Group>findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.com.liferay.portal.kernel.model.GroupfindByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.com.liferay.portal.kernel.model.GroupfindByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.com.liferay.portal.kernel.model.Group[]findByC_P_S_I_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.com.liferay.portal.kernel.model.GroupfindByC_P_S_Last(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_P_S_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_S(long companyId, boolean site) Returns all the groups where companyId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_S(long companyId, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_S(long companyId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_S(long companyId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByC_S_A(long companyId, boolean site, boolean active) Returns all the groups where companyId = ? and site = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_S_A(long companyId, boolean site, boolean active, int start, int end) Returns a range of all the groups where companyId = ? and site = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_S_A(long companyId, boolean site, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByC_S_A(long companyId, boolean site, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByC_S_A_First(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByC_S_A_Last(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.com.liferay.portal.kernel.model.Group[]findByC_S_A_PrevAndNext(long groupId, long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and site = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByC_S_First(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByC_S_Last(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and site = ?.com.liferay.portal.kernel.model.Group[]findByC_S_PrevAndNext(long groupId, long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByCompanyId(long companyId) Returns all the groups where companyId = ?.List<com.liferay.portal.kernel.model.Group>findByCompanyId(long companyId, int start, int end) Returns a range of all the groups where companyId = ?.List<com.liferay.portal.kernel.model.Group>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ?.List<com.liferay.portal.kernel.model.Group>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ?.com.liferay.portal.kernel.model.GroupfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ?.com.liferay.portal.kernel.model.GroupfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Group[]findByCompanyId_PrevAndNext(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where companyId = ?.com.liferay.portal.kernel.model.GroupfindByERC_C(String externalReferenceCode, long companyId) Returns the group where externalReferenceCode = ? and companyId = ? or throws aNoSuchGroupExceptionif it could not be found.List<com.liferay.portal.kernel.model.Group>findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId) Returns all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end) Returns a range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P(long groupId, long companyId, long parentGroupId) Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_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 = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByGtG_C_P_First(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.com.liferay.portal.kernel.model.GroupfindByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site) Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end) Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.List<com.liferay.portal.kernel.model.Group>findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.com.liferay.portal.kernel.model.GroupfindByLiveGroupId(long liveGroupId) Returns the group where liveGroupId = ? or throws aNoSuchGroupExceptionif it could not be found.com.liferay.portal.kernel.model.GroupfindByPrimaryKey(long groupId) Returns the group with the primary key or throws aNoSuchGroupExceptionif it could not be found.com.liferay.portal.kernel.model.GroupfindByPrimaryKey(Serializable primaryKey) Returns the group with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.portal.kernel.model.Group>findByT_A(int type, boolean active) Returns all the groups where type = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByT_A(int type, boolean active, int start, int end) Returns a range of all the groups where type = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByT_A(int type, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where type = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByT_A(int type, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where type = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByT_A_First(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where type = ? and active = ?.com.liferay.portal.kernel.model.GroupfindByT_A_Last(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where type = ? and active = ?.com.liferay.portal.kernel.model.Group[]findByT_A_PrevAndNext(long groupId, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where type = ? and active = ?.List<com.liferay.portal.kernel.model.Group>findByUuid(String uuid) Returns all the groups where uuid = ?.List<com.liferay.portal.kernel.model.Group>findByUuid(String uuid, int start, int end) Returns a range of all the groups where uuid = ?.List<com.liferay.portal.kernel.model.Group>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where uuid = ?.List<com.liferay.portal.kernel.model.Group>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where uuid = ?.List<com.liferay.portal.kernel.model.Group>findByUuid_C(String uuid, long companyId) Returns all the groups where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Group>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the groups where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Group>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Group>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.GroupfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.GroupfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Group[]findByUuid_C_PrevAndNext(long groupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.GroupfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where uuid = ?.com.liferay.portal.kernel.model.GroupfindByUUID_G(String uuid, long groupId) Returns the group where uuid = ? and groupId = ? or throws aNoSuchGroupExceptionif it could not be found.com.liferay.portal.kernel.model.GroupfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where uuid = ?.com.liferay.portal.kernel.model.Group[]findByUuid_PrevAndNext(long groupId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the groups before and after the current group in the ordered set where uuid = ?.protected com.liferay.portal.kernel.model.GroupgetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_C_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_CPK_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_LikeN_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_LikeT_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_P_LikeN_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_P_S_I_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_S_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.GroupgetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCachelong[]getOrganizationPrimaryKeys(long pk) Returns the primaryKeys of organizations associated with the group.List<com.liferay.portal.kernel.model.Organization>getOrganizations(long pk) Returns all the organizations associated with the group.List<com.liferay.portal.kernel.model.Organization>getOrganizations(long pk, int start, int end) Returns a range of all the organizations associated with the group.List<com.liferay.portal.kernel.model.Organization>getOrganizations(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations associated with the group.intgetOrganizationsSize(long pk) Returns the number of organizations associated with the group.protected Stringlong[]getRolePrimaryKeys(long pk) Returns the primaryKeys of roles associated with the group.List<com.liferay.portal.kernel.model.Role>getRoles(long pk) Returns all the roles associated with the group.List<com.liferay.portal.kernel.model.Role>getRoles(long pk, int start, int end) Returns a range of all the roles associated with the group.List<com.liferay.portal.kernel.model.Role>getRoles(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator) Returns an ordered range of all the roles associated with the group.intgetRolesSize(long pk) Returns the number of roles associated with the group.protected Stringlong[]getUserGroupPrimaryKeys(long pk) Returns the primaryKeys of user groups associated with the group.List<com.liferay.portal.kernel.model.UserGroup>getUserGroups(long pk) Returns all the user groups associated with the group.List<com.liferay.portal.kernel.model.UserGroup>getUserGroups(long pk, int start, int end) Returns a range of all the user groups associated with the group.List<com.liferay.portal.kernel.model.UserGroup>getUserGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator) Returns an ordered range of all the user groups associated with the group.intgetUserGroupsSize(long pk) Returns the number of user groups associated with the group.long[]getUserPrimaryKeys(long pk) Returns the primaryKeys of users associated with the group.List<com.liferay.portal.kernel.model.User>getUsers(long pk) Returns all the users associated with the group.List<com.liferay.portal.kernel.model.User>getUsers(long pk, int start, int end) Returns a range of all the users associated with the group.List<com.liferay.portal.kernel.model.User>getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) Returns an ordered range of all the users associated with the group.intgetUsersSize(long pk) Returns the number of users associated with the group.com.liferay.portal.kernel.model.Groupremove(long groupId) Removes the group with the primary key from the database.com.liferay.portal.kernel.model.Groupremove(Serializable primaryKey) Removes the group with the primary key from the database.voidRemoves all the groups from the database.voidremoveByC_A(long companyId, boolean active) Removes all the groups where companyId = ? and active = ? from the database.voidremoveByC_C(long companyId, long classNameId) Removes all the groups where companyId = ? and classNameId = ? from the database.com.liferay.portal.kernel.model.GroupremoveByC_C_C(long companyId, long classNameId, long classPK) Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.com.liferay.portal.kernel.model.GroupremoveByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? from the database.voidremoveByC_C_P(long companyId, long classNameId, long parentGroupId) Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.voidremoveByC_C_S(long companyId, long classNameId, boolean site) Removes all the groups where companyId = ? and classNameId = ? and site = ? from the database.voidremoveByC_CPK(long classNameId, long classPK) Removes all the groups where classNameId = ? and classPK = ? from the database.com.liferay.portal.kernel.model.GroupremoveByC_F(long companyId, String friendlyURL) Removes the group where companyId = ? and friendlyURL = ? from the database.com.liferay.portal.kernel.model.GroupremoveByC_GK(long companyId, String groupKey) Removes the group where companyId = ? and groupKey = ? from the database.com.liferay.portal.kernel.model.GroupremoveByC_L_GK(long companyId, long liveGroupId, String groupKey) Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database.voidremoveByC_LikeN_S(long companyId, String name, boolean site) Removes all the groups where companyId = ? and name LIKE ? and site = ? from the database.voidremoveByC_LikeT_S(long companyId, String treePath, boolean site) Removes all the groups where companyId = ? and treePath LIKE ? and site = ? from the database.voidremoveByC_P(long companyId, long parentGroupId) Removes all the groups where companyId = ? and parentGroupId = ? from the database.voidremoveByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site) Removes all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ? from the database.voidremoveByC_P_S(long companyId, long parentGroupId, boolean site) Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.voidremoveByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent) Removes all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ? from the database.voidremoveByC_S(long companyId, boolean site) Removes all the groups where companyId = ? and site = ? from the database.voidremoveByC_S_A(long companyId, boolean site, boolean active) Removes all the groups where companyId = ? and site = ? and active = ? from the database.voidremoveByCompanyId(long companyId) Removes all the groups where companyId = ? from the database.com.liferay.portal.kernel.model.GroupremoveByERC_C(String externalReferenceCode, long companyId) Removes the group where externalReferenceCode = ? and companyId = ? from the database.voidremoveByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId) Removes all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ? from the database.voidremoveByGtG_C_P(long groupId, long companyId, long parentGroupId) Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.voidremoveByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site) Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ? from the database.com.liferay.portal.kernel.model.GroupremoveByLiveGroupId(long liveGroupId) Removes the group where liveGroupId = ? from the database.voidremoveByT_A(int type, boolean active) Removes all the groups where type = ? and active = ? from the database.voidremoveByUuid(String uuid) Removes all the groups where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the groups where uuid = ? and companyId = ? from the database.com.liferay.portal.kernel.model.GroupremoveByUUID_G(String uuid, long groupId) Removes the group where uuid = ? and groupId = ? from the database.protected com.liferay.portal.kernel.model.GroupremoveImpl(com.liferay.portal.kernel.model.Group group) voidremoveOrganization(long pk, long organizationPK) Removes the association between the group and the organization.voidremoveOrganization(long pk, com.liferay.portal.kernel.model.Organization organization) Removes the association between the group and the organization.voidremoveOrganizations(long pk, long[] organizationPKs) Removes the association between the group and the organizations.voidremoveOrganizations(long pk, List<com.liferay.portal.kernel.model.Organization> organizations) Removes the association between the group and the organizations.voidremoveRole(long pk, long rolePK) Removes the association between the group and the role.voidremoveRole(long pk, com.liferay.portal.kernel.model.Role role) Removes the association between the group and the role.voidremoveRoles(long pk, long[] rolePKs) Removes the association between the group and the roles.voidremoveRoles(long pk, List<com.liferay.portal.kernel.model.Role> roles) Removes the association between the group and the roles.voidremoveUser(long pk, long userPK) Removes the association between the group and the user.voidremoveUser(long pk, com.liferay.portal.kernel.model.User user) Removes the association between the group and the user.voidremoveUserGroup(long pk, long userGroupPK) Removes the association between the group and the user group.voidremoveUserGroup(long pk, com.liferay.portal.kernel.model.UserGroup userGroup) Removes the association between the group and the user group.voidremoveUserGroups(long pk, long[] userGroupPKs) Removes the association between the group and the user groups.voidremoveUserGroups(long pk, List<com.liferay.portal.kernel.model.UserGroup> userGroups) Removes the association between the group and the user groups.voidremoveUsers(long pk, long[] userPKs) Removes the association between the group and the users.voidremoveUsers(long pk, List<com.liferay.portal.kernel.model.User> users) Removes the association between the group and the users.voidsetOrganizations(long pk, long[] organizationPKs) Sets the organizations associated with the group, removing and adding associations as necessary.voidsetOrganizations(long pk, List<com.liferay.portal.kernel.model.Organization> organizations) Sets the organizations associated with the group, removing and adding associations as necessary.voidsetRoles(long pk, long[] rolePKs) Sets the roles associated with the group, removing and adding associations as necessary.voidSets the roles associated with the group, removing and adding associations as necessary.voidsetUserGroups(long pk, long[] userGroupPKs) Sets the user groups associated with the group, removing and adding associations as necessary.voidsetUserGroups(long pk, List<com.liferay.portal.kernel.model.UserGroup> userGroups) Sets the user groups associated with the group, removing and adding associations as necessary.voidsetUsers(long pk, long[] userPKs) Sets the users associated with the group, removing and adding associations as necessary.voidSets the users associated with the group, removing and adding associations as necessary.com.liferay.portal.kernel.model.GroupupdateImpl(com.liferay.portal.kernel.model.Group group) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
organizationPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.OrganizationPersistence.class) protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence organizationPersistence -
groupToOrganizationTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Organization> groupToOrganizationTableMapper -
rolePersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence -
groupToRoleTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Role> groupToRoleTableMapper -
userGroupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence -
groupToUserGroupTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.UserGroup> groupToUserGroupTableMapper -
userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence -
groupToUserTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.User> groupToUserTableMapper
-
-
Constructor Details
-
GroupPersistenceImpl
public GroupPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the groups where uuid = ?.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuid- Returns:
- the matching groups
-
findByUuid
Returns a range of all the groups where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByUuid
public List<com.liferay.portal.kernel.model.Group> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByUuid
public List<com.liferay.portal.kernel.model.Group> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByUuid_First
public com.liferay.portal.kernel.model.Group findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByUuid_First
public com.liferay.portal.kernel.model.Group fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByUuid_Last
public com.liferay.portal.kernel.model.Group findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where uuid = ?.- Specified by:
findByUuid_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByUuid_Last
public com.liferay.portal.kernel.model.Group fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByUuid_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByUuid_PrevAndNext(long groupId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByUuid
Removes all the groups where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of groups where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching groups
-
findByUUID_G
public com.liferay.portal.kernel.model.Group findByUUID_G(String uuid, long groupId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where uuid = ? and groupId = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByUUID_G
Returns the group where uuid = ? and groupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByUUID_G
public com.liferay.portal.kernel.model.Group fetchByUUID_G(String uuid, long groupId, boolean useFinderCache) Returns the group where uuid = ? and groupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidgroupId- the group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByUUID_G
public com.liferay.portal.kernel.model.Group removeByUUID_G(String uuid, long groupId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where uuid = ? and groupId = ? from the database.- Specified by:
removeByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByUUID_G
Returns the number of groups where uuid = ? and groupId = ?.- Specified by:
countByUUID_Gin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidgroupId- the group ID- Returns:
- the number of matching groups
-
findByUuid_C
Returns all the groups where uuid = ? and companyId = ?.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching groups
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Group> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the groups where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Group> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Group> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByUuid_C_First
public com.liferay.portal.kernel.model.Group findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByUuid_C_First
public com.liferay.portal.kernel.model.Group fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByUuid_C_Last
public com.liferay.portal.kernel.model.Group findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByUuid_C_Last
public com.liferay.portal.kernel.model.Group fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByUuid_C_PrevAndNext(long groupId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the groups where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of groups where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching groups
-
findByCompanyId
Returns all the groups where companyId = ?.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company ID- Returns:
- the matching groups
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Group> findByCompanyId(long companyId, int start, int end) Returns a range of all the groups where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Group> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Group> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByCompanyId_First
public com.liferay.portal.kernel.model.Group findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByCompanyId_First
public com.liferay.portal.kernel.model.Group fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByCompanyId_Last
public com.liferay.portal.kernel.model.Group findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByCompanyId_Last
public com.liferay.portal.kernel.model.Group fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByCompanyId_PrevAndNext(long groupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the groups where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of groups where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching groups
-
findByLiveGroupId
public com.liferay.portal.kernel.model.Group findByLiveGroupId(long liveGroupId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where liveGroupId = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByLiveGroupIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
liveGroupId- the live group ID- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByLiveGroupId
public com.liferay.portal.kernel.model.Group fetchByLiveGroupId(long liveGroupId) Returns the group where liveGroupId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByLiveGroupIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
liveGroupId- the live group ID- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByLiveGroupId
public com.liferay.portal.kernel.model.Group fetchByLiveGroupId(long liveGroupId, boolean useFinderCache) Returns the group where liveGroupId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByLiveGroupIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
liveGroupId- the live group IDuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByLiveGroupId
public com.liferay.portal.kernel.model.Group removeByLiveGroupId(long liveGroupId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where liveGroupId = ? from the database.- Specified by:
removeByLiveGroupIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
liveGroupId- the live group ID- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByLiveGroupId
public int countByLiveGroupId(long liveGroupId) Returns the number of groups where liveGroupId = ?.- Specified by:
countByLiveGroupIdin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
liveGroupId- the live group ID- Returns:
- the number of matching groups
-
findByC_C
Returns all the groups where companyId = ? and classNameId = ?.- Specified by:
findByC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the matching groups
-
findByC_C
public List<com.liferay.portal.kernel.model.Group> findByC_C(long companyId, long classNameId, int start, int end) Returns a range of all the groups where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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)- Returns:
- the range of matching groups
-
findByC_C
public List<com.liferay.portal.kernel.model.Group> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_C
public List<com.liferay.portal.kernel.model.Group> findByC_C(long companyId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and classNameId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_C_First
public com.liferay.portal.kernel.model.Group findByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_First
public com.liferay.portal.kernel.model.Group fetchByC_C_First(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ?.- Specified by:
fetchByC_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_C_Last
public com.liferay.portal.kernel.model.Group findByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_C_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_Last
public com.liferay.portal.kernel.model.Group fetchByC_C_Last(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ?.- Specified by:
fetchByC_C_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_C_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_C_PrevAndNext(long groupId, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ?.- Specified by:
findByC_C_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDclassNameId- the class name IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_C_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_C
public void removeByC_C(long companyId, long classNameId) Removes all the groups where companyId = ? and classNameId = ? from the database.- Specified by:
removeByC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID
-
countByC_C
public int countByC_C(long companyId, long classNameId) Returns the number of groups where companyId = ? and classNameId = ?.- Specified by:
countByC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name ID- Returns:
- the number of matching groups
-
findByC_P
Returns all the groups where companyId = ? and parentGroupId = ?.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group ID- Returns:
- the matching groups
-
findByC_P
public List<com.liferay.portal.kernel.model.Group> findByC_P(long companyId, long parentGroupId, int start, int end) Returns a range of all the groups where companyId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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)- Returns:
- the range of matching groups
-
findByC_P
public List<com.liferay.portal.kernel.model.Group> findByC_P(long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_P
public List<com.liferay.portal.kernel.model.Group> findByC_P(long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_P_First
public com.liferay.portal.kernel.model.Group findByC_P_First(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.- Specified by:
findByC_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_First
public com.liferay.portal.kernel.model.Group fetchByC_P_First(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ?.- Specified by:
fetchByC_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_P_Last
public com.liferay.portal.kernel.model.Group findByC_P_Last(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.- Specified by:
findByC_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_Last
public com.liferay.portal.kernel.model.Group fetchByC_P_Last(long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ?.- Specified by:
fetchByC_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_P_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_P_PrevAndNext(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ?.- Specified by:
findByC_P_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_P_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_P
public void removeByC_P(long companyId, long parentGroupId) Removes all the groups where companyId = ? and parentGroupId = ? from the database.- Specified by:
removeByC_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group ID
-
countByC_P
public int countByC_P(long companyId, long parentGroupId) Returns the number of groups where companyId = ? and parentGroupId = ?.- Specified by:
countByC_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group ID- Returns:
- the number of matching groups
-
findByC_GK
Returns all the groups where companyId = ? and groupKey = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKeys- the group keys- Returns:
- the matching groups
-
findByC_GK
public List<com.liferay.portal.kernel.model.Group> findByC_GK(long companyId, String[] groupKeys, int start, int end) Returns a range of all the groups where companyId = ? and groupKey = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKeys- the group keysstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_GK
public List<com.liferay.portal.kernel.model.Group> findByC_GK(long companyId, String[] groupKeys, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and groupKey = any ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKeys- the group keysstart- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_GK
public List<com.liferay.portal.kernel.model.Group> findByC_GK(long companyId, String[] groupKeys, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and groupKey = ?, optionally using the finder cache.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKeys- the group keysstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_GK
public com.liferay.portal.kernel.model.Group findByC_GK(long companyId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where companyId = ? and groupKey = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKey- the group key- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_GK
Returns the group where companyId = ? and groupKey = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKey- the group key- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByC_GK
public com.liferay.portal.kernel.model.Group fetchByC_GK(long companyId, String groupKey, boolean useFinderCache) Returns the group where companyId = ? and groupKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKey- the group keyuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByC_GK
public com.liferay.portal.kernel.model.Group removeByC_GK(long companyId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where companyId = ? and groupKey = ? from the database.- Specified by:
removeByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKey- the group key- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByC_GK
Returns the number of groups where companyId = ? and groupKey = ?.- Specified by:
countByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKey- the group key- Returns:
- the number of matching groups
-
countByC_GK
Returns the number of groups where companyId = ? and groupKey = any ?.- Specified by:
countByC_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDgroupKeys- the group keys- Returns:
- the number of matching groups
-
findByC_F
public com.liferay.portal.kernel.model.Group findByC_F(long companyId, String friendlyURL) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where companyId = ? and friendlyURL = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByC_Fin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_F
Returns the group where companyId = ? and friendlyURL = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_Fin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByC_F
public com.liferay.portal.kernel.model.Group fetchByC_F(long companyId, String friendlyURL, boolean useFinderCache) Returns the group where companyId = ? and friendlyURL = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_Fin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDfriendlyURL- the friendly urluseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByC_F
public com.liferay.portal.kernel.model.Group removeByC_F(long companyId, String friendlyURL) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where companyId = ? and friendlyURL = ? from the database.- Specified by:
removeByC_Fin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByC_F
Returns the number of groups where companyId = ? and friendlyURL = ?.- Specified by:
countByC_Fin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDfriendlyURL- the friendly url- Returns:
- the number of matching groups
-
findByC_S
Returns all the groups where companyId = ? and site = ?.- Specified by:
findByC_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the site- Returns:
- the matching groups
-
findByC_S
public List<com.liferay.portal.kernel.model.Group> findByC_S(long companyId, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the sitestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_S
public List<com.liferay.portal.kernel.model.Group> findByC_S(long companyId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_S
public List<com.liferay.portal.kernel.model.Group> findByC_S(long companyId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_S_First
public com.liferay.portal.kernel.model.Group findByC_S_First(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and site = ?.- Specified by:
findByC_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_S_First
public com.liferay.portal.kernel.model.Group fetchByC_S_First(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and site = ?.- Specified by:
fetchByC_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_S_Last
public com.liferay.portal.kernel.model.Group findByC_S_Last(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and site = ?.- Specified by:
findByC_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_S_Last
public com.liferay.portal.kernel.model.Group fetchByC_S_Last(long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and site = ?.- Specified by:
fetchByC_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_S_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_S_PrevAndNext(long groupId, long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and site = ?.- Specified by:
findByC_S_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_S_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_S
public void removeByC_S(long companyId, boolean site) Removes all the groups where companyId = ? and site = ? from the database.- Specified by:
removeByC_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the site
-
countByC_S
public int countByC_S(long companyId, boolean site) Returns the number of groups where companyId = ? and site = ?.- Specified by:
countByC_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the site- Returns:
- the number of matching groups
-
findByC_A
Returns all the groups where companyId = ? and active = ?.- Specified by:
findByC_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the active- Returns:
- the matching groups
-
findByC_A
public List<com.liferay.portal.kernel.model.Group> findByC_A(long companyId, boolean active, int start, int end) Returns a range of all the groups where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the activestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_A
public List<com.liferay.portal.kernel.model.Group> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_A
public List<com.liferay.portal.kernel.model.Group> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_A_First
public com.liferay.portal.kernel.model.Group findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and active = ?.- Specified by:
findByC_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_A_First
public com.liferay.portal.kernel.model.Group fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and active = ?.- Specified by:
fetchByC_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_A_Last
public com.liferay.portal.kernel.model.Group findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and active = ?.- Specified by:
findByC_A_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_A_Last
public com.liferay.portal.kernel.model.Group fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and active = ?.- Specified by:
fetchByC_A_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_A_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_A_PrevAndNext(long groupId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and active = ?.- Specified by:
findByC_A_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_A_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_A
public void removeByC_A(long companyId, boolean active) Removes all the groups where companyId = ? and active = ? from the database.- Specified by:
removeByC_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the active
-
countByC_A
public int countByC_A(long companyId, boolean active) Returns the number of groups where companyId = ? and active = ?.- Specified by:
countByC_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDactive- the active- Returns:
- the number of matching groups
-
findByC_CPK
Returns all the groups where classNameId = ? and classPK = ?.- Specified by:
findByC_CPKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the matching groups
-
findByC_CPK
public List<com.liferay.portal.kernel.model.Group> findByC_CPK(long classNameId, long classPK, int start, int end) Returns a range of all the groups where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_CPKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_CPK
public List<com.liferay.portal.kernel.model.Group> findByC_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_CPKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkstart- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_CPK
public List<com.liferay.portal.kernel.model.Group> findByC_CPK(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where classNameId = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_CPKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_CPK_First
public com.liferay.portal.kernel.model.Group findByC_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where classNameId = ? and classPK = ?.- Specified by:
findByC_CPK_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_CPK_First
public com.liferay.portal.kernel.model.Group fetchByC_CPK_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where classNameId = ? and classPK = ?.- Specified by:
fetchByC_CPK_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_CPK_Last
public com.liferay.portal.kernel.model.Group findByC_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where classNameId = ? and classPK = ?.- Specified by:
findByC_CPK_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_CPK_Last
public com.liferay.portal.kernel.model.Group fetchByC_CPK_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where classNameId = ? and classPK = ?.- Specified by:
fetchByC_CPK_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_CPK_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_CPK_PrevAndNext(long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where classNameId = ? and classPK = ?.- Specified by:
findByC_CPK_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupclassNameId- the class name IDclassPK- the class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_CPK_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_CPK_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_CPK
public void removeByC_CPK(long classNameId, long classPK) Removes all the groups where classNameId = ? and classPK = ? from the database.- Specified by:
removeByC_CPKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk
-
countByC_CPK
public int countByC_CPK(long classNameId, long classPK) Returns the number of groups where classNameId = ? and classPK = ?.- Specified by:
countByC_CPKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
classNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching groups
-
findByT_A
Returns all the groups where type = ? and active = ?.- Specified by:
findByT_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the active- Returns:
- the matching groups
-
findByT_A
public List<com.liferay.portal.kernel.model.Group> findByT_A(int type, boolean active, int start, int end) Returns a range of all the groups where type = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByT_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the activestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByT_A
public List<com.liferay.portal.kernel.model.Group> findByT_A(int type, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where type = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByT_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByT_A
public List<com.liferay.portal.kernel.model.Group> findByT_A(int type, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where type = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByT_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByT_A_First
public com.liferay.portal.kernel.model.Group findByT_A_First(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where type = ? and active = ?.- Specified by:
findByT_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByT_A_First
public com.liferay.portal.kernel.model.Group fetchByT_A_First(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where type = ? and active = ?.- Specified by:
fetchByT_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByT_A_Last
public com.liferay.portal.kernel.model.Group findByT_A_Last(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where type = ? and active = ?.- Specified by:
findByT_A_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByT_A_Last
public com.liferay.portal.kernel.model.Group fetchByT_A_Last(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where type = ? and active = ?.- Specified by:
fetchByT_A_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByT_A_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByT_A_PrevAndNext(long groupId, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where type = ? and active = ?.- Specified by:
findByT_A_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current grouptype- the typeactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByT_A_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByT_A
public void removeByT_A(int type, boolean active) Removes all the groups where type = ? and active = ? from the database.- Specified by:
removeByT_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the active
-
countByT_A
public int countByT_A(int type, boolean active) Returns the number of groups where type = ? and active = ?.- Specified by:
countByT_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
type- the typeactive- the active- Returns:
- the number of matching groups
-
findByGtG_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId) Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?.- Specified by:
findByGtG_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group ID- Returns:
- the matching groups
-
findByGtG_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- 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)- Returns:
- the range of matching groups
-
findByGtG_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByGtG_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByGtG_C_P_First
public com.liferay.portal.kernel.model.Group findByGtG_C_P_First(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.- Specified by:
findByGtG_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByGtG_C_P_First
public com.liferay.portal.kernel.model.Group fetchByGtG_C_P_First(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.- Specified by:
fetchByGtG_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByGtG_C_P_Last
public com.liferay.portal.kernel.model.Group findByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.- Specified by:
findByGtG_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByGtG_C_P_Last
public com.liferay.portal.kernel.model.Group fetchByGtG_C_P_Last(long groupId, long companyId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?.- Specified by:
fetchByGtG_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
removeByGtG_C_P
public void removeByGtG_C_P(long groupId, long companyId, long parentGroupId) Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.- Specified by:
removeByGtG_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group ID
-
countByGtG_C_P
public int countByGtG_C_P(long groupId, long companyId, long parentGroupId) Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.- Specified by:
countByGtG_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group ID- Returns:
- the number of matching groups
-
findByC_C_C
public com.liferay.portal.kernel.model.Group findByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByC_C_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_C
public com.liferay.portal.kernel.model.Group fetchByC_C_C(long companyId, long classNameId, long classPK) Returns the group where companyId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_C_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByC_C_C
public com.liferay.portal.kernel.model.Group fetchByC_C_C(long companyId, long classNameId, long classPK, boolean useFinderCache) Returns the group where companyId = ? and classNameId = ? and classPK = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_C_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pkuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByC_C_C
public com.liferay.portal.kernel.model.Group removeByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.- Specified by:
removeByC_C_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByC_C_C
public int countByC_C_C(long companyId, long classNameId, long classPK) Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.- Specified by:
countByC_C_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDclassPK- the class pk- Returns:
- the number of matching groups
-
findByC_C_P
public List<com.liferay.portal.kernel.model.Group> findByC_C_P(long companyId, long classNameId, long parentGroupId) Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByC_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group ID- Returns:
- the matching groups
-
findByC_C_P
public List<com.liferay.portal.kernel.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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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)- Returns:
- the range of matching groups
-
findByC_C_P
public List<com.liferay.portal.kernel.model.Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_C_P
public List<com.liferay.portal.kernel.model.Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_C_P_First
public com.liferay.portal.kernel.model.Group findByC_C_P_First(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByC_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_P_First
public com.liferay.portal.kernel.model.Group fetchByC_C_P_First(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
fetchByC_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_C_P_Last
public com.liferay.portal.kernel.model.Group findByC_C_P_Last(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByC_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_P_Last
public com.liferay.portal.kernel.model.Group fetchByC_C_P_Last(long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
fetchByC_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_C_P_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_C_P_PrevAndNext(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByC_C_P_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- 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 (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_C_P_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_C_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_C_P
public void removeByC_C_P(long companyId, long classNameId, long parentGroupId) Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.- Specified by:
removeByC_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group ID
-
countByC_C_P
public int countByC_C_P(long companyId, long classNameId, long parentGroupId) Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
countByC_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDparentGroupId- the parent group ID- Returns:
- the number of matching groups
-
findByC_C_S
public List<com.liferay.portal.kernel.model.Group> findByC_C_S(long companyId, long classNameId, boolean site) Returns all the groups where companyId = ? and classNameId = ? and site = ?.- Specified by:
findByC_C_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the site- Returns:
- the matching groups
-
findByC_C_S
public List<com.liferay.portal.kernel.model.Group> findByC_C_S(long companyId, long classNameId, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and classNameId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_C_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the sitestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_C_S
public List<com.liferay.portal.kernel.model.Group> findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_C_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_C_S
public List<com.liferay.portal.kernel.model.Group> findByC_C_S(long companyId, long classNameId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and classNameId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_C_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_C_S_First
public com.liferay.portal.kernel.model.Group findByC_C_S_First(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.- Specified by:
findByC_C_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_S_First
public com.liferay.portal.kernel.model.Group fetchByC_C_S_First(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and classNameId = ? and site = ?.- Specified by:
fetchByC_C_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_C_S_Last
public com.liferay.portal.kernel.model.Group findByC_C_S_Last(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.- Specified by:
findByC_C_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_S_Last
public com.liferay.portal.kernel.model.Group fetchByC_C_S_Last(long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and classNameId = ? and site = ?.- Specified by:
fetchByC_C_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_C_S_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_C_S_PrevAndNext(long groupId, long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and site = ?.- Specified by:
findByC_C_S_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDclassNameId- the class name IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_C_S_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_C_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long classNameId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_C_S
public void removeByC_C_S(long companyId, long classNameId, boolean site) Removes all the groups where companyId = ? and classNameId = ? and site = ? from the database.- Specified by:
removeByC_C_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the site
-
countByC_C_S
public int countByC_C_S(long companyId, long classNameId, boolean site) Returns the number of groups where companyId = ? and classNameId = ? and site = ?.- Specified by:
countByC_C_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDsite- the site- Returns:
- the number of matching groups
-
findByC_P_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_S(long companyId, long parentGroupId, boolean site) Returns all the groups where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByC_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the site- Returns:
- the matching groups
-
findByC_P_S
public List<com.liferay.portal.kernel.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 = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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)- Returns:
- the range of matching groups
-
findByC_P_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_P_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_P_S_First
public com.liferay.portal.kernel.model.Group findByC_P_S_First(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByC_P_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_S_First
public com.liferay.portal.kernel.model.Group fetchByC_P_S_First(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
fetchByC_P_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_P_S_Last
public com.liferay.portal.kernel.model.Group findByC_P_S_Last(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByC_P_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_S_Last
public com.liferay.portal.kernel.model.Group fetchByC_P_S_Last(long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
fetchByC_P_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_P_S_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_P_S_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByC_P_S_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_P_S_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_P_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_P_S
public void removeByC_P_S(long companyId, long parentGroupId, boolean site) Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.- Specified by:
removeByC_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the site
-
countByC_P_S
public int countByC_P_S(long companyId, long parentGroupId, boolean site) Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.- Specified by:
countByC_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the site- Returns:
- the number of matching groups
-
findByC_L_GK
public com.liferay.portal.kernel.model.Group findByC_L_GK(long companyId, long liveGroupId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByC_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_L_GK
public com.liferay.portal.kernel.model.Group fetchByC_L_GK(long companyId, long liveGroupId, String groupKey) Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByC_L_GK
public com.liferay.portal.kernel.model.Group fetchByC_L_GK(long companyId, long liveGroupId, String groupKey, boolean useFinderCache) Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDliveGroupId- the live group IDgroupKey- the group keyuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByC_L_GK
public com.liferay.portal.kernel.model.Group removeByC_L_GK(long companyId, long liveGroupId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database.- Specified by:
removeByC_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByC_L_GK
Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?.- Specified by:
countByC_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the number of matching groups
-
findByC_LikeT_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeT_S(long companyId, String treePath, boolean site) Returns all the groups where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
findByC_LikeT_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the site- Returns:
- the matching groups
-
findByC_LikeT_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and treePath LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_LikeT_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the sitestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_LikeT_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_LikeT_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_LikeT_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeT_S(long companyId, String treePath, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and treePath LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_LikeT_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_LikeT_S_First
public com.liferay.portal.kernel.model.Group findByC_LikeT_S_First(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
findByC_LikeT_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_LikeT_S_First
public com.liferay.portal.kernel.model.Group fetchByC_LikeT_S_First(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
fetchByC_LikeT_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_LikeT_S_Last
public com.liferay.portal.kernel.model.Group findByC_LikeT_S_Last(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
findByC_LikeT_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_LikeT_S_Last
public com.liferay.portal.kernel.model.Group fetchByC_LikeT_S_Last(long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
fetchByC_LikeT_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_LikeT_S_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_LikeT_S_PrevAndNext(long groupId, long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
findByC_LikeT_S_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDtreePath- the tree pathsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_LikeT_S_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_LikeT_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, String treePath, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_LikeT_S
Removes all the groups where companyId = ? and treePath LIKE ? and site = ? from the database.- Specified by:
removeByC_LikeT_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the site
-
countByC_LikeT_S
Returns the number of groups where companyId = ? and treePath LIKE ? and site = ?.- Specified by:
countByC_LikeT_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDtreePath- the tree pathsite- the site- Returns:
- the number of matching groups
-
findByC_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeN_S(long companyId, String name, boolean site) Returns all the groups where companyId = ? and name LIKE ? and site = ?.- Specified by:
findByC_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the site- Returns:
- the matching groups
-
findByC_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeN_S(long companyId, String name, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and name LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the sitestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_LikeN_S(long companyId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and name LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_LikeN_S_First
public com.liferay.portal.kernel.model.Group findByC_LikeN_S_First(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.- Specified by:
findByC_LikeN_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_LikeN_S_First
public com.liferay.portal.kernel.model.Group fetchByC_LikeN_S_First(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.- Specified by:
fetchByC_LikeN_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_LikeN_S_Last
public com.liferay.portal.kernel.model.Group findByC_LikeN_S_Last(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.- Specified by:
findByC_LikeN_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_LikeN_S_Last
public com.liferay.portal.kernel.model.Group fetchByC_LikeN_S_Last(long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and name LIKE ? and site = ?.- Specified by:
fetchByC_LikeN_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_LikeN_S_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_LikeN_S_PrevAndNext(long groupId, long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and name LIKE ? and site = ?.- Specified by:
findByC_LikeN_S_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_LikeN_S_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_LikeN_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_LikeN_S
Removes all the groups where companyId = ? and name LIKE ? and site = ? from the database.- Specified by:
removeByC_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the site
-
countByC_LikeN_S
Returns the number of groups where companyId = ? and name LIKE ? and site = ?.- Specified by:
countByC_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDname- the namesite- the site- Returns:
- the number of matching groups
-
findByC_S_A
public List<com.liferay.portal.kernel.model.Group> findByC_S_A(long companyId, boolean site, boolean active) Returns all the groups where companyId = ? and site = ? and active = ?.- Specified by:
findByC_S_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the active- Returns:
- the matching groups
-
findByC_S_A
public List<com.liferay.portal.kernel.model.Group> findByC_S_A(long companyId, boolean site, boolean active, int start, int end) Returns a range of all the groups where companyId = ? and site = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_S_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the activestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_S_A
public List<com.liferay.portal.kernel.model.Group> findByC_S_A(long companyId, boolean site, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_S_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_S_A
public List<com.liferay.portal.kernel.model.Group> findByC_S_A(long companyId, boolean site, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and site = ? and active = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_S_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_S_A_First
public com.liferay.portal.kernel.model.Group findByC_S_A_First(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.- Specified by:
findByC_S_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_S_A_First
public com.liferay.portal.kernel.model.Group fetchByC_S_A_First(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and site = ? and active = ?.- Specified by:
fetchByC_S_A_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_S_A_Last
public com.liferay.portal.kernel.model.Group findByC_S_A_Last(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.- Specified by:
findByC_S_A_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_S_A_Last
public com.liferay.portal.kernel.model.Group fetchByC_S_A_Last(long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and site = ? and active = ?.- Specified by:
fetchByC_S_A_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_S_A_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_S_A_PrevAndNext(long groupId, long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and site = ? and active = ?.- Specified by:
findByC_S_A_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDsite- the siteactive- the activeorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_S_A_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_S_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, boolean site, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_S_A
public void removeByC_S_A(long companyId, boolean site, boolean active) Removes all the groups where companyId = ? and site = ? and active = ? from the database.- Specified by:
removeByC_S_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the active
-
countByC_S_A
public int countByC_S_A(long companyId, boolean site, boolean active) Returns the number of groups where companyId = ? and site = ? and active = ?.- Specified by:
countByC_S_Ain interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDsite- the siteactive- the active- Returns:
- the number of matching groups
-
findByGtG_C_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId) Returns all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByGtG_C_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group ID- Returns:
- the matching groups
-
findByGtG_C_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end) Returns a range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- 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)- Returns:
- the range of matching groups
-
findByGtG_C_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByGtG_C_C_P
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByGtG_C_C_P_First
public com.liferay.portal.kernel.model.Group findByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByGtG_C_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByGtG_C_C_P_First
public com.liferay.portal.kernel.model.Group fetchByGtG_C_C_P_First(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
fetchByGtG_C_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByGtG_C_C_P_Last
public com.liferay.portal.kernel.model.Group findByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
findByGtG_C_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByGtG_C_C_P_Last
public com.liferay.portal.kernel.model.Group fetchByGtG_C_C_P_Last(long groupId, long companyId, long classNameId, long parentGroupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
fetchByGtG_C_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
removeByGtG_C_C_P
public void removeByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId) Removes all the groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ? from the database.- Specified by:
removeByGtG_C_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group ID
-
countByGtG_C_C_P
public int countByGtG_C_C_P(long groupId, long companyId, long classNameId, long parentGroupId) Returns the number of groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.- Specified by:
countByGtG_C_C_Pin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDclassNameId- the class name IDparentGroupId- the parent group ID- Returns:
- the number of matching groups
-
findByGtG_C_P_S
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site) Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByGtG_C_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the site- Returns:
- the matching groups
-
findByGtG_C_P_S
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end) Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- 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)- Returns:
- the range of matching groups
-
findByGtG_C_P_S
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByGtG_C_P_S
public List<com.liferay.portal.kernel.model.Group> findByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByGtG_C_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByGtG_C_P_S_First
public com.liferay.portal.kernel.model.Group findByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByGtG_C_P_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByGtG_C_P_S_First
public com.liferay.portal.kernel.model.Group fetchByGtG_C_P_S_First(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.- Specified by:
fetchByGtG_C_P_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByGtG_C_P_S_Last
public com.liferay.portal.kernel.model.Group findByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.- Specified by:
findByGtG_C_P_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByGtG_C_P_S_Last
public com.liferay.portal.kernel.model.Group fetchByGtG_C_P_S_Last(long groupId, long companyId, long parentGroupId, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.- Specified by:
fetchByGtG_C_P_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
removeByGtG_C_P_S
public void removeByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site) Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ? from the database.- Specified by:
removeByGtG_C_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the site
-
countByGtG_C_P_S
public int countByGtG_C_P_S(long groupId, long companyId, long parentGroupId, boolean site) Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.- Specified by:
countByGtG_C_P_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the group IDcompanyId- the company IDparentGroupId- the parent group IDsite- the site- Returns:
- the number of matching groups
-
findByC_C_L_GK
public com.liferay.portal.kernel.model.Group findByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByC_C_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_C_L_GK
public com.liferay.portal.kernel.model.Group fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_C_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByC_C_L_GK
public com.liferay.portal.kernel.model.Group fetchByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey, boolean useFinderCache) Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_C_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDliveGroupId- the live group IDgroupKey- the group keyuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByC_C_L_GK
public com.liferay.portal.kernel.model.Group removeByC_C_L_GK(long companyId, long classNameId, long liveGroupId, String groupKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? from the database.- Specified by:
removeByC_C_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByC_C_L_GK
Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ?.- Specified by:
countByC_C_L_GKin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDclassNameId- the class name IDliveGroupId- the live group IDgroupKey- the group key- Returns:
- the number of matching groups
-
findByC_P_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site) Returns all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
findByC_P_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the site- Returns:
- the matching groups
-
findByC_P_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end) Returns a range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the sitestart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_P_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_P_LikeN_S
public List<com.liferay.portal.kernel.model.Group> findByC_P_LikeN_S(long companyId, long parentGroupId, String name, boolean site, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_P_LikeN_S_First
public com.liferay.portal.kernel.model.Group findByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
findByC_P_LikeN_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_LikeN_S_First
public com.liferay.portal.kernel.model.Group fetchByC_P_LikeN_S_First(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
fetchByC_P_LikeN_S_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_P_LikeN_S_Last
public com.liferay.portal.kernel.model.Group findByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
findByC_P_LikeN_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_LikeN_S_Last
public com.liferay.portal.kernel.model.Group fetchByC_P_LikeN_S_Last(long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
fetchByC_P_LikeN_S_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_P_LikeN_S_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_P_LikeN_S_PrevAndNext(long groupId, long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
findByC_P_LikeN_S_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDparentGroupId- the parent group IDname- the namesite- the siteorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_P_LikeN_S_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_P_LikeN_S_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, String name, boolean site, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_P_LikeN_S
Removes all the groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ? from the database.- Specified by:
removeByC_P_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the site
-
countByC_P_LikeN_S
Returns the number of groups where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.- Specified by:
countByC_P_LikeN_Sin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDname- the namesite- the site- Returns:
- the number of matching groups
-
findByC_P_S_I
public List<com.liferay.portal.kernel.model.Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent) Returns all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
findByC_P_S_Iin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit content- Returns:
- the matching groups
-
findByC_P_S_I
public List<com.liferay.portal.kernel.model.Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end) Returns a range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_S_Iin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of matching groups
-
findByC_P_S_I
public List<com.liferay.portal.kernel.model.Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_S_Iin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentstart- 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 (optionallynull)- Returns:
- the ordered range of matching groups
-
findByC_P_S_I
public List<com.liferay.portal.kernel.model.Group> findByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findByC_P_S_Iin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentstart- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching groups
-
findByC_P_S_I_First
public com.liferay.portal.kernel.model.Group findByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
findByC_P_S_I_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_S_I_First
public com.liferay.portal.kernel.model.Group fetchByC_P_S_I_First(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
fetchByC_P_S_I_Firstin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching group, or
nullif a matching group could not be found
-
findByC_P_S_I_Last
public com.liferay.portal.kernel.model.Group findByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
findByC_P_S_I_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByC_P_S_I_Last
public com.liferay.portal.kernel.model.Group fetchByC_P_S_I_Last(long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
fetchByC_P_S_I_Lastin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching group, or
nullif a matching group could not be found
-
findByC_P_S_I_PrevAndNext
public com.liferay.portal.kernel.model.Group[] findByC_P_S_I_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
findByC_P_S_I_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the current groupcompanyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit contentorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
getByC_P_S_I_PrevAndNext
protected com.liferay.portal.kernel.model.Group getByC_P_S_I_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Group group, long companyId, long parentGroupId, boolean site, boolean inheritContent, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean previous) -
removeByC_P_S_I
public void removeByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent) Removes all the groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ? from the database.- Specified by:
removeByC_P_S_Iin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit content
-
countByC_P_S_I
public int countByC_P_S_I(long companyId, long parentGroupId, boolean site, boolean inheritContent) Returns the number of groups where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.- Specified by:
countByC_P_S_Iin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
companyId- the company IDparentGroupId- the parent group IDsite- the siteinheritContent- the inherit content- Returns:
- the number of matching groups
-
findByERC_C
public com.liferay.portal.kernel.model.Group findByERC_C(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group where externalReferenceCode = ? and companyId = ? or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a matching group could not be found
-
fetchByERC_C
public com.liferay.portal.kernel.model.Group fetchByERC_C(String externalReferenceCode, long companyId) Returns the group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching group, or
nullif a matching group could not be found
-
fetchByERC_C
public com.liferay.portal.kernel.model.Group fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the group where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching group, or
nullif a matching group could not be found
-
removeByERC_C
public com.liferay.portal.kernel.model.Group removeByERC_C(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group where externalReferenceCode = ? and companyId = ? from the database.- Specified by:
removeByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException
-
countByERC_C
Returns the number of groups where externalReferenceCode = ? and companyId = ?.- Specified by:
countByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching groups
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.Group group) Caches the group in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>- Parameters:
group- the group
-
cacheResult
Caches the groups in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groups- the groups
-
clearCache
public void clearCache()Clears the cache for all groups.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.Group group) Clears the cache for the group.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>
-
cacheUniqueFindersCache
-
create
public com.liferay.portal.kernel.model.Group create(long groupId) Creates a new group with the primary key. Does not add the group to the database.- Specified by:
createin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key for the new group- Returns:
- the new group
-
remove
public com.liferay.portal.kernel.model.Group remove(long groupId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the group- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.Group remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Removes the group with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>- Parameters:
primaryKey- the primary key of the group- Returns:
- the group that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.Group removeImpl(com.liferay.portal.kernel.model.Group group) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
updateImpl
public com.liferay.portal.kernel.model.Group updateImpl(com.liferay.portal.kernel.model.Group group) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.Group findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>- Parameters:
primaryKey- the primary key of the group- Returns:
- the group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.Group findByPrimaryKey(long groupId) throws com.liferay.portal.kernel.exception.NoSuchGroupException Returns the group with the primary key or throws aNoSuchGroupExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the group- Returns:
- the group
- Throws:
com.liferay.portal.kernel.exception.NoSuchGroupException- if a group with the primary key could not be found
-
fetchByPrimaryKey
Returns the group with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>- Parameters:
primaryKey- the primary key of the group- Returns:
- the group, or
nullif a group with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.Group fetchByPrimaryKey(long groupId) Returns the group with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
groupId- the primary key of the group- Returns:
- the group, or
nullif a group with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.portal.kernel.model.Group> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
findAll
Returns all the groups.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Returns:
- the groups
-
findAll
Returns a range of all the groups.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
start- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of groups
-
findAll
public List<com.liferay.portal.kernel.model.Group> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
start- 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 (optionallynull)- Returns:
- the ordered range of groups
-
findAll
public List<com.liferay.portal.kernel.model.Group> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator, boolean useFinderCache) Returns an ordered range of all the groups.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
start- 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 (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of groups
-
removeAll
public void removeAll()Removes all the groups from the database.- Specified by:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence
-
countAll
public int countAll()Returns the number of groups.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Returns:
- the number of groups
-
getOrganizationPrimaryKeys
public long[] getOrganizationPrimaryKeys(long pk) Returns the primaryKeys of organizations associated with the group.- Specified by:
getOrganizationPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- long[] of the primaryKeys of organizations associated with the group
-
getOrganizations
Returns all the organizations associated with the group.- Specified by:
getOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the organizations associated with the group
-
getOrganizations
public List<com.liferay.portal.kernel.model.Organization> getOrganizations(long pk, int start, int end) Returns a range of all the organizations associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of organizations associated with the group
-
getOrganizations
public List<com.liferay.portal.kernel.model.Organization> getOrganizations(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- 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 (optionallynull)- Returns:
- the ordered range of organizations associated with the group
-
getOrganizationsSize
public int getOrganizationsSize(long pk) Returns the number of organizations associated with the group.- Specified by:
getOrganizationsSizein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the number of organizations associated with the group
-
containsOrganization
public boolean containsOrganization(long pk, long organizationPK) Returnstrueif the organization is associated with the group.- Specified by:
containsOrganizationin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizationPK- the primary key of the organization- Returns:
trueif the organization is associated with the group;falseotherwise
-
containsOrganizations
public boolean containsOrganizations(long pk) Returnstrueif the group has any organizations associated with it.- Specified by:
containsOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to check for associations with organizations- Returns:
trueif the group has any organizations associated with it;falseotherwise
-
addOrganization
public boolean addOrganization(long pk, long organizationPK) Adds an association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addOrganizationin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizationPK- the primary key of the organization- Returns:
trueif an association between the group and the organization was added;falseif they were already associated
-
addOrganization
public boolean addOrganization(long pk, com.liferay.portal.kernel.model.Organization organization) Adds an association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addOrganizationin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganization- the organization- Returns:
trueif an association between the group and the organization was added;falseif they were already associated
-
addOrganizations
public boolean addOrganizations(long pk, long[] organizationPKs) Adds an association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizationPKs- the primary keys of the organizations- Returns:
trueif at least one association between the group and the organizations was added;falseif they were all already associated
-
addOrganizations
public boolean addOrganizations(long pk, List<com.liferay.portal.kernel.model.Organization> organizations) Adds an association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizations- the organizations- Returns:
trueif at least one association between the group and the organizations was added;falseif they were all already associated
-
clearOrganizations
public void clearOrganizations(long pk) Clears all associations between the group and its organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to clear the associated organizations from
-
removeOrganization
public void removeOrganization(long pk, long organizationPK) Removes the association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeOrganizationin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizationPK- the primary key of the organization
-
removeOrganization
public void removeOrganization(long pk, com.liferay.portal.kernel.model.Organization organization) Removes the association between the group and the organization. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeOrganizationin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganization- the organization
-
removeOrganizations
public void removeOrganizations(long pk, long[] organizationPKs) Removes the association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizationPKs- the primary keys of the organizations
-
removeOrganizations
public void removeOrganizations(long pk, List<com.liferay.portal.kernel.model.Organization> organizations) Removes the association between the group and the organizations. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizations- the organizations
-
setOrganizations
public void setOrganizations(long pk, long[] organizationPKs) Sets the organizations associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizationPKs- the primary keys of the organizations to be associated with the group
-
setOrganizations
public void setOrganizations(long pk, List<com.liferay.portal.kernel.model.Organization> organizations) Sets the organizations associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setOrganizationsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouporganizations- the organizations to be associated with the group
-
getRolePrimaryKeys
public long[] getRolePrimaryKeys(long pk) Returns the primaryKeys of roles associated with the group.- Specified by:
getRolePrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- long[] of the primaryKeys of roles associated with the group
-
getRoles
Returns all the roles associated with the group.- Specified by:
getRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the roles associated with the group
-
getRoles
Returns a range of all the roles associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of roles associated with the group
-
getRoles
public List<com.liferay.portal.kernel.model.Role> getRoles(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Role> orderByComparator) Returns an ordered range of all the roles associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- 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 (optionallynull)- Returns:
- the ordered range of roles associated with the group
-
getRolesSize
public int getRolesSize(long pk) Returns the number of roles associated with the group.- Specified by:
getRolesSizein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the number of roles associated with the group
-
containsRole
public boolean containsRole(long pk, long rolePK) Returnstrueif the role is associated with the group.- Specified by:
containsRolein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprolePK- the primary key of the role- Returns:
trueif the role is associated with the group;falseotherwise
-
containsRoles
public boolean containsRoles(long pk) Returnstrueif the group has any roles associated with it.- Specified by:
containsRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to check for associations with roles- Returns:
trueif the group has any roles associated with it;falseotherwise
-
addRole
public boolean addRole(long pk, long rolePK) Adds an association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addRolein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprolePK- the primary key of the role- Returns:
trueif an association between the group and the role was added;falseif they were already associated
-
addRole
public boolean addRole(long pk, com.liferay.portal.kernel.model.Role role) Adds an association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addRolein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprole- the role- Returns:
trueif an association between the group and the role was added;falseif they were already associated
-
addRoles
public boolean addRoles(long pk, long[] rolePKs) Adds an association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprolePKs- the primary keys of the roles- Returns:
trueif at least one association between the group and the roles was added;falseif they were all already associated
-
addRoles
Adds an association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouproles- the roles- Returns:
trueif at least one association between the group and the roles was added;falseif they were all already associated
-
clearRoles
public void clearRoles(long pk) Clears all associations between the group and its roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to clear the associated roles from
-
removeRole
public void removeRole(long pk, long rolePK) Removes the association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeRolein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprolePK- the primary key of the role
-
removeRole
public void removeRole(long pk, com.liferay.portal.kernel.model.Role role) Removes the association between the group and the role. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeRolein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprole- the role
-
removeRoles
public void removeRoles(long pk, long[] rolePKs) Removes the association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprolePKs- the primary keys of the roles
-
removeRoles
Removes the association between the group and the roles. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouproles- the roles
-
setRoles
public void setRoles(long pk, long[] rolePKs) Sets the roles associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouprolePKs- the primary keys of the roles to be associated with the group
-
setRoles
Sets the roles associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setRolesin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the grouproles- the roles to be associated with the group
-
getUserGroupPrimaryKeys
public long[] getUserGroupPrimaryKeys(long pk) Returns the primaryKeys of user groups associated with the group.- Specified by:
getUserGroupPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- long[] of the primaryKeys of user groups associated with the group
-
getUserGroups
Returns all the user groups associated with the group.- Specified by:
getUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the user groups associated with the group
-
getUserGroups
Returns a range of all the user groups associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of user groups associated with the group
-
getUserGroups
public List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserGroup> orderByComparator) Returns an ordered range of all the user groups associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- 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 (optionallynull)- Returns:
- the ordered range of user groups associated with the group
-
getUserGroupsSize
public int getUserGroupsSize(long pk) Returns the number of user groups associated with the group.- Specified by:
getUserGroupsSizein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the number of user groups associated with the group
-
containsUserGroup
public boolean containsUserGroup(long pk, long userGroupPK) Returnstrueif the user group is associated with the group.- Specified by:
containsUserGroupin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroupPK- the primary key of the user group- Returns:
trueif the user group is associated with the group;falseotherwise
-
containsUserGroups
public boolean containsUserGroups(long pk) Returnstrueif the group has any user groups associated with it.- Specified by:
containsUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to check for associations with user groups- Returns:
trueif the group has any user groups associated with it;falseotherwise
-
addUserGroup
public boolean addUserGroup(long pk, long userGroupPK) Adds an association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserGroupin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroupPK- the primary key of the user group- Returns:
trueif an association between the group and the user group was added;falseif they were already associated
-
addUserGroup
public boolean addUserGroup(long pk, com.liferay.portal.kernel.model.UserGroup userGroup) Adds an association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserGroupin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroup- the user group- Returns:
trueif an association between the group and the user group was added;falseif they were already associated
-
addUserGroups
public boolean addUserGroups(long pk, long[] userGroupPKs) Adds an association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroupPKs- the primary keys of the user groups- Returns:
trueif at least one association between the group and the user groups was added;falseif they were all already associated
-
addUserGroups
Adds an association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroups- the user groups- Returns:
trueif at least one association between the group and the user groups was added;falseif they were all already associated
-
clearUserGroups
public void clearUserGroups(long pk) Clears all associations between the group and its user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to clear the associated user groups from
-
removeUserGroup
public void removeUserGroup(long pk, long userGroupPK) Removes the association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserGroupin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroupPK- the primary key of the user group
-
removeUserGroup
public void removeUserGroup(long pk, com.liferay.portal.kernel.model.UserGroup userGroup) Removes the association between the group and the user group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserGroupin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroup- the user group
-
removeUserGroups
public void removeUserGroups(long pk, long[] userGroupPKs) Removes the association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroupPKs- the primary keys of the user groups
-
removeUserGroups
Removes the association between the group and the user groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroups- the user groups
-
setUserGroups
public void setUserGroups(long pk, long[] userGroupPKs) Sets the user groups associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroupPKs- the primary keys of the user groups to be associated with the group
-
setUserGroups
Sets the user groups associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserGroups- the user groups to be associated with the group
-
getUserPrimaryKeys
public long[] getUserPrimaryKeys(long pk) Returns the primaryKeys of users associated with the group.- Specified by:
getUserPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- long[] of the primaryKeys of users associated with the group
-
getUsers
Returns all the users associated with the group.- Specified by:
getUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the users associated with the group
-
getUsers
Returns a range of all the users associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupstart- the lower bound of the range of groupsend- the upper bound of the range of groups (not inclusive)- Returns:
- the range of users associated with the group
-
getUsers
public List<com.liferay.portal.kernel.model.User> getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) Returns an ordered range of all the users associated with the group.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromGroupModelImpl.- Specified by:
getUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- 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 (optionallynull)- Returns:
- the ordered range of users associated with the group
-
getUsersSize
public int getUsersSize(long pk) Returns the number of users associated with the group.- Specified by:
getUsersSizein interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group- Returns:
- the number of users associated with the group
-
containsUser
public boolean containsUser(long pk, long userPK) Returnstrueif the user is associated with the group.- Specified by:
containsUserin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserPK- the primary key of the user- Returns:
trueif the user is associated with the group;falseotherwise
-
containsUsers
public boolean containsUsers(long pk) Returnstrueif the group has any users associated with it.- Specified by:
containsUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to check for associations with users- Returns:
trueif the group has any users associated with it;falseotherwise
-
addUser
public boolean addUser(long pk, long userPK) Adds an association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserPK- the primary key of the user- Returns:
trueif an association between the group and the user was added;falseif they were already associated
-
addUser
public boolean addUser(long pk, com.liferay.portal.kernel.model.User user) Adds an association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuser- the user- Returns:
trueif an association between the group and the user was added;falseif they were already associated
-
addUsers
public boolean addUsers(long pk, long[] userPKs) Adds an association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserPKs- the primary keys of the users- Returns:
trueif at least one association between the group and the users was added;falseif they were all already associated
-
addUsers
Adds an association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupusers- the users- Returns:
trueif at least one association between the group and the users was added;falseif they were all already associated
-
clearUsers
public void clearUsers(long pk) Clears all associations between the group and its users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the group to clear the associated users from
-
removeUser
public void removeUser(long pk, long userPK) Removes the association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserPK- the primary key of the user
-
removeUser
public void removeUser(long pk, com.liferay.portal.kernel.model.User user) Removes the association between the group and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuser- the user
-
removeUsers
public void removeUsers(long pk, long[] userPKs) Removes the association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserPKs- the primary keys of the users
-
removeUsers
Removes the association between the group and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupusers- the users
-
setUsers
public void setUsers(long pk, long[] userPKs) Sets the users associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupuserPKs- the primary keys of the users to be associated with the group
-
setUsers
Sets the users associated with the group, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUsersin interfacecom.liferay.portal.kernel.service.persistence.GroupPersistence- Parameters:
pk- the primary key of the groupusers- the users to be associated with the group
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Group>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Group>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Group>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Group>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Group>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the group persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
-