|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface GroupPersistence
The persistence interface for the group service.
Caching information and settings can be found in portal.properties
GroupPersistenceImpl
,
GroupUtil
Method Summary | |
---|---|
void |
addOrganization(long pk,
long organizationPK)
Adds an association between the group and the organization. |
void |
addOrganization(long pk,
Organization organization)
Adds an association between the group and the organization. |
void |
addOrganizations(long pk,
List<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,
Role role)
Adds an association between the group and the role. |
void |
addRoles(long pk,
List<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,
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,
UserGroup userGroup)
Adds an association between the group and the user group. |
void |
addUserGroups(long pk,
List<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<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 |
cacheResult(Group group)
Caches the group in the entity cache if it is enabled. |
void |
cacheResult(List<Group> groups)
Caches the groups in the entity cache if it is enabled. |
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. |
void |
clearUserGroups(long pk)
Clears all associations between the group and its user groups. |
void |
clearUsers(long pk)
Clears all associations between the group and its users. |
boolean |
containsOrganization(long pk,
long organizationPK)
Returns true if the organization is associated with the group. |
boolean |
containsOrganizations(long pk)
Returns true if the group has any organizations associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Returns true if the role is associated with the group. |
boolean |
containsRoles(long pk)
Returns true if the group has any roles associated with it. |
boolean |
containsUser(long pk,
long userPK)
Returns true if the user is associated with the group. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Returns true if the user group is associated with the group. |
boolean |
containsUserGroups(long pk)
Returns true if the group has any user groups associated with it. |
boolean |
containsUsers(long pk)
Returns true if the group has any users associated with it. |
int |
countAll()
Returns the number of groups. |
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Returns the number of groups where companyId = ? and classNameId = ? and classPK = ?. |
int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Returns the number of groups where companyId = ? and classNameId = ? and liveGroupId = ? and name = ?. |
int |
countByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns the number of groups where companyId = ? and classNameId = ? and parentGroupId = ?. |
int |
countByC_C(long companyId,
long classNameId)
Returns the number of groups where companyId = ? and classNameId = ?. |
int |
countByC_F(long companyId,
String friendlyURL)
Returns the number of groups where companyId = ? and friendlyURL = ?. |
int |
countByC_L_N(long companyId,
long liveGroupId,
String name)
Returns the number of groups where companyId = ? and liveGroupId = ? and name = ?. |
int |
countByC_N(long companyId,
String name)
Returns the number of groups where companyId = ? and name = ?. |
int |
countByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns the number of groups where companyId = ? and parentGroupId = ? and site = ?. |
int |
countByC_P(long companyId,
long parentGroupId)
Returns the number of groups where companyId = ? and parentGroupId = ?. |
int |
countByC_S(long companyId,
boolean site)
Returns the number of groups where companyId = ? and site = ?. |
int |
countByCompanyId(long companyId)
Returns the number of groups where companyId = ?. |
int |
countByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns the number of groups where groupId > ? and companyId = ? and parentGroupId = ?. |
int |
countByLiveGroupId(long liveGroupId)
Returns the number of groups where liveGroupId = ?. |
int |
countByT_A(int type,
boolean active)
Returns the number of groups where type = ? and active = ?. |
int |
countByUuid_C(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 = ?. |
Group |
create(long groupId)
Creates a new group with the primary key. |
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. |
Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
Returns the group where companyId = ? and classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_C_First(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?. |
Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name,
boolean retrieveFromCache)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_C_Last(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?. |
Group |
fetchByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?. |
Group |
fetchByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?. |
Group |
fetchByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found. |
Group |
fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
Returns the group where companyId = ? and friendlyURL = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_L_N(long companyId,
long liveGroupId,
String name)
Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_L_N(long companyId,
long liveGroupId,
String name,
boolean retrieveFromCache)
Returns the group where companyId = ? and liveGroupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_N(long companyId,
String name)
Returns the group where companyId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
Returns the group where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByC_P_First(long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?. |
Group |
fetchByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?. |
Group |
fetchByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?. |
Group |
fetchByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?. |
Group |
fetchByC_S_First(long companyId,
boolean site,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?. |
Group |
fetchByC_S_Last(long companyId,
boolean site,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?. |
Group |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ?. |
Group |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ?. |
Group |
fetchByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?. |
Group |
fetchByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?. |
Group |
fetchByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or returns null if it could not be found. |
Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
Returns the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByPrimaryKey(long groupId)
Returns the group with the primary key or returns null if it could not be found. |
Group |
fetchByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?. |
Group |
fetchByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?. |
Group |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?. |
Group |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?. |
Group |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ?. |
Group |
fetchByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or returns null if it could not be found. |
Group |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the group where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ?. |
List<Group> |
findAll()
Returns all the groups. |
List<Group> |
findAll(int start,
int end)
Returns a range of all the groups. |
List<Group> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups. |
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. |
Group |
findByC_C_First(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ?. |
Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Returns the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_C_Last(long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ?. |
Group |
findByC_C_P_First(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?. |
Group |
findByC_C_P_Last(long companyId,
long classNameId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?. |
Group[] |
findByC_C_P_PrevAndNext(long groupId,
long companyId,
long classNameId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ? and parentGroupId = ?. |
List<Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Returns all the groups where companyId = ? and classNameId = ? and parentGroupId = ?. |
List<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<Group> |
findByC_C_P(long companyId,
long classNameId,
long parentGroupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and classNameId = ? and parentGroupId = ?. |
Group[] |
findByC_C_PrevAndNext(long groupId,
long companyId,
long classNameId,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and classNameId = ?. |
List<Group> |
findByC_C(long companyId,
long classNameId)
Returns all the groups where companyId = ? and classNameId = ?. |
List<Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end)
Returns a range of all the groups where companyId = ? and classNameId = ?. |
List<Group> |
findByC_C(long companyId,
long classNameId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and classNameId = ?. |
Group |
findByC_F(long companyId,
String friendlyURL)
Returns the group where companyId = ? and friendlyURL = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_L_N(long companyId,
long liveGroupId,
String name)
Returns the group where companyId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_N(long companyId,
String name)
Returns the group where companyId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_P_First(long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ?. |
Group |
findByC_P_Last(long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ?. |
Group[] |
findByC_P_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ?. |
Group |
findByC_P_S_First(long companyId,
long parentGroupId,
boolean site,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and parentGroupId = ? and site = ?. |
Group |
findByC_P_S_Last(long companyId,
long parentGroupId,
boolean site,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and parentGroupId = ? and site = ?. |
Group[] |
findByC_P_S_PrevAndNext(long groupId,
long companyId,
long parentGroupId,
boolean site,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and parentGroupId = ? and site = ?. |
List<Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site)
Returns all the groups where companyId = ? and parentGroupId = ? and site = ?. |
List<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<Group> |
findByC_P_S(long companyId,
long parentGroupId,
boolean site,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ? and site = ?. |
List<Group> |
findByC_P(long companyId,
long parentGroupId)
Returns all the groups where companyId = ? and parentGroupId = ?. |
List<Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end)
Returns a range of all the groups where companyId = ? and parentGroupId = ?. |
List<Group> |
findByC_P(long companyId,
long parentGroupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and parentGroupId = ?. |
Group |
findByC_S_First(long companyId,
boolean site,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ? and site = ?. |
Group |
findByC_S_Last(long companyId,
boolean site,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ? and site = ?. |
Group[] |
findByC_S_PrevAndNext(long groupId,
long companyId,
boolean site,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ? and site = ?. |
List<Group> |
findByC_S(long companyId,
boolean site)
Returns all the groups where companyId = ? and site = ?. |
List<Group> |
findByC_S(long companyId,
boolean site,
int start,
int end)
Returns a range of all the groups where companyId = ? and site = ?. |
List<Group> |
findByC_S(long companyId,
boolean site,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ? and site = ?. |
Group |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where companyId = ?. |
Group |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where companyId = ?. |
Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where companyId = ?. |
List<Group> |
findByCompanyId(long companyId)
Returns all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where companyId = ?. |
Group |
findByG_C_P_First(long groupId,
long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?. |
Group |
findByG_C_P_Last(long groupId,
long companyId,
long parentGroupId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where groupId > ? and companyId = ? and parentGroupId = ?. |
List<Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId)
Returns all the groups where groupId > ? and companyId = ? and parentGroupId = ?. |
List<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<Group> |
findByG_C_P(long groupId,
long companyId,
long parentGroupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where groupId > ? and companyId = ? and parentGroupId = ?. |
Group |
findByLiveGroupId(long liveGroupId)
Returns the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByPrimaryKey(long groupId)
Returns the group with the primary key or throws a NoSuchGroupException if it could not be found. |
Group |
findByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where type = ? and active = ?. |
Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where type = ? and active = ?. |
Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active)
Returns all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
Returns a range of all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where type = ? and active = ?. |
Group |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ? and companyId = ?. |
Group |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ? and companyId = ?. |
Group[] |
findByUuid_C_PrevAndNext(long groupId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where uuid = ? and companyId = ?. |
List<Group> |
findByUuid_C(String uuid,
long companyId)
Returns all the groups where uuid = ? and companyId = ?. |
List<Group> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the groups where uuid = ? and companyId = ?. |
List<Group> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where uuid = ? and companyId = ?. |
Group |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first group in the ordered set where uuid = ?. |
Group |
findByUUID_G(String uuid,
long groupId)
Returns the group where uuid = ? and groupId = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last group in the ordered set where uuid = ?. |
Group[] |
findByUuid_PrevAndNext(long groupId,
String uuid,
OrderByComparator orderByComparator)
Returns the groups before and after the current group in the ordered set where uuid = ?. |
List<Group> |
findByUuid(String uuid)
Returns all the groups where uuid = ?. |
List<Group> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the groups where uuid = ?. |
List<Group> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the groups where uuid = ?. |
List<Organization> |
getOrganizations(long pk)
Returns all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end)
Returns a range of all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the organizations associated with the group. |
int |
getOrganizationsSize(long pk)
Returns the number of organizations associated with the group. |
List<Role> |
getRoles(long pk)
Returns all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end)
Returns a range of all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the roles associated with the group. |
int |
getRolesSize(long pk)
Returns the number of roles associated with the group. |
List<UserGroup> |
getUserGroups(long pk)
Returns all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
Returns a range of all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the user groups associated with the group. |
int |
getUserGroupsSize(long pk)
Returns the number of user groups associated with the group. |
List<User> |
getUsers(long pk)
Returns all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end)
Returns a range of all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the users associated with the group. |
int |
getUsersSize(long pk)
Returns the number of users associated with the group. |
Group |
remove(long groupId)
Removes the group with the primary key from the database. |
void |
removeAll()
Removes all the groups from the database. |
Group |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database. |
Group |
removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Removes the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? from the database. |
void |
removeByC_C_P(long companyId,
long classNameId,
long parentGroupId)
Removes all the groups where companyId = ? and classNameId = ? and parentGroupId = ? from the database. |
void |
removeByC_C(long companyId,
long classNameId)
Removes all the groups where companyId = ? and classNameId = ? from the database. |
Group |
removeByC_F(long companyId,
String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database. |
Group |
removeByC_L_N(long companyId,
long liveGroupId,
String name)
Removes the group where companyId = ? and liveGroupId = ? and name = ? from the database. |
Group |
removeByC_N(long companyId,
String name)
Removes the group where companyId = ? and name = ? from the database. |
void |
removeByC_P_S(long companyId,
long parentGroupId,
boolean site)
Removes all the groups where companyId = ? and parentGroupId = ? and site = ? from the database. |
void |
removeByC_P(long companyId,
long parentGroupId)
Removes all the groups where companyId = ? and parentGroupId = ? from the database. |
void |
removeByC_S(long companyId,
boolean site)
Removes all the groups where companyId = ? and site = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the groups where companyId = ? from the database. |
void |
removeByG_C_P(long groupId,
long companyId,
long parentGroupId)
Removes all the groups where groupId > ? and companyId = ? and parentGroupId = ? from the database. |
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. |
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. |
void |
removeOrganization(long pk,
long organizationPK)
Removes the association between the group and the organization. |
void |
removeOrganization(long pk,
Organization organization)
Removes the association between the group and the organization. |
void |
removeOrganizations(long pk,
List<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,
Role role)
Removes the association between the group and the role. |
void |
removeRoles(long pk,
List<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,
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,
UserGroup userGroup)
Removes the association between the group and the user group. |
void |
removeUserGroups(long pk,
List<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<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<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<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<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<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. |
Group |
updateImpl(Group group)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update |
Method Detail |
---|
List<Group> findByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredList<Group> findByUuid(String uuid, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByUuid_PrevAndNext(long groupId, String uuid, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredint countByUuid(String uuid) throws SystemException
uuid
- the uuid
SystemException
- if a system exception occurredGroup findByUUID_G(String uuid, long groupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
uuid
- the uuidgroupId
- the group ID
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
uuid
- the uuidgroupId
- the group ID
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
uuid
- the uuidgroupId
- the group IDretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByUUID_G(String uuid, long groupId) throws NoSuchGroupException, SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchGroupException
int countByUUID_G(String uuid, long groupId) throws SystemException
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredList<Group> findByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredList<Group> findByUuid_C(String uuid, long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByUuid_C_PrevAndNext(long groupId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredint countByUuid_C(String uuid, long companyId) throws SystemException
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredList<Group> findByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredList<Group> findByCompanyId(long companyId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByCompanyId_PrevAndNext(long groupId, long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredint countByCompanyId(long companyId) throws SystemException
companyId
- the company ID
SystemException
- if a system exception occurredGroup findByLiveGroupId(long liveGroupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
liveGroupId
- the live group ID
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByLiveGroupId(long liveGroupId) throws SystemException
null
if it could not be found. Uses the finder cache.
liveGroupId
- the live group ID
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByLiveGroupId(long liveGroupId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
liveGroupId
- the live group IDretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByLiveGroupId(long liveGroupId) throws NoSuchGroupException, SystemException
liveGroupId
- the live group ID
SystemException
- if a system exception occurred
NoSuchGroupException
int countByLiveGroupId(long liveGroupId) throws SystemException
liveGroupId
- the live group ID
SystemException
- if a system exception occurredList<Group> findByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredList<Group> findByC_C(long companyId, long classNameId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByC_C(long companyId, long classNameId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_First(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_Last(long companyId, long classNameId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByC_C_PrevAndNext(long groupId, long companyId, long classNameId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupcompanyId
- the company IDclassNameId
- the class name IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredint countByC_C(long companyId, long classNameId) throws SystemException
companyId
- the company IDclassNameId
- the class name ID
SystemException
- if a system exception occurredList<Group> findByC_P(long companyId, long parentGroupId) throws SystemException
companyId
- the company IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredList<Group> findByC_P(long companyId, long parentGroupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByC_P(long companyId, long parentGroupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByC_P_First(long companyId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_P_First(long companyId, long parentGroupId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByC_P_Last(long companyId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_P_Last(long companyId, long parentGroupId, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByC_P_PrevAndNext(long groupId, long companyId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByC_P(long companyId, long parentGroupId) throws SystemException
companyId
- the company IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredint countByC_P(long companyId, long parentGroupId) throws SystemException
companyId
- the company IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredGroup findByC_N(long companyId, String name) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
companyId
- the company IDname
- the name
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_N(long companyId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
companyId
- the company IDname
- the name
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_N(long companyId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
companyId
- the company IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByC_N(long companyId, String name) throws NoSuchGroupException, SystemException
companyId
- the company IDname
- the name
SystemException
- if a system exception occurred
NoSuchGroupException
int countByC_N(long companyId, String name) throws SystemException
companyId
- the company IDname
- the name
SystemException
- if a system exception occurredGroup findByC_F(long companyId, String friendlyURL) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
companyId
- the company IDfriendlyURL
- the friendly u r l
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_F(long companyId, String friendlyURL) throws SystemException
null
if it could not be found. Uses the finder cache.
companyId
- the company IDfriendlyURL
- the friendly u r l
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_F(long companyId, String friendlyURL, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
companyId
- the company IDfriendlyURL
- the friendly u r lretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByC_F(long companyId, String friendlyURL) throws NoSuchGroupException, SystemException
companyId
- the company IDfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurred
NoSuchGroupException
int countByC_F(long companyId, String friendlyURL) throws SystemException
companyId
- the company IDfriendlyURL
- the friendly u r l
SystemException
- if a system exception occurredList<Group> findByC_S(long companyId, boolean site) throws SystemException
companyId
- the company IDsite
- the site
SystemException
- if a system exception occurredList<Group> findByC_S(long companyId, boolean site, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByC_S(long companyId, boolean site, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByC_S_First(long companyId, boolean site, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_S_First(long companyId, boolean site, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByC_S_Last(long companyId, boolean site, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_S_Last(long companyId, boolean site, OrderByComparator orderByComparator) throws SystemException
companyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByC_S_PrevAndNext(long groupId, long companyId, boolean site, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupcompanyId
- the company IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByC_S(long companyId, boolean site) throws SystemException
companyId
- the company IDsite
- the site
SystemException
- if a system exception occurredint countByC_S(long companyId, boolean site) throws SystemException
companyId
- the company IDsite
- the site
SystemException
- if a system exception occurredList<Group> findByT_A(int type, boolean active) throws SystemException
type
- the typeactive
- the active
SystemException
- if a system exception occurredList<Group> findByT_A(int type, boolean active, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typeactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByT_A(int type, boolean active, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
type
- the typeactive
- the activestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByT_A_First(int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByT_A_First(int type, boolean active, OrderByComparator orderByComparator) throws SystemException
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup findByT_A_Last(int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByT_A_Last(int type, boolean active, OrderByComparator orderByComparator) throws SystemException
type
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup[] findByT_A_PrevAndNext(long groupId, int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current grouptype
- the typeactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByT_A(int type, boolean active) throws SystemException
type
- the typeactive
- the active
SystemException
- if a system exception occurredint countByT_A(int type, boolean active) throws SystemException
type
- the typeactive
- the active
SystemException
- if a system exception occurredList<Group> findByG_C_P(long groupId, long companyId, long parentGroupId) throws SystemException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredList<Group> findByG_C_P(long groupId, long companyId, long parentGroupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByG_C_P(long groupId, long companyId, long parentGroupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByG_C_P_First(long groupId, long companyId, long parentGroupId, OrderByComparator orderByComparator) throws SystemException
groupId
- 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 found
SystemException
- if a system exception occurredGroup findByG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByG_C_P_Last(long groupId, long companyId, long parentGroupId, OrderByComparator orderByComparator) throws SystemException
groupId
- 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 found
SystemException
- if a system exception occurredvoid removeByG_C_P(long groupId, long companyId, long parentGroupId) throws SystemException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredint countByG_C_P(long groupId, long companyId, long parentGroupId) throws SystemException
groupId
- the group IDcompanyId
- the company IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredGroup findByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class p k
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_C(long companyId, long classNameId, long classPK) throws SystemException
null
if it could not be found. Uses the finder cache.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class p k
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class p kretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException, SystemException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurred
NoSuchGroupException
int countByC_C_C(long companyId, long classNameId, long classPK) throws SystemException
companyId
- the company IDclassNameId
- the class name IDclassPK
- the class p k
SystemException
- if a system exception occurredList<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId) throws SystemException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredList<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByC_C_P(long companyId, long classNameId, long parentGroupId, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_P_First(long companyId, long classNameId, long parentGroupId, OrderByComparator orderByComparator) throws SystemException
companyId
- 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 found
SystemException
- if a system exception occurredGroup findByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_P_Last(long companyId, long classNameId, long parentGroupId, OrderByComparator orderByComparator) throws SystemException
companyId
- 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 found
SystemException
- if a system exception occurredGroup[] findByC_C_P_PrevAndNext(long groupId, long companyId, long classNameId, long parentGroupId, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- the primary key of the current groupcompanyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group IDorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByC_C_P(long companyId, long classNameId, long parentGroupId) throws SystemException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredint countByC_C_P(long companyId, long classNameId, long parentGroupId) throws SystemException
companyId
- the company IDclassNameId
- the class name IDparentGroupId
- the parent group ID
SystemException
- if a system exception occurredList<Group> findByC_P_S(long companyId, long parentGroupId, boolean site) throws SystemException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the site
SystemException
- if a system exception occurredList<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findByC_P_S(long companyId, long parentGroupId, boolean site, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDparentGroupId
- the parent group IDsite
- the sitestart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredGroup findByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_P_S_First(long companyId, long parentGroupId, boolean site, OrderByComparator orderByComparator) throws SystemException
companyId
- 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 found
SystemException
- if a system exception occurredGroup findByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the siteorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_P_S_Last(long companyId, long parentGroupId, boolean site, OrderByComparator orderByComparator) throws SystemException
companyId
- 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 found
SystemException
- if a system exception occurredGroup[] findByC_P_S_PrevAndNext(long groupId, long companyId, long parentGroupId, boolean site, OrderByComparator orderByComparator) throws NoSuchGroupException, SystemException
groupId
- 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
)
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredvoid removeByC_P_S(long companyId, long parentGroupId, boolean site) throws SystemException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the site
SystemException
- if a system exception occurredint countByC_P_S(long companyId, long parentGroupId, boolean site) throws SystemException
companyId
- the company IDparentGroupId
- the parent group IDsite
- the site
SystemException
- if a system exception occurredGroup findByC_L_N(long companyId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
companyId
- the company IDliveGroupId
- the live group IDname
- the name
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_L_N(long companyId, long liveGroupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
companyId
- the company IDliveGroupId
- the live group IDname
- the name
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_L_N(long companyId, long liveGroupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
companyId
- the company IDliveGroupId
- the live group IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByC_L_N(long companyId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
companyId
- the company IDliveGroupId
- the live group IDname
- the name
SystemException
- if a system exception occurred
NoSuchGroupException
int countByC_L_N(long companyId, long liveGroupId, String name) throws SystemException
companyId
- the company IDliveGroupId
- the live group IDname
- the name
SystemException
- if a system exception occurredGroup findByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDname
- the name
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDname
- the name
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDname
- the nameretrieveFromCache
- whether to use the finder cache
null
if a matching group could not be found
SystemException
- if a system exception occurredGroup removeByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDname
- the name
SystemException
- if a system exception occurred
NoSuchGroupException
int countByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws SystemException
companyId
- the company IDclassNameId
- the class name IDliveGroupId
- the live group IDname
- the name
SystemException
- if a system exception occurredvoid cacheResult(Group group)
group
- the groupvoid cacheResult(List<Group> groups)
groups
- the groupsGroup create(long groupId)
groupId
- the primary key for the new group
Group remove(long groupId) throws NoSuchGroupException, SystemException
groupId
- the primary key of the group
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredGroup updateImpl(Group group) throws SystemException
SystemException
Group findByPrimaryKey(long groupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
groupId
- the primary key of the group
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredGroup fetchByPrimaryKey(long groupId) throws SystemException
null
if it could not be found.
groupId
- the primary key of the group
null
if a group with the primary key could not be found
SystemException
- if a system exception occurredList<Group> findAll() throws SystemException
SystemException
- if a system exception occurredList<Group> findAll(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Group> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurredList<Organization> getOrganizations(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredList<Organization> getOrganizations(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Organization> getOrganizations(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredint getOrganizationsSize(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredboolean containsOrganization(long pk, long organizationPK) throws SystemException
true
if the organization is associated with the group.
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
true
if the organization is associated with the group; false
otherwise
SystemException
- if a system exception occurredboolean containsOrganizations(long pk) throws SystemException
true
if the group has any organizations associated with it.
pk
- the primary key of the group to check for associations with organizations
true
if the group has any organizations associated with it; false
otherwise
SystemException
- if a system exception occurredvoid addOrganization(long pk, long organizationPK) throws SystemException
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
SystemException
- if a system exception occurredvoid addOrganization(long pk, Organization organization) throws SystemException
pk
- the primary key of the grouporganization
- the organization
SystemException
- if a system exception occurredvoid addOrganizations(long pk, long[] organizationPKs) throws SystemException
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizations
SystemException
- if a system exception occurredvoid addOrganizations(long pk, List<Organization> organizations) throws SystemException
pk
- the primary key of the grouporganizations
- the organizations
SystemException
- if a system exception occurredvoid clearOrganizations(long pk) throws SystemException
pk
- the primary key of the group to clear the associated organizations from
SystemException
- if a system exception occurredvoid removeOrganization(long pk, long organizationPK) throws SystemException
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
SystemException
- if a system exception occurredvoid removeOrganization(long pk, Organization organization) throws SystemException
pk
- the primary key of the grouporganization
- the organization
SystemException
- if a system exception occurredvoid removeOrganizations(long pk, long[] organizationPKs) throws SystemException
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizations
SystemException
- if a system exception occurredvoid removeOrganizations(long pk, List<Organization> organizations) throws SystemException
pk
- the primary key of the grouporganizations
- the organizations
SystemException
- if a system exception occurredvoid setOrganizations(long pk, long[] organizationPKs) throws SystemException
pk
- the primary key of the grouporganizationPKs
- the primary keys of the organizations to be associated with the group
SystemException
- if a system exception occurredvoid setOrganizations(long pk, List<Organization> organizations) throws SystemException
pk
- the primary key of the grouporganizations
- the organizations to be associated with the group
SystemException
- if a system exception occurredList<Role> getRoles(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredList<Role> getRoles(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<Role> getRoles(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredint getRolesSize(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredboolean containsRole(long pk, long rolePK) throws SystemException
true
if the role is associated with the group.
pk
- the primary key of the grouprolePK
- the primary key of the role
true
if the role is associated with the group; false
otherwise
SystemException
- if a system exception occurredboolean containsRoles(long pk) throws SystemException
true
if the group has any roles associated with it.
pk
- the primary key of the group to check for associations with roles
true
if the group has any roles associated with it; false
otherwise
SystemException
- if a system exception occurredvoid addRole(long pk, long rolePK) throws SystemException
pk
- the primary key of the grouprolePK
- the primary key of the role
SystemException
- if a system exception occurredvoid addRole(long pk, Role role) throws SystemException
pk
- the primary key of the grouprole
- the role
SystemException
- if a system exception occurredvoid addRoles(long pk, long[] rolePKs) throws SystemException
pk
- the primary key of the grouprolePKs
- the primary keys of the roles
SystemException
- if a system exception occurredvoid addRoles(long pk, List<Role> roles) throws SystemException
pk
- the primary key of the grouproles
- the roles
SystemException
- if a system exception occurredvoid clearRoles(long pk) throws SystemException
pk
- the primary key of the group to clear the associated roles from
SystemException
- if a system exception occurredvoid removeRole(long pk, long rolePK) throws SystemException
pk
- the primary key of the grouprolePK
- the primary key of the role
SystemException
- if a system exception occurredvoid removeRole(long pk, Role role) throws SystemException
pk
- the primary key of the grouprole
- the role
SystemException
- if a system exception occurredvoid removeRoles(long pk, long[] rolePKs) throws SystemException
pk
- the primary key of the grouprolePKs
- the primary keys of the roles
SystemException
- if a system exception occurredvoid removeRoles(long pk, List<Role> roles) throws SystemException
pk
- the primary key of the grouproles
- the roles
SystemException
- if a system exception occurredvoid setRoles(long pk, long[] rolePKs) throws SystemException
pk
- the primary key of the grouprolePKs
- the primary keys of the roles to be associated with the group
SystemException
- if a system exception occurredvoid setRoles(long pk, List<Role> roles) throws SystemException
pk
- the primary key of the grouproles
- the roles to be associated with the group
SystemException
- if a system exception occurredList<UserGroup> getUserGroups(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredList<UserGroup> getUserGroups(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<UserGroup> getUserGroups(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredint getUserGroupsSize(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredboolean containsUserGroup(long pk, long userGroupPK) throws SystemException
true
if the user group is associated with the group.
pk
- the primary key of the groupuserGroupPK
- the primary key of the user group
true
if the user group is associated with the group; false
otherwise
SystemException
- if a system exception occurredboolean containsUserGroups(long pk) throws SystemException
true
if the group has any user groups associated with it.
pk
- the primary key of the group to check for associations with user groups
true
if the group has any user groups associated with it; false
otherwise
SystemException
- if a system exception occurredvoid addUserGroup(long pk, long userGroupPK) throws SystemException
pk
- the primary key of the groupuserGroupPK
- the primary key of the user group
SystemException
- if a system exception occurredvoid addUserGroup(long pk, UserGroup userGroup) throws SystemException
pk
- the primary key of the groupuserGroup
- the user group
SystemException
- if a system exception occurredvoid addUserGroups(long pk, long[] userGroupPKs) throws SystemException
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groups
SystemException
- if a system exception occurredvoid addUserGroups(long pk, List<UserGroup> userGroups) throws SystemException
pk
- the primary key of the groupuserGroups
- the user groups
SystemException
- if a system exception occurredvoid clearUserGroups(long pk) throws SystemException
pk
- the primary key of the group to clear the associated user groups from
SystemException
- if a system exception occurredvoid removeUserGroup(long pk, long userGroupPK) throws SystemException
pk
- the primary key of the groupuserGroupPK
- the primary key of the user group
SystemException
- if a system exception occurredvoid removeUserGroup(long pk, UserGroup userGroup) throws SystemException
pk
- the primary key of the groupuserGroup
- the user group
SystemException
- if a system exception occurredvoid removeUserGroups(long pk, long[] userGroupPKs) throws SystemException
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groups
SystemException
- if a system exception occurredvoid removeUserGroups(long pk, List<UserGroup> userGroups) throws SystemException
pk
- the primary key of the groupuserGroups
- the user groups
SystemException
- if a system exception occurredvoid setUserGroups(long pk, long[] userGroupPKs) throws SystemException
pk
- the primary key of the groupuserGroupPKs
- the primary keys of the user groups to be associated with the group
SystemException
- if a system exception occurredvoid setUserGroups(long pk, List<UserGroup> userGroups) throws SystemException
pk
- the primary key of the groupuserGroups
- the user groups to be associated with the group
SystemException
- if a system exception occurredList<User> getUsers(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredList<User> getUsers(long pk, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)
SystemException
- if a system exception occurredList<User> getUsers(long pk, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from GroupModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
pk
- the primary key of the groupstart
- the lower bound of the range of groupsend
- the upper bound of the range of groups (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)
SystemException
- if a system exception occurredint getUsersSize(long pk) throws SystemException
pk
- the primary key of the group
SystemException
- if a system exception occurredboolean containsUser(long pk, long userPK) throws SystemException
true
if the user is associated with the group.
pk
- the primary key of the groupuserPK
- the primary key of the user
true
if the user is associated with the group; false
otherwise
SystemException
- if a system exception occurredboolean containsUsers(long pk) throws SystemException
true
if the group has any users associated with it.
pk
- the primary key of the group to check for associations with users
true
if the group has any users associated with it; false
otherwise
SystemException
- if a system exception occurredvoid addUser(long pk, long userPK) throws SystemException
pk
- the primary key of the groupuserPK
- the primary key of the user
SystemException
- if a system exception occurredvoid addUser(long pk, User user) throws SystemException
pk
- the primary key of the groupuser
- the user
SystemException
- if a system exception occurredvoid addUsers(long pk, long[] userPKs) throws SystemException
pk
- the primary key of the groupuserPKs
- the primary keys of the users
SystemException
- if a system exception occurredvoid addUsers(long pk, List<User> users) throws SystemException
pk
- the primary key of the groupusers
- the users
SystemException
- if a system exception occurredvoid clearUsers(long pk) throws SystemException
pk
- the primary key of the group to clear the associated users from
SystemException
- if a system exception occurredvoid removeUser(long pk, long userPK) throws SystemException
pk
- the primary key of the groupuserPK
- the primary key of the user
SystemException
- if a system exception occurredvoid removeUser(long pk, User user) throws SystemException
pk
- the primary key of the groupuser
- the user
SystemException
- if a system exception occurredvoid removeUsers(long pk, long[] userPKs) throws SystemException
pk
- the primary key of the groupuserPKs
- the primary keys of the users
SystemException
- if a system exception occurredvoid removeUsers(long pk, List<User> users) throws SystemException
pk
- the primary key of the groupusers
- the users
SystemException
- if a system exception occurredvoid setUsers(long pk, long[] userPKs) throws SystemException
pk
- the primary key of the groupuserPKs
- the primary keys of the users to be associated with the group
SystemException
- if a system exception occurredvoid setUsers(long pk, List<User> users) throws SystemException
pk
- the primary key of the groupusers
- the users to be associated with the group
SystemException
- if a system exception occurred
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |