public class GroupPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>
implements com.liferay.portal.kernel.service.persistence.GroupPersistence
Caching information and settings can be found in portal.properties
| Modifier and Type | Field and Description |
|---|---|
static String |
FINDER_CLASS_NAME_ENTITY
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Organization> |
groupToOrganizationTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Role> |
groupToRoleTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.UserGroup> |
groupToUserGroupTableMapper |
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.User> |
groupToUserTableMapper |
protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence |
organizationPersistence |
protected com.liferay.portal.kernel.service.persistence.RolePersistence |
rolePersistence |
protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence |
userGroupPersistence |
protected com.liferay.portal.kernel.service.persistence.UserPersistence |
userPersistence |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, 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 and Description |
|---|
GroupPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOrganization(long pk,
long organizationPK)
Adds an association between the group and the organization.
|
void |
addOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
Adds an association between the group and the organization.
|
void |
addOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
Adds an association between the group and the organizations.
|
void |
addOrganizations(long pk,
long[] organizationPKs)
Adds an association between the group and the organizations.
|
void |
addRole(long pk,
long rolePK)
Adds an association between the group and the role.
|
void |
addRole(long pk,
com.liferay.portal.kernel.model.Role role)
Adds an association between the group and the role.
|
void |
addRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
Adds an association between the group and the roles.
|
void |
addRoles(long pk,
long[] rolePKs)
Adds an association between the group and the roles.
|
void |
addUser(long pk,
long userPK)
Adds an association between the group and the user.
|
void |
addUser(long pk,
com.liferay.portal.kernel.model.User user)
Adds an association between the group and the user.
|
void |
addUserGroup(long pk,
long userGroupPK)
Adds an association between the group and the user group.
|
void |
addUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
Adds an association between the group and the user group.
|
void |
addUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Adds an association between the group and the user groups.
|
void |
addUserGroups(long pk,
long[] userGroupPKs)
Adds an association between the group and the user groups.
|
void |
addUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
Adds an association between the group and the users.
|
void |
addUsers(long pk,
long[] userPKs)
Adds an association between the group and the users.
|
void |
afterPropertiesSet()
Initializes the group persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.Group group)
Caches the group in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.Group> groups)
Caches the groups in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(GroupModelImpl groupModelImpl) |
void |
clearCache()
Clears the cache for all groups.
|
void |
clearCache(com.liferay.portal.kernel.model.Group group)
Clears the cache for the group.
|
void |
clearCache(List<com.liferay.portal.kernel.model.Group> groups) |
void |
clearOrganizations(long pk)
Clears all associations between the group and its organizations.
|
void |
clearRoles(long pk)
Clears all associations between the group and its roles.
|
protected void |
clearUniqueFindersCache(GroupModelImpl groupModelImpl,
boolean clearCurrent) |
void |
clearUserGroups(long pk)
Clears all associations between the group and its user groups.
|
void |
clearUsers(long pk)
Clears all associations between the group and its users.
|
boolean |
containsOrganization(long pk,
long organizationPK)
Returns
true if the organization is associated with the group. |
boolean |
containsOrganizations(long pk)
Returns
true if the group has any organizations associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Returns
true if the role is associated with the group. |
boolean |
containsRoles(long pk)
Returns
true if the group has any roles associated with it. |
boolean |
containsUser(long pk,
long userPK)
Returns
true if the user is associated with the group. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns
true if the user group is associated with the group. |
boolean |
containsUserGroups(long pk)
Returns
true if the group has any user groups associated with it. |
boolean |
containsUsers(long pk)
Returns
true if the group has any users associated with it. |
int |
countAll()
Returns the number of groups.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of groups where companyId = ? and active = ?.
|
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?.
|
int |
countByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ?.
|
int |
countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?.
|
int |
countByC_C(long companyId,
long classNameId)
Returns the number of groups where companyId = ? and classNameId = ?.
|
int |
countByC_CPK(long classNameId,
long classPK)
Returns the number of groups where classNameId = ? and classPK = ?.
|
int |
countByC_F(long companyId,
String friendlyURL)
Returns the number of groups where companyId = ? and friendlyURL = ?.
|
int |
countByC_GK(long companyId,
String groupKey)
Returns the number of groups where companyId = ? and groupKey = ?.
|
int |
countByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Returns the number of groups where companyId = ? and liveGroupId = ? and groupKey = ?.
|
int |
countByC_LikeN_S(long companyId,
String name,
boolean site)
Returns the number of groups where companyId = ? and name LIKE ? and site = ?.
|
int |
countByC_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 = ?.
|
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 = ?.
|
int |
countByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?.
|
int |
countByC_P(long companyId,
long parentGroupId)
Returns the number of groups where companyId = ? and parentGroupId = ?.
|
int |
countByC_S_A(long companyId,
boolean site,
boolean active)
Returns the number of groups where companyId = ? and site = ? and active = ?.
|
int |
countByC_S(long companyId,
boolean site)
Returns the number of groups where companyId = ? and site = ?.
|
int |
countByC_T_S(long companyId,
String treePath,
boolean site)
Returns the number of groups where companyId = ? and treePath LIKE ? and site = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of groups where companyId = ?.
|
int |
countByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and classNameId = ? and parentGroupId = ?.
|
int |
countByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ? and site = ?.
|
int |
countByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
int |
countByLiveGroupId(long liveGroupId)
Returns the number of groups where liveGroupId = ?.
|
int |
countByT_A(int type,
boolean active)
Returns the number of groups where type = ? and active = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of groups where uuid = ? and companyId = ?.
|
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of groups where uuid = ? and groupId = ?.
|
int |
countByUuid(String uuid)
Returns the number of groups where uuid = ?.
|
com.liferay.portal.kernel.model.Group |
create(long groupId)
Creates a new group with the primary key.
|
void |
destroy() |
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 = ?.
|
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 = ?.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
com.liferay.portal.kernel.model.Group |
fetchByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Group |
fetchByC_F(long companyId,
String friendlyURL,
boolean useFinderCache)
Returns the group where companyId = ? and friendlyURL = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Group |
fetchByC_GK(long companyId,
String groupKey)
Returns the group where companyId = ? and groupKey = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Group |
fetchByC_GK(long companyId,
String groupKey,
boolean useFinderCache)
Returns the group where companyId = ? and groupKey = ? or returns
null if it could not be found, optionally using the finder cache. |
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 returns
null if it could not be found. |
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 returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
com.liferay.portal.kernel.model.Group |
fetchByC_T_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.Group |
fetchByC_T_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 |
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 = ?.
|
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 = ?.
|
com.liferay.portal.kernel.model.Group |
fetchByG_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.Group |
fetchByG_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.Group |
fetchByG_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.Group |
fetchByG_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.Group |
fetchByG_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.Group |
fetchByG_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.Group |
fetchByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Group |
fetchByLiveGroupId(long liveGroupId,
boolean useFinderCache)
Returns the group where liveGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.Group |
fetchByPrimaryKey(long groupId)
Returns the group with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
com.liferay.portal.kernel.model.Group |
fetchByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.Group |
fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
Returns the group where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
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 = ?.
|
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.
|
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)
Returns the first group in the ordered set where companyId = ? and active = ?.
|
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)
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_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.Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the group where companyId = ? and classNameId = ? and classPK = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.kernel.model.Group |
findByC_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.Group |
findByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and groupKey = ? or throws a
NoSuchGroupException if it could not be found. |
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)
Returns the last group in the ordered set where companyId = ? and classNameId = ?.
|
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)
Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?.
|
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)
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 = ?.
|
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.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(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.Group |
findByC_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.Group |
findByC_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 = ?.
|
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.Group |
findByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.kernel.model.Group |
findByC_GK(long companyId,
String groupKey)
Returns the group where companyId = ? and groupKey = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.kernel.model.Group |
findByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Returns the group where companyId = ? and liveGroupId = ? and groupKey = ? or throws a
NoSuchGroupException if it could not be found. |
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)
Returns the first group in the ordered set where companyId = ? and name LIKE ? and site = ?.
|
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)
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_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.Group |
findByC_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.Group |
findByC_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.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)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and name LIKE ? and site = ?.
|
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)
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 = ?.
|
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.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 = ?.
|
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)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?.
|
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)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ? and inheritContent = ?.
|
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)
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 = ?.
|
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.Group |
findByC_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_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 = ?.
|
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.Group |
findByC_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.Group |
findByC_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 = ?.
|
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.Group |
findByC_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.Group |
findByC_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> |
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 = ?.
|
com.liferay.portal.kernel.model.Group |
findByC_T_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.Group |
findByC_T_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_T_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_T_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_T_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_T_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_T_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.Group |
findByCompanyId_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.Group |
findByCompanyId_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 = ?.
|
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.Group |
findByG_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.Group |
findByG_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> |
findByG_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> |
findByG_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> |
findByG_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> |
findByG_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.Group |
findByG_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.Group |
findByG_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.Group |
findByG_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.Group |
findByG_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 = ?.
|
List<com.liferay.portal.kernel.model.Group> |
findByG_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> |
findByG_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> |
findByG_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> |
findByG_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 = ?.
|
List<com.liferay.portal.kernel.model.Group> |
findByG_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> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?.
|
List<com.liferay.portal.kernel.model.Group> |
findByG_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> |
findByG_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.Group |
findByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.kernel.model.Group |
findByPrimaryKey(long groupId)
Returns the group with the primary key or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.kernel.model.Group |
findByPrimaryKey(Serializable primaryKey)
Returns the group with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
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)
Returns the first group in the ordered set where type = ? and active = ?.
|
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)
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> |
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.Group |
findByUuid_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.Group |
findByUuid_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 = ?.
|
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.Group |
findByUuid_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.Group |
findByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or throws a
NoSuchGroupException if it could not be found. |
com.liferay.portal.kernel.model.Group |
findByUuid_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 = ?.
|
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 = ?.
|
Set<String> |
getBadColumnNames() |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
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) |
protected com.liferay.portal.kernel.model.Group |
getByC_T_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.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) |
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) |
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) |
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) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
long[] |
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.
|
int |
getOrganizationsSize(long pk)
Returns the number of organizations associated with the group.
|
protected String |
getPKDBName() |
long[] |
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.
|
int |
getRolesSize(long pk)
Returns the number of roles associated with the group.
|
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
long[] |
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.
|
int |
getUserGroupsSize(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.
|
int |
getUsersSize(long pk)
Returns the number of users associated with the group.
|
com.liferay.portal.kernel.model.Group |
remove(long groupId)
Removes the group with the primary key from the database.
|
com.liferay.portal.kernel.model.Group |
remove(Serializable primaryKey)
Removes the group with the primary key from the database.
|
void |
removeAll()
Removes all the groups from the database.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the groups where companyId = ? and active = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByC_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.
|
void |
removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database.
|
void |
removeByC_C(long companyId,
long classNameId)
Removes all the groups where companyId = ? and classNameId = ? from the database.
|
void |
removeByC_CPK(long classNameId,
long classPK)
Removes all the groups where classNameId = ? and classPK = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByC_F(long companyId,
String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByC_GK(long companyId,
String groupKey)
Removes the group where companyId = ? and groupKey = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
Removes the group where companyId = ? and liveGroupId = ? and groupKey = ? from the database.
|
void |
removeByC_LikeN_S(long companyId,
String name,
boolean site)
Removes all the groups where companyId = ? and name LIKE ? and site = ? from the database.
|
void |
removeByC_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.
|
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.
|
void |
removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database.
|
void |
removeByC_P(long companyId,
long parentGroupId)
Removes all the groups where companyId = ? and parentGroupId = ? from the database.
|
void |
removeByC_S_A(long companyId,
boolean site,
boolean active)
Removes all the groups where companyId = ? and site = ? and active = ? from the database.
|
void |
removeByC_S(long companyId,
boolean site)
Removes all the groups where companyId = ? and site = ? from the database.
|
void |
removeByC_T_S(long companyId,
String treePath,
boolean site)
Removes all the groups where companyId = ? and treePath LIKE ? and site = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the groups where companyId = ? from the database.
|
void |
removeByG_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.
|
void |
removeByG_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.
|
void |
removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByLiveGroupId(long liveGroupId)
Removes the group where liveGroupId = ? from the database.
|
void |
removeByT_A(int type,
boolean active)
Removes all the groups where type = ? and active = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the groups where uuid = ? and companyId = ? from the database.
|
com.liferay.portal.kernel.model.Group |
removeByUUID_G(String uuid,
long groupId)
Removes the group where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the groups where uuid = ? from the database.
|
protected com.liferay.portal.kernel.model.Group |
removeImpl(com.liferay.portal.kernel.model.Group group) |
void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the group and the organization.
|
void |
removeOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
Removes the association between the group and the organization.
|
void |
removeOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
Removes the association between the group and the organizations.
|
void |
removeOrganizations(long pk,
long[] organizationPKs)
Removes the association between the group and the organizations.
|
void |
removeRole(long pk,
long rolePK)
Removes the association between the group and the role.
|
void |
removeRole(long pk,
com.liferay.portal.kernel.model.Role role)
Removes the association between the group and the role.
|
void |
removeRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
Removes the association between the group and the roles.
|
void |
removeRoles(long pk,
long[] rolePKs)
Removes the association between the group and the roles.
|
void |
removeUser(long pk,
long userPK)
Removes the association between the group and the user.
|
void |
removeUser(long pk,
com.liferay.portal.kernel.model.User user)
Removes the association between the group and the user.
|
void |
removeUserGroup(long pk,
long userGroupPK)
Removes the association between the group and the user group.
|
void |
removeUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
Removes the association between the group and the user group.
|
void |
removeUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Removes the association between the group and the user groups.
|
void |
removeUserGroups(long pk,
long[] userGroupPKs)
Removes the association between the group and the user groups.
|
void |
removeUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
Removes the association between the group and the users.
|
void |
removeUsers(long pk,
long[] userPKs)
Removes the association between the group and the users.
|
void |
setOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
Sets the organizations associated with the group, removing and adding associations as necessary.
|
void |
setOrganizations(long pk,
long[] organizationPKs)
Sets the organizations associated with the group, removing and adding associations as necessary.
|
void |
setRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
Sets the roles associated with the group, removing and adding associations as necessary.
|
void |
setRoles(long pk,
long[] rolePKs)
Sets the roles associated with the group, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
Sets the user groups associated with the group, removing and adding associations as necessary.
|
void |
setUserGroups(long pk,
long[] userGroupPKs)
Sets the user groups associated with the group, removing and adding associations as necessary.
|
void |
setUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
Sets the users associated with the group, removing and adding associations as necessary.
|
void |
setUsers(long pk,
long[] userPKs)
Sets the users associated with the group, removing and adding associations as necessary.
|
com.liferay.portal.kernel.model.Group |
updateImpl(com.liferay.portal.kernel.model.Group group) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final String FINDER_CLASS_NAME_ENTITY
GroupUtil to access the group persistence. Modify service.xml and rerun ServiceBuilder to regenerate this class.public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
@BeanReference(type=com.liferay.portal.kernel.service.persistence.OrganizationPersistence.class) protected com.liferay.portal.kernel.service.persistence.OrganizationPersistence organizationPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Organization> groupToOrganizationTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.RolePersistence.class) protected com.liferay.portal.kernel.service.persistence.RolePersistence rolePersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.Role> groupToRoleTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserGroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserGroupPersistence userGroupPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.UserGroup> groupToUserGroupTableMapper
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Group,com.liferay.portal.kernel.model.User> groupToUserTableMapper
public List<com.liferay.portal.kernel.model.Group> findByUuid(String uuid)
findByUuid in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidpublic List<com.liferay.portal.kernel.model.Group> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByUuid in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByUuid_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByUuid(String uuid)
removeByUuid in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidpublic com.liferay.portal.kernel.model.Group findByUUID_G(String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByUUID_G in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.fetchByUUID_G in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDnull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByUUID_G(String uuid,
long groupId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByUUID_G in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDuseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group removeByUUID_G(String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
removeByUUID_G in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDcom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidgroupId - the group IDpublic List<com.liferay.portal.kernel.model.Group> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Group> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByUuid_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDpublic int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceuuid - the uuidcompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Group> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDpublic List<com.liferay.portal.kernel.model.Group> findByCompanyId(long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByCompanyId in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByCompanyId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDpublic com.liferay.portal.kernel.model.Group findByLiveGroupId(long liveGroupId)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByLiveGroupId in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceliveGroupId - the live group IDcom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByLiveGroupId(long liveGroupId)
null if it could not be found. Uses the finder cache.fetchByLiveGroupId in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceliveGroupId - the live group IDnull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByLiveGroupId(long liveGroupId,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByLiveGroupId in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceliveGroupId - the live group IDuseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group removeByLiveGroupId(long liveGroupId)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
removeByLiveGroupId in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceliveGroupId - the live group IDcom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByLiveGroupId(long liveGroupId)
countByLiveGroupId in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceliveGroupId - the live group IDpublic List<com.liferay.portal.kernel.model.Group> findByC_C(long companyId,
long classNameId)
findByC_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDpublic List<com.liferay.portal.kernel.model.Group> findByC_C(long companyId,
long classNameId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_C_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_C_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_C_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_C_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDclassNameId - the class name IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_C(long companyId,
long classNameId)
removeByC_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDpublic int countByC_C(long companyId,
long classNameId)
countByC_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDpublic List<com.liferay.portal.kernel.model.Group> findByC_P(long companyId,
long parentGroupId)
findByC_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDpublic List<com.liferay.portal.kernel.model.Group> findByC_P(long companyId,
long parentGroupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_P(long companyId,
long parentGroupId)
removeByC_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDpublic int countByC_P(long companyId,
long parentGroupId)
countByC_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDpublic com.liferay.portal.kernel.model.Group findByC_GK(long companyId,
String groupKey)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByC_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDgroupKey - the group keycom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_GK(long companyId,
String groupKey)
null if it could not be found. Uses the finder cache.fetchByC_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDgroupKey - the group keynull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_GK(long companyId,
String groupKey,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDgroupKey - the group keyuseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group removeByC_GK(long companyId,
String groupKey)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
removeByC_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDgroupKey - the group keycom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByC_GK(long companyId,
String groupKey)
countByC_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDgroupKey - the group keypublic com.liferay.portal.kernel.model.Group findByC_F(long companyId,
String friendlyURL)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByC_F in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly urlcom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_F(long companyId,
String friendlyURL)
null if it could not be found. Uses the finder cache.fetchByC_F in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly urlnull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_F(long companyId,
String friendlyURL,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_F in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly urluseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group removeByC_F(long companyId,
String friendlyURL)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
removeByC_F in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly urlcom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByC_F(long companyId,
String friendlyURL)
countByC_F in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDfriendlyURL - the friendly urlpublic List<com.liferay.portal.kernel.model.Group> findByC_S(long companyId,
boolean site)
findByC_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_S(long companyId,
boolean site,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_S(long companyId,
boolean site)
removeByC_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitepublic int countByC_S(long companyId,
boolean site)
countByC_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_A(long companyId,
boolean active)
findByC_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activepublic List<com.liferay.portal.kernel.model.Group> findByC_A(long companyId,
boolean active,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_A_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_A_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_A_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_A_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_A(long companyId,
boolean active)
removeByC_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activepublic int countByC_A(long companyId,
boolean active)
countByC_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDactive - the activepublic List<com.liferay.portal.kernel.model.Group> findByC_CPK(long classNameId,
long classPK)
findByC_CPK in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkpublic List<com.liferay.portal.kernel.model.Group> findByC_CPK(long classNameId,
long classPK,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_CPK in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_CPK in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_CPK in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_CPK_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_CPK_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_CPK_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_CPK_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_CPK_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_CPK(long classNameId,
long classPK)
removeByC_CPK in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkpublic int countByC_CPK(long classNameId,
long classPK)
countByC_CPK in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceclassNameId - the class name IDclassPK - the class pkpublic List<com.liferay.portal.kernel.model.Group> findByT_A(int type,
boolean active)
findByT_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activepublic List<com.liferay.portal.kernel.model.Group> findByT_A(int type,
boolean active,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByT_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByT_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByT_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByT_A_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByT_A_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByT_A_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByT_A_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByT_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current grouptype - the typeactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByT_A(int type,
boolean active)
removeByT_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activepublic int countByT_A(int type,
boolean active)
countByT_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencetype - the typeactive - the activepublic List<com.liferay.portal.kernel.model.Group> findByG_C_P(long groupId,
long companyId,
long parentGroupId)
findByG_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDpublic List<com.liferay.portal.kernel.model.Group> findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)public List<com.liferay.portal.kernel.model.Group> findByG_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public List<com.liferay.portal.kernel.model.Group> findByG_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Group findByG_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
findByG_C_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByG_C_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group findByG_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
findByG_C_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByG_C_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic void removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
removeByG_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDpublic int countByG_C_P(long groupId,
long companyId,
long parentGroupId)
countByG_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDpublic com.liferay.portal.kernel.model.Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByC_C_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class pkcom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
null if it could not be found. Uses the finder cache.fetchByC_C_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class pknull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_C_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class pkuseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
removeByC_C_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class pkcom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByC_C_C(long companyId,
long classNameId,
long classPK)
countByC_C_C in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDclassPK - the class pkpublic List<com.liferay.portal.kernel.model.Group> findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
findByC_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDpublic List<com.liferay.portal.kernel.model.Group> findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_C_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_C_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_C_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_C_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_C_P_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
removeByC_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDpublic int countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
countByC_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDpublic List<com.liferay.portal.kernel.model.Group> findByC_P_S(long companyId,
long parentGroupId,
boolean site)
findByC_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_P_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
removeByC_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitepublic int countByC_P_S(long companyId,
long parentGroupId,
boolean site)
countByC_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the sitepublic com.liferay.portal.kernel.model.Group findByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByC_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group keycom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
null if it could not be found. Uses the finder cache.fetchByC_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group keynull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_L_GK(long companyId,
long liveGroupId,
String groupKey,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group keyuseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group removeByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
removeByC_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group keycom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByC_L_GK(long companyId,
long liveGroupId,
String groupKey)
countByC_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDliveGroupId - the live group IDgroupKey - the group keypublic List<com.liferay.portal.kernel.model.Group> findByC_T_S(long companyId,
String treePath,
boolean site)
findByC_T_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_T_S(long companyId,
String treePath,
boolean site,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_T_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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)public List<com.liferay.portal.kernel.model.Group> findByC_T_S(long companyId,
String treePath,
boolean site,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_T_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)public List<com.liferay.portal.kernel.model.Group> findByC_T_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_T_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Group findByC_T_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
findByC_T_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_T_S_First(long companyId,
String treePath,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByC_T_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group findByC_T_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
findByC_T_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_T_S_Last(long companyId,
String treePath,
boolean site,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator)
fetchByC_T_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group[] findByC_T_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
findByC_T_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDtreePath - the tree pathsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected com.liferay.portal.kernel.model.Group getByC_T_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)
public void removeByC_T_S(long companyId,
String treePath,
boolean site)
removeByC_T_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the sitepublic int countByC_T_S(long companyId,
String treePath,
boolean site)
countByC_T_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDtreePath - the tree pathsite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_LikeN_S(long companyId,
String name,
boolean site)
findByC_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_LikeN_S(long companyId,
String name,
boolean site,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_LikeN_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_LikeN_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_LikeN_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_LikeN_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_LikeN_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_LikeN_S(long companyId,
String name,
boolean site)
removeByC_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the sitepublic int countByC_LikeN_S(long companyId,
String name,
boolean site)
countByC_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDname - the namesite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_S_A(long companyId,
boolean site,
boolean active)
findByC_S_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activepublic List<com.liferay.portal.kernel.model.Group> findByC_S_A(long companyId,
boolean site,
boolean active,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_S_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_S_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_S_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_S_A_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_S_A_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_S_A_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_S_A_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_S_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the current groupcompanyId - the company IDsite - the siteactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_S_A(long companyId,
boolean site,
boolean active)
removeByC_S_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activepublic int countByC_S_A(long companyId,
boolean site,
boolean active)
countByC_S_A in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDsite - the siteactive - the activepublic List<com.liferay.portal.kernel.model.Group> findByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId)
findByG_C_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDpublic List<com.liferay.portal.kernel.model.Group> findByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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)public List<com.liferay.portal.kernel.model.Group> findByG_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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 (optionally null)public List<com.liferay.portal.kernel.model.Group> findByG_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Group findByG_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
findByG_C_C_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByG_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)
fetchByG_C_C_P_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group findByG_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
findByG_C_C_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByG_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)
fetchByG_C_C_P_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic void removeByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId)
removeByG_C_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDpublic int countByG_C_C_P(long groupId,
long companyId,
long classNameId,
long parentGroupId)
countByG_C_C_P in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDclassNameId - the class name IDparentGroupId - the parent group IDpublic List<com.liferay.portal.kernel.model.Group> findByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site)
findByG_C_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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)public List<com.liferay.portal.kernel.model.Group> findByG_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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 (optionally null)public List<com.liferay.portal.kernel.model.Group> findByG_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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByG_C_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic com.liferay.portal.kernel.model.Group findByG_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
findByG_C_P_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByG_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)
fetchByG_C_P_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group findByG_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
findByG_C_P_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByG_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)
fetchByG_C_P_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic void removeByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site)
removeByG_C_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the sitepublic int countByG_C_P_S(long groupId,
long companyId,
long parentGroupId,
boolean site)
countByG_C_P_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the group IDcompanyId - the company IDparentGroupId - the parent group IDsite - the sitepublic 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
NoSuchGroupException if it could not be found.findByC_C_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group keycom.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
null if it could not be found. Uses the finder cache.fetchByC_C_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group keynull if a matching group could not be foundpublic com.liferay.portal.kernel.model.Group fetchByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey,
boolean useFinderCache)
null if it could not be found, optionally using the finder cache.fetchByC_C_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group keyuseFinderCache - whether to use the finder cachenull if a matching group could not be foundpublic 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
removeByC_C_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group keycom.liferay.portal.kernel.exception.NoSuchGroupExceptionpublic int countByC_C_L_GK(long companyId,
long classNameId,
long liveGroupId,
String groupKey)
countByC_C_L_GK in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDclassNameId - the class name IDliveGroupId - the live group IDgroupKey - the group keypublic List<com.liferay.portal.kernel.model.Group> findByC_P_LikeN_S(long companyId,
long parentGroupId,
String name,
boolean site)
findByC_P_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_P_LikeN_S(long companyId,
long parentGroupId,
String name,
boolean site,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_P_LikeN_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_LikeN_S_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_LikeN_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_LikeN_S_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the siteorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_LikeN_S_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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 (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_P_LikeN_S(long companyId,
long parentGroupId,
String name,
boolean site)
removeByC_P_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the sitepublic int countByC_P_LikeN_S(long companyId,
long parentGroupId,
String name,
boolean site)
countByC_P_LikeN_S in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDname - the namesite - the sitepublic List<com.liferay.portal.kernel.model.Group> findByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
findByC_P_S_I in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentpublic List<com.liferay.portal.kernel.model.Group> findByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_S_I in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_S_I in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findByC_P_S_I in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - 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 (optionally null)useFinderCache - whether to use the finder cachepublic 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
findByC_P_S_I_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_S_I_First in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_S_I_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a matching group could not be foundpublic 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)
fetchByC_P_S_I_Last in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentorderByComparator - the comparator to order the set by (optionally null)null if a matching group could not be foundpublic 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
findByC_P_S_I_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - 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 (optionally null)com.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected 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)
public void removeByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
removeByC_P_S_I in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentpublic int countByC_P_S_I(long companyId,
long parentGroupId,
boolean site,
boolean inheritContent)
countByC_P_S_I in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecompanyId - the company IDparentGroupId - the parent group IDsite - the siteinheritContent - the inherit contentpublic void cacheResult(com.liferay.portal.kernel.model.Group group)
cacheResult in interface com.liferay.portal.kernel.service.persistence.GroupPersistencecacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>group - the grouppublic void cacheResult(List<com.liferay.portal.kernel.model.Group> groups)
cacheResult in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroups - the groupspublic void clearCache()
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>public void clearCache(com.liferay.portal.kernel.model.Group group)
The EntityCache and com.liferay.portal.kernel.dao.orm.FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>public void clearCache(List<com.liferay.portal.kernel.model.Group> groups)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>protected void cacheUniqueFindersCache(GroupModelImpl groupModelImpl)
protected void clearUniqueFindersCache(GroupModelImpl groupModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.Group create(long groupId)
create in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key for the new grouppublic com.liferay.portal.kernel.model.Group remove(long groupId)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
remove in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the groupcom.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundpublic com.liferay.portal.kernel.model.Group remove(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>primaryKey - the primary key of the groupcom.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundprotected com.liferay.portal.kernel.model.Group removeImpl(com.liferay.portal.kernel.model.Group group)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>public com.liferay.portal.kernel.model.Group updateImpl(com.liferay.portal.kernel.model.Group group)
updateImpl in interface com.liferay.portal.kernel.service.persistence.GroupPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>public com.liferay.portal.kernel.model.Group findByPrimaryKey(Serializable primaryKey)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>primaryKey - the primary key of the groupcom.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundpublic com.liferay.portal.kernel.model.Group findByPrimaryKey(long groupId)
throws com.liferay.portal.kernel.exception.NoSuchGroupException
NoSuchGroupException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the groupcom.liferay.portal.kernel.exception.NoSuchGroupException - if a group with the primary key could not be foundpublic com.liferay.portal.kernel.model.Group fetchByPrimaryKey(long groupId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.GroupPersistencegroupId - the primary key of the groupnull if a group with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.Group> findAll()
findAll in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepublic List<com.liferay.portal.kernel.model.Group> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.GroupPersistencestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.GroupPersistencestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
findAll in interface com.liferay.portal.kernel.service.persistence.GroupPersistencestart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepublic int countAll()
countAll in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepublic long[] getOrganizationPrimaryKeys(long pk)
getOrganizationPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.Organization> getOrganizations(long pk)
getOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.Organization> getOrganizations(long pk,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getOrganizationsSize(long pk)
getOrganizationsSize in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic boolean containsOrganization(long pk,
long organizationPK)
true if the organization is associated with the group.containsOrganization in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organizationtrue if the organization is associated with the group; false otherwisepublic boolean containsOrganizations(long pk)
true if the group has any organizations associated with it.containsOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with organizationstrue if the group has any organizations associated with it; false otherwisepublic void addOrganization(long pk,
long organizationPK)
addOrganization in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organizationpublic void addOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
addOrganization in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganization - the organizationpublic void addOrganizations(long pk,
long[] organizationPKs)
addOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizationspublic void addOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
addOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizations - the organizationspublic void clearOrganizations(long pk)
clearOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated organizations frompublic void removeOrganization(long pk,
long organizationPK)
removeOrganization in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPK - the primary key of the organizationpublic void removeOrganization(long pk,
com.liferay.portal.kernel.model.Organization organization)
removeOrganization in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganization - the organizationpublic void removeOrganizations(long pk,
long[] organizationPKs)
removeOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizationspublic void removeOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
removeOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizations - the organizationspublic void setOrganizations(long pk,
long[] organizationPKs)
setOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizationPKs - the primary keys of the organizations to be associated with the grouppublic void setOrganizations(long pk,
List<com.liferay.portal.kernel.model.Organization> organizations)
setOrganizations in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouporganizations - the organizations to be associated with the grouppublic long[] getRolePrimaryKeys(long pk)
getRolePrimaryKeys in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.Role> getRoles(long pk)
getRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.Role> getRoles(long pk,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getRolesSize(long pk)
getRolesSize in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic boolean containsRole(long pk,
long rolePK)
true if the role is associated with the group.containsRole in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprolePK - the primary key of the roletrue if the role is associated with the group; false otherwisepublic boolean containsRoles(long pk)
true if the group has any roles associated with it.containsRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with rolestrue if the group has any roles associated with it; false otherwisepublic void addRole(long pk,
long rolePK)
addRole in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprolePK - the primary key of the rolepublic void addRole(long pk,
com.liferay.portal.kernel.model.Role role)
addRole in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprole - the rolepublic void addRoles(long pk,
long[] rolePKs)
addRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the rolespublic void addRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
addRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouproles - the rolespublic void clearRoles(long pk)
clearRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated roles frompublic void removeRole(long pk,
long rolePK)
removeRole in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprolePK - the primary key of the rolepublic void removeRole(long pk,
com.liferay.portal.kernel.model.Role role)
removeRole in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprole - the rolepublic void removeRoles(long pk,
long[] rolePKs)
removeRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the rolespublic void removeRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
removeRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouproles - the rolespublic void setRoles(long pk,
long[] rolePKs)
setRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouprolePKs - the primary keys of the roles to be associated with the grouppublic void setRoles(long pk,
List<com.liferay.portal.kernel.model.Role> roles)
setRoles in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouproles - the roles to be associated with the grouppublic long[] getUserGroupPrimaryKeys(long pk)
getUserGroupPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk)
getUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.UserGroup> getUserGroups(long pk,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getUserGroupsSize(long pk)
getUserGroupsSize in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic boolean containsUserGroup(long pk,
long userGroupPK)
true if the user group is associated with the group.containsUserGroup in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user grouptrue if the user group is associated with the group; false otherwisepublic boolean containsUserGroups(long pk)
true if the group has any user groups associated with it.containsUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with user groupstrue if the group has any user groups associated with it; false otherwisepublic void addUserGroup(long pk,
long userGroupPK)
addUserGroup in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user grouppublic void addUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
addUserGroup in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroup - the user grouppublic void addUserGroups(long pk,
long[] userGroupPKs)
addUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groupspublic void addUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
addUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroups - the user groupspublic void clearUserGroups(long pk)
clearUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated user groups frompublic void removeUserGroup(long pk,
long userGroupPK)
removeUserGroup in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPK - the primary key of the user grouppublic void removeUserGroup(long pk,
com.liferay.portal.kernel.model.UserGroup userGroup)
removeUserGroup in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroup - the user grouppublic void removeUserGroups(long pk,
long[] userGroupPKs)
removeUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groupspublic void removeUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
removeUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroups - the user groupspublic void setUserGroups(long pk,
long[] userGroupPKs)
setUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroupPKs - the primary keys of the user groups to be associated with the grouppublic void setUserGroups(long pk,
List<com.liferay.portal.kernel.model.UserGroup> userGroups)
setUserGroups in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserGroups - the user groups to be associated with the grouppublic long[] getUserPrimaryKeys(long pk)
getUserPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.User> getUsers(long pk)
getUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic List<com.liferay.portal.kernel.model.User> getUsers(long pk,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)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)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from GroupModelImpl.
getUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupstart - the lower bound of the range of groupsend - the upper bound of the range of groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public int getUsersSize(long pk)
getUsersSize in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the grouppublic boolean containsUser(long pk,
long userPK)
true if the user is associated with the group.containsUser in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserPK - the primary key of the usertrue if the user is associated with the group; false otherwisepublic boolean containsUsers(long pk)
true if the group has any users associated with it.containsUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to check for associations with userstrue if the group has any users associated with it; false otherwisepublic void addUser(long pk,
long userPK)
addUser in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserPK - the primary key of the userpublic void addUser(long pk,
com.liferay.portal.kernel.model.User user)
addUser in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuser - the userpublic void addUsers(long pk,
long[] userPKs)
addUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the userspublic void addUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
addUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupusers - the userspublic void clearUsers(long pk)
clearUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the group to clear the associated users frompublic void removeUser(long pk,
long userPK)
removeUser in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserPK - the primary key of the userpublic void removeUser(long pk,
com.liferay.portal.kernel.model.User user)
removeUser in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuser - the userpublic void removeUsers(long pk,
long[] userPKs)
removeUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the userspublic void removeUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
removeUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupusers - the userspublic void setUsers(long pk,
long[] userPKs)
setUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupuserPKs - the primary keys of the users to be associated with the grouppublic void setUsers(long pk,
List<com.liferay.portal.kernel.model.User> users)
setUsers in interface com.liferay.portal.kernel.service.persistence.GroupPersistencepk - the primary key of the groupusers - the users to be associated with the grouppublic Set<String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Group>getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>protected String getPKDBName()
getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>protected String getSelectSQL()
getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Group>public void afterPropertiesSet()
public void destroy()