|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupPersistence
The persistence interface for the group service.
Never modify or reference this interface directly. Always use GroupUtil
to access the group persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
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 |
addPermission(long pk,
long permissionPK)
Adds an association between the group and the permission. |
void |
addPermission(long pk,
Permission permission)
Adds an association between the group and the permission. |
void |
addPermissions(long pk,
List<Permission> permissions)
Adds an association between the group and the permissions. |
void |
addPermissions(long pk,
long[] permissionPKs)
Adds an association between the group and the permissions. |
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 |
clearPermissions(long pk)
Clears all associations between the group and its permissions. |
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)
Determines whether the organization is associated with the group. |
boolean |
containsOrganizations(long pk)
Determines whether the group has any organizations associated with it. |
boolean |
containsPermission(long pk,
long permissionPK)
Determines whether the permission is associated with the group. |
boolean |
containsPermissions(long pk)
Determines whether the group has any permissions associated with it. |
boolean |
containsRole(long pk,
long rolePK)
Determines whether the role is associated with the group. |
boolean |
containsRoles(long pk)
Determines whether the group has any roles associated with it. |
boolean |
containsUser(long pk,
long userPK)
Determines whether the user is associated with the group. |
boolean |
containsUserGroup(long pk,
long userGroupPK)
Determines whether the user group is associated with the group. |
boolean |
containsUserGroups(long pk)
Determines whether the group has any user groups associated with it. |
boolean |
containsUsers(long pk)
Determines whether the group has any users associated with it. |
int |
countAll()
Counts all the groups. |
int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
Counts all the groups where companyId = ? and classNameId = ? and classPK = ?. |
int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Counts all the groups where companyId = ? and classNameId = ? and liveGroupId = ? and name = ?. |
int |
countByC_F(long companyId,
String friendlyURL)
Counts all the groups where companyId = ? and friendlyURL = ?. |
int |
countByC_L_N(long companyId,
long liveGroupId,
String name)
Counts all the groups where companyId = ? and liveGroupId = ? and name = ?. |
int |
countByC_N(long companyId,
String name)
Counts all the groups where companyId = ? and name = ?. |
int |
countByCompanyId(long companyId)
Counts all the groups where companyId = ?. |
int |
countByLiveGroupId(long liveGroupId)
Counts all the groups where liveGroupId = ?. |
int |
countByT_A(int type,
boolean active)
Counts all the groups where type = ? and active = ?. |
Group |
create(long groupId)
Creates a new group with the primary key. |
Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
Finds 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)
Finds 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_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Finds 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)
Finds 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_F(long companyId,
String friendlyURL)
Finds the group where companyId = ? and friendlyURL = ? or returns null if it could not be found. |
Group |
fetchByC_F(long companyId,
String friendlyURL,
boolean retrieveFromCache)
Finds 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)
Finds 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)
Finds 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)
Finds the group where companyId = ? and name = ? or returns null if it could not be found. |
Group |
fetchByC_N(long companyId,
String name,
boolean retrieveFromCache)
Finds the group where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByLiveGroupId(long liveGroupId)
Finds the group where liveGroupId = ? or returns null if it could not be found. |
Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
Finds the group where liveGroupId = ? or returns null if it could not be found, optionally using the finder cache. |
Group |
fetchByPrimaryKey(long groupId)
Finds the group with the primary key or returns null if it could not be found. |
List<Group> |
findAll()
Finds all the groups. |
List<Group> |
findAll(int start,
int end)
Finds a range of all the groups. |
List<Group> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the groups. |
Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
Finds the group where companyId = ? and classNameId = ? and classPK = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
String name)
Finds the group where companyId = ? and classNameId = ? and liveGroupId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByC_F(long companyId,
String friendlyURL)
Finds 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)
Finds 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)
Finds the group where companyId = ? and name = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Finds the first group in the ordered set where companyId = ?. |
Group |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Finds the last group in the ordered set where companyId = ?. |
Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
Finds the groups before and after the current group in the ordered set where companyId = ?. |
List<Group> |
findByCompanyId(long companyId)
Finds all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end)
Finds a range of all the groups where companyId = ?. |
List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the groups where companyId = ?. |
Group |
findByLiveGroupId(long liveGroupId)
Finds the group where liveGroupId = ? or throws a NoSuchGroupException if it could not be found. |
Group |
findByPrimaryKey(long groupId)
Finds 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)
Finds the first group in the ordered set where type = ? and active = ?. |
Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
Finds the last group in the ordered set where type = ? and active = ?. |
Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
Finds the groups before and after the current group in the ordered set where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active)
Finds all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
Finds a range of all the groups where type = ? and active = ?. |
List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the groups where type = ? and active = ?. |
List<Organization> |
getOrganizations(long pk)
Gets all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end)
Gets a range of all the organizations associated with the group. |
List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the organizations associated with the group. |
int |
getOrganizationsSize(long pk)
Gets the number of organizations associated with the group. |
List<Permission> |
getPermissions(long pk)
Gets all the permissions associated with the group. |
List<Permission> |
getPermissions(long pk,
int start,
int end)
Gets a range of all the permissions associated with the group. |
List<Permission> |
getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the permissions associated with the group. |
int |
getPermissionsSize(long pk)
Gets the number of permissions associated with the group. |
List<Role> |
getRoles(long pk)
Gets all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end)
Gets a range of all the roles associated with the group. |
List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the roles associated with the group. |
int |
getRolesSize(long pk)
Gets the number of roles associated with the group. |
List<UserGroup> |
getUserGroups(long pk)
Gets all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
Gets a range of all the user groups associated with the group. |
List<UserGroup> |
getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the user groups associated with the group. |
int |
getUserGroupsSize(long pk)
Gets the number of user groups associated with the group. |
List<User> |
getUsers(long pk)
Gets all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end)
Gets a range of all the users associated with the group. |
List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
Gets an ordered range of all the users associated with the group. |
int |
getUsersSize(long pk)
Gets 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. |
void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
Removes the group where companyId = ? and classNameId = ? and classPK = ? from the database. |
void |
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_F(long companyId,
String friendlyURL)
Removes the group where companyId = ? and friendlyURL = ? from the database. |
void |
removeByC_L_N(long companyId,
long liveGroupId,
String name)
Removes the group where companyId = ? and liveGroupId = ? and name = ? from the database. |
void |
removeByC_N(long companyId,
String name)
Removes the group where companyId = ? and name = ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the groups where companyId = ? from the database. |
void |
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 |
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 |
removePermission(long pk,
long permissionPK)
Removes the association between the group and the permission. |
void |
removePermission(long pk,
Permission permission)
Removes the association between the group and the permission. |
void |
removePermissions(long pk,
List<Permission> permissions)
Removes the association between the group and the permissions. |
void |
removePermissions(long pk,
long[] permissionPKs)
Removes the association between the group and the permissions. |
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 |
setPermissions(long pk,
List<Permission> permissions)
Sets the permissions associated with the group, removing and adding associations as necessary. |
void |
setPermissions(long pk,
long[] permissionPKs)
Sets the permissions 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,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(Group group)
group
- the group to cachevoid cacheResult(List<Group> groups)
groups
- the groups to cacheGroup 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 to remove
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredGroup updateImpl(Group group, boolean merge) throws SystemException
SystemException
Group findByPrimaryKey(long groupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
groupId
- the primary key of the group to find
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 to find
null
if a group with the primary key could not be found
SystemException
- if a system exception occurredList<Group> findByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
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.
companyId
- the company id to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
companyId
- the company id to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredGroup findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, 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.
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a matching group could not be found
SystemException
- if a system exception occurredGroup findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchGroupException, 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.
companyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- 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
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.
groupId
- the primary key of the current groupcompanyId
- the company id to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a group with the primary key could not be found
SystemException
- if a system exception occurredGroup findByLiveGroupId(long liveGroupId) throws NoSuchGroupException, SystemException
NoSuchGroupException
if it could not be found.
liveGroupId
- the live group id to search with
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 to search with
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 id to search with
null
if a matching group could not be found
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 id to search withname
- the name to search with
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 id to search withname
- the name to search with
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 id to search withname
- the name to search with
null
if a matching group could not be found
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 id to search withfriendlyURL
- the friendly u r l to search with
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 id to search withfriendlyURL
- the friendly u r l to search with
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 id to search withfriendlyURL
- the friendly u r l to search with
null
if a matching group could not be found
SystemException
- if a system exception occurredList<Group> findByT_A(int type, boolean active) throws SystemException
type
- the type to search withactive
- the active to search with
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.
type
- the type to search withactive
- the active to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
type
- the type to search withactive
- the active to search withstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredGroup findByT_A_First(int type, boolean active, OrderByComparator orderByComparator) throws NoSuchGroupException, 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.
type
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- 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
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.
type
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- 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
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.
groupId
- the primary key of the current grouptype
- the type to search withactive
- the active to search withorderByComparator
- the comparator to order the set by
NoSuchGroupException
- if a group with the primary key could not be found
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 id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
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 id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
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 id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
null
if a matching group could not be found
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 id to search withliveGroupId
- the live group id to search withname
- the name to search with
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 id to search withliveGroupId
- the live group id to search withname
- the name to search with
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 id to search withliveGroupId
- the live group id to search withname
- the name to search with
null
if a matching group could not be found
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 id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
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 id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
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 id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
null
if a matching group 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.
start
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
start
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredvoid removeByLiveGroupId(long liveGroupId) throws NoSuchGroupException, SystemException
liveGroupId
- the live group id to search with
SystemException
- if a system exception occurred
NoSuchGroupException
void removeByC_N(long companyId, String name) throws NoSuchGroupException, SystemException
companyId
- the company id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchGroupException
void removeByC_F(long companyId, String friendlyURL) throws NoSuchGroupException, SystemException
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
SystemException
- if a system exception occurred
NoSuchGroupException
void removeByT_A(int type, boolean active) throws SystemException
type
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredvoid removeByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchGroupException, SystemException
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurred
NoSuchGroupException
void removeByC_L_N(long companyId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchGroupException
void removeByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws NoSuchGroupException, SystemException
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurred
NoSuchGroupException
void removeAll() throws SystemException
SystemException
- if a system exception occurredint countByCompanyId(long companyId) throws SystemException
companyId
- the company id to search with
SystemException
- if a system exception occurredint countByLiveGroupId(long liveGroupId) throws SystemException
liveGroupId
- the live group id to search with
SystemException
- if a system exception occurredint countByC_N(long companyId, String name) throws SystemException
companyId
- the company id to search withname
- the name to search with
SystemException
- if a system exception occurredint countByC_F(long companyId, String friendlyURL) throws SystemException
companyId
- the company id to search withfriendlyURL
- the friendly u r l to search with
SystemException
- if a system exception occurredint countByT_A(int type, boolean active) throws SystemException
type
- the type to search withactive
- the active to search with
SystemException
- if a system exception occurredint countByC_C_C(long companyId, long classNameId, long classPK) throws SystemException
companyId
- the company id to search withclassNameId
- the class name id to search withclassPK
- the class p k to search with
SystemException
- if a system exception occurredint countByC_L_N(long companyId, long liveGroupId, String name) throws SystemException
companyId
- the company id to search withliveGroupId
- the live group id to search withname
- the name to search with
SystemException
- if a system exception occurredint countByC_C_L_N(long companyId, long classNameId, long liveGroupId, String name) throws SystemException
companyId
- the company id to search withclassNameId
- the class name id to search withliveGroupId
- the live group id to search withname
- the name to search with
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 to get the associated organizations for
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.
pk
- the primary key of the group to get the associated organizations forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
pk
- the primary key of the group to get the associated organizations forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredint getOrganizationsSize(long pk) throws SystemException
pk
- the primary key of the group to get the number of associated organizations for
SystemException
- if a system exception occurredboolean containsOrganization(long pk, long organizationPK) throws SystemException
pk
- the primary key of the grouporganizationPK
- the primary key of the organization
SystemException
- if a system exception occurredboolean containsOrganizations(long pk) throws SystemException
pk
- the primary key of the group to check for associations with organizations
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 group to set the associations fororganizationPKs
- 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 group to set the associations fororganizations
- the organizations to be associated with the group
SystemException
- if a system exception occurredList<Permission> getPermissions(long pk) throws SystemException
pk
- the primary key of the group to get the associated permissions for
SystemException
- if a system exception occurredList<Permission> getPermissions(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.
pk
- the primary key of the group to get the associated permissions forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)
SystemException
- if a system exception occurredList<Permission> getPermissions(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.
pk
- the primary key of the group to get the associated permissions forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredint getPermissionsSize(long pk) throws SystemException
pk
- the primary key of the group to get the number of associated permissions for
SystemException
- if a system exception occurredboolean containsPermission(long pk, long permissionPK) throws SystemException
pk
- the primary key of the grouppermissionPK
- the primary key of the permission
SystemException
- if a system exception occurredboolean containsPermissions(long pk) throws SystemException
pk
- the primary key of the group to check for associations with permissions
SystemException
- if a system exception occurredvoid addPermission(long pk, long permissionPK) throws SystemException
pk
- the primary key of the grouppermissionPK
- the primary key of the permission
SystemException
- if a system exception occurredvoid addPermission(long pk, Permission permission) throws SystemException
pk
- the primary key of the grouppermission
- the permission
SystemException
- if a system exception occurredvoid addPermissions(long pk, long[] permissionPKs) throws SystemException
pk
- the primary key of the grouppermissionPKs
- the primary keys of the permissions
SystemException
- if a system exception occurredvoid addPermissions(long pk, List<Permission> permissions) throws SystemException
pk
- the primary key of the grouppermissions
- the permissions
SystemException
- if a system exception occurredvoid clearPermissions(long pk) throws SystemException
pk
- the primary key of the group to clear the associated permissions from
SystemException
- if a system exception occurredvoid removePermission(long pk, long permissionPK) throws SystemException
pk
- the primary key of the grouppermissionPK
- the primary key of the permission
SystemException
- if a system exception occurredvoid removePermission(long pk, Permission permission) throws SystemException
pk
- the primary key of the grouppermission
- the permission
SystemException
- if a system exception occurredvoid removePermissions(long pk, long[] permissionPKs) throws SystemException
pk
- the primary key of the grouppermissionPKs
- the primary keys of the permissions
SystemException
- if a system exception occurredvoid removePermissions(long pk, List<Permission> permissions) throws SystemException
pk
- the primary key of the grouppermissions
- the permissions
SystemException
- if a system exception occurredvoid setPermissions(long pk, long[] permissionPKs) throws SystemException
pk
- the primary key of the group to set the associations forpermissionPKs
- the primary keys of the permissions to be associated with the group
SystemException
- if a system exception occurredvoid setPermissions(long pk, List<Permission> permissions) throws SystemException
pk
- the primary key of the group to set the associations forpermissions
- the permissions 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 to get the associated roles for
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.
pk
- the primary key of the group to get the associated roles forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
pk
- the primary key of the group to get the associated roles forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredint getRolesSize(long pk) throws SystemException
pk
- the primary key of the group to get the number of associated roles for
SystemException
- if a system exception occurredboolean containsRole(long pk, long rolePK) throws SystemException
pk
- the primary key of the grouprolePK
- the primary key of the role
SystemException
- if a system exception occurredboolean containsRoles(long pk) throws SystemException
pk
- the primary key of the group to check for associations with roles
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 group to set the associations forrolePKs
- 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 group to set the associations forroles
- 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 to get the associated user groups for
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.
pk
- the primary key of the group to get the associated user groups forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
pk
- the primary key of the group to get the associated user groups forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredint getUserGroupsSize(long pk) throws SystemException
pk
- the primary key of the group to get the number of associated user groups for
SystemException
- if a system exception occurredboolean containsUserGroup(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 occurredboolean containsUserGroups(long pk) throws SystemException
pk
- the primary key of the group to check for associations with user groups
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 group to set the associations foruserGroupPKs
- 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 group to set the associations foruserGroups
- 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 to get the associated users for
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.
pk
- the primary key of the group to get the associated users forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (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.
pk
- the primary key of the group to get the associated users forstart
- the lower bound of the range of groups to returnend
- the upper bound of the range of groups to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredint getUsersSize(long pk) throws SystemException
pk
- the primary key of the group to get the number of associated users for
SystemException
- if a system exception occurredboolean containsUser(long pk, long userPK) throws SystemException
pk
- the primary key of the groupuserPK
- the primary key of the user
SystemException
- if a system exception occurredboolean containsUsers(long pk) throws SystemException
pk
- the primary key of the group to check for associations with users
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 group to set the associations foruserPKs
- 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 group to set the associations forusers
- the users to be associated with the group
SystemException
- if a system exception occurred
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |