com.liferay.portal.service.persistence
Class GroupUtil
java.lang.Object
com.liferay.portal.service.persistence.GroupUtil
public class GroupUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
GroupPersistence
,
GroupPersistenceImpl
- Generated:
Method Summary |
static void |
addOrganization(long pk,
long organizationPK)
|
static void |
addOrganization(long pk,
Organization organization)
|
static void |
addOrganizations(long pk,
java.util.List<Organization> organizations)
|
static void |
addOrganizations(long pk,
long[] organizationPKs)
|
static void |
addPermission(long pk,
long permissionPK)
|
static void |
addPermission(long pk,
Permission permission)
|
static void |
addPermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
addPermissions(long pk,
long[] permissionPKs)
|
static void |
addRole(long pk,
long rolePK)
|
static void |
addRole(long pk,
Role role)
|
static void |
addRoles(long pk,
java.util.List<Role> roles)
|
static void |
addRoles(long pk,
long[] rolePKs)
|
static void |
addUser(long pk,
long userPK)
|
static void |
addUser(long pk,
User user)
|
static void |
addUserGroup(long pk,
long userGroupPK)
|
static void |
addUserGroup(long pk,
UserGroup userGroup)
|
static void |
addUserGroups(long pk,
java.util.List<UserGroup> userGroups)
|
static void |
addUserGroups(long pk,
long[] userGroupPKs)
|
static void |
addUsers(long pk,
java.util.List<User> users)
|
static void |
addUsers(long pk,
long[] userPKs)
|
static void |
cacheResult(Group group)
|
static void |
cacheResult(java.util.List<Group> groups)
|
static void |
clearCache()
|
static void |
clearCache(Group group)
|
static void |
clearOrganizations(long pk)
|
static void |
clearPermissions(long pk)
|
static void |
clearRoles(long pk)
|
static void |
clearUserGroups(long pk)
|
static void |
clearUsers(long pk)
|
static boolean |
containsOrganization(long pk,
long organizationPK)
|
static boolean |
containsOrganizations(long pk)
|
static boolean |
containsPermission(long pk,
long permissionPK)
|
static boolean |
containsPermissions(long pk)
|
static boolean |
containsRole(long pk,
long rolePK)
|
static boolean |
containsRoles(long pk)
|
static boolean |
containsUser(long pk,
long userPK)
|
static boolean |
containsUserGroup(long pk,
long userGroupPK)
|
static boolean |
containsUserGroups(long pk)
|
static boolean |
containsUsers(long pk)
|
static int |
countAll()
|
static int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
|
static int |
countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static int |
countByC_F(long companyId,
java.lang.String friendlyURL)
|
static int |
countByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static int |
countByC_N(long companyId,
java.lang.String name)
|
static int |
countByCompanyId(long companyId)
|
static int |
countByLiveGroupId(long liveGroupId)
|
static int |
countByT_A(int type,
boolean active)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Group |
create(long groupId)
|
static Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
static Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static Group |
fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
|
static Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL)
|
static Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
|
static Group |
fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static Group |
fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
|
static Group |
fetchByC_N(long companyId,
java.lang.String name)
|
static Group |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
|
static Group |
fetchByLiveGroupId(long liveGroupId)
|
static Group |
fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
|
static Group |
fetchByPrimaryKey(long groupId)
|
static java.util.List<Group> |
findAll()
|
static java.util.List<Group> |
findAll(int start,
int end)
|
static java.util.List<Group> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Group |
findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static Group |
findByC_F(long companyId,
java.lang.String friendlyURL)
|
static Group |
findByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static Group |
findByC_N(long companyId,
java.lang.String name)
|
static Group |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
|
static Group |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
|
static Group[] |
findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
|
static java.util.List<Group> |
findByCompanyId(long companyId)
|
static java.util.List<Group> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<Group> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
|
static Group |
findByLiveGroupId(long liveGroupId)
|
static Group |
findByPrimaryKey(long groupId)
|
static Group |
findByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
|
static Group |
findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
|
static Group[] |
findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
|
static java.util.List<Group> |
findByT_A(int type,
boolean active)
|
static java.util.List<Group> |
findByT_A(int type,
boolean active,
int start,
int end)
|
static java.util.List<Group> |
findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
|
static java.util.List<Group> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List<Group> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<Organization> |
getOrganizations(long pk)
|
static java.util.List<Organization> |
getOrganizations(long pk,
int start,
int end)
|
static java.util.List<Organization> |
getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
getOrganizationsSize(long pk)
|
static java.util.List<Permission> |
getPermissions(long pk)
|
static java.util.List<Permission> |
getPermissions(long pk,
int start,
int end)
|
static java.util.List<Permission> |
getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
getPermissionsSize(long pk)
|
static GroupPersistence |
getPersistence()
|
static java.util.List<Role> |
getRoles(long pk)
|
static java.util.List<Role> |
getRoles(long pk,
int start,
int end)
|
static java.util.List<Role> |
getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
getRolesSize(long pk)
|
static java.util.List<UserGroup> |
getUserGroups(long pk)
|
static java.util.List<UserGroup> |
getUserGroups(long pk,
int start,
int end)
|
static java.util.List<UserGroup> |
getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
getUserGroupsSize(long pk)
|
static java.util.List<User> |
getUsers(long pk)
|
static java.util.List<User> |
getUsers(long pk,
int start,
int end)
|
static java.util.List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
static int |
getUsersSize(long pk)
|
static Group |
remove(Group group)
|
static Group |
remove(long groupId)
|
static void |
removeAll()
|
static void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
|
static void |
removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
|
static void |
removeByC_F(long companyId,
java.lang.String friendlyURL)
|
static void |
removeByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
|
static void |
removeByC_N(long companyId,
java.lang.String name)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByLiveGroupId(long liveGroupId)
|
static void |
removeByT_A(int type,
boolean active)
|
static void |
removeOrganization(long pk,
long organizationPK)
|
static void |
removeOrganization(long pk,
Organization organization)
|
static void |
removeOrganizations(long pk,
java.util.List<Organization> organizations)
|
static void |
removeOrganizations(long pk,
long[] organizationPKs)
|
static void |
removePermission(long pk,
long permissionPK)
|
static void |
removePermission(long pk,
Permission permission)
|
static void |
removePermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
removePermissions(long pk,
long[] permissionPKs)
|
static void |
removeRole(long pk,
long rolePK)
|
static void |
removeRole(long pk,
Role role)
|
static void |
removeRoles(long pk,
java.util.List<Role> roles)
|
static void |
removeRoles(long pk,
long[] rolePKs)
|
static void |
removeUser(long pk,
long userPK)
|
static void |
removeUser(long pk,
User user)
|
static void |
removeUserGroup(long pk,
long userGroupPK)
|
static void |
removeUserGroup(long pk,
UserGroup userGroup)
|
static void |
removeUserGroups(long pk,
java.util.List<UserGroup> userGroups)
|
static void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
static void |
removeUsers(long pk,
java.util.List<User> users)
|
static void |
removeUsers(long pk,
long[] userPKs)
|
static void |
setOrganizations(long pk,
java.util.List<Organization> organizations)
|
static void |
setOrganizations(long pk,
long[] organizationPKs)
|
static void |
setPermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setPersistence(GroupPersistence persistence)
|
static void |
setRoles(long pk,
java.util.List<Role> roles)
|
static void |
setRoles(long pk,
long[] rolePKs)
|
static void |
setUserGroups(long pk,
java.util.List<UserGroup> userGroups)
|
static void |
setUserGroups(long pk,
long[] userGroupPKs)
|
static void |
setUsers(long pk,
java.util.List<User> users)
|
static void |
setUsers(long pk,
long[] userPKs)
|
static Group |
update(Group group,
boolean merge)
|
static Group |
updateImpl(Group group,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupUtil
public GroupUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Group group)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Group)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<Group> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<Group> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Group remove(Group group)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Group update(Group group,
boolean merge)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Group group)
cacheResult
public static void cacheResult(java.util.List<Group> groups)
create
public static Group create(long groupId)
remove
public static Group remove(long groupId)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
updateImpl
public static Group updateImpl(Group group,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static Group findByPrimaryKey(long groupId)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByPrimaryKey
public static Group fetchByPrimaryKey(long groupId)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static java.util.List<Group> findByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static java.util.List<Group> findByCompanyId(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByCompanyId
public static java.util.List<Group> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByCompanyId_First
public static Group findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
findByCompanyId_Last
public static Group findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
findByCompanyId_PrevAndNext
public static Group[] findByCompanyId_PrevAndNext(long groupId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
findByLiveGroupId
public static Group findByLiveGroupId(long liveGroupId)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByLiveGroupId
public static Group fetchByLiveGroupId(long liveGroupId)
throws SystemException
- Throws:
SystemException
fetchByLiveGroupId
public static Group fetchByLiveGroupId(long liveGroupId,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByC_N
public static Group findByC_N(long companyId,
java.lang.String name)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByC_N
public static Group fetchByC_N(long companyId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
fetchByC_N
public static Group fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByC_F
public static Group findByC_F(long companyId,
java.lang.String friendlyURL)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByC_F
public static Group fetchByC_F(long companyId,
java.lang.String friendlyURL)
throws SystemException
- Throws:
SystemException
fetchByC_F
public static Group fetchByC_F(long companyId,
java.lang.String friendlyURL,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByT_A
public static java.util.List<Group> findByT_A(int type,
boolean active)
throws SystemException
- Throws:
SystemException
findByT_A
public static java.util.List<Group> findByT_A(int type,
boolean active,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByT_A
public static java.util.List<Group> findByT_A(int type,
boolean active,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByT_A_First
public static Group findByT_A_First(int type,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
findByT_A_Last
public static Group findByT_A_Last(int type,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
findByT_A_PrevAndNext
public static Group[] findByT_A_PrevAndNext(long groupId,
int type,
boolean active,
OrderByComparator orderByComparator)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
findByC_C_C
public static Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByC_C_C
public static Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
fetchByC_C_C
public static Group fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByC_L_N
public static Group findByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByC_L_N
public static Group fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
fetchByC_L_N
public static Group fetchByC_L_N(long companyId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findByC_C_L_N
public static Group findByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
fetchByC_C_L_N
public static Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
fetchByC_C_L_N
public static Group fetchByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<Group> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<Group> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<Group> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
removeByLiveGroupId
public static void removeByLiveGroupId(long liveGroupId)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
removeByC_F
public static void removeByC_F(long companyId,
java.lang.String friendlyURL)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
removeByT_A
public static void removeByT_A(int type,
boolean active)
throws SystemException
- Throws:
SystemException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
removeByC_L_N
public static void removeByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
removeByC_C_L_N
public static void removeByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws NoSuchGroupException,
SystemException
- Throws:
NoSuchGroupException
SystemException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws SystemException
- Throws:
SystemException
countByLiveGroupId
public static int countByLiveGroupId(long liveGroupId)
throws SystemException
- Throws:
SystemException
countByC_N
public static int countByC_N(long companyId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
countByC_F
public static int countByC_F(long companyId,
java.lang.String friendlyURL)
throws SystemException
- Throws:
SystemException
countByT_A
public static int countByT_A(int type,
boolean active)
throws SystemException
- Throws:
SystemException
countByC_C_C
public static int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
countByC_L_N
public static int countByC_L_N(long companyId,
long liveGroupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
countByC_C_L_N
public static int countByC_C_L_N(long companyId,
long classNameId,
long liveGroupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk)
throws SystemException
- Throws:
SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getOrganizationsSize
public static int getOrganizationsSize(long pk)
throws SystemException
- Throws:
SystemException
containsOrganization
public static boolean containsOrganization(long pk,
long organizationPK)
throws SystemException
- Throws:
SystemException
containsOrganizations
public static boolean containsOrganizations(long pk)
throws SystemException
- Throws:
SystemException
addOrganization
public static void addOrganization(long pk,
long organizationPK)
throws SystemException
- Throws:
SystemException
addOrganization
public static void addOrganization(long pk,
Organization organization)
throws SystemException
- Throws:
SystemException
addOrganizations
public static void addOrganizations(long pk,
long[] organizationPKs)
throws SystemException
- Throws:
SystemException
addOrganizations
public static void addOrganizations(long pk,
java.util.List<Organization> organizations)
throws SystemException
- Throws:
SystemException
clearOrganizations
public static void clearOrganizations(long pk)
throws SystemException
- Throws:
SystemException
removeOrganization
public static void removeOrganization(long pk,
long organizationPK)
throws SystemException
- Throws:
SystemException
removeOrganization
public static void removeOrganization(long pk,
Organization organization)
throws SystemException
- Throws:
SystemException
removeOrganizations
public static void removeOrganizations(long pk,
long[] organizationPKs)
throws SystemException
- Throws:
SystemException
removeOrganizations
public static void removeOrganizations(long pk,
java.util.List<Organization> organizations)
throws SystemException
- Throws:
SystemException
setOrganizations
public static void setOrganizations(long pk,
long[] organizationPKs)
throws SystemException
- Throws:
SystemException
setOrganizations
public static void setOrganizations(long pk,
java.util.List<Organization> organizations)
throws SystemException
- Throws:
SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk)
throws SystemException
- Throws:
SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getPermissionsSize
public static int getPermissionsSize(long pk)
throws SystemException
- Throws:
SystemException
containsPermission
public static boolean containsPermission(long pk,
long permissionPK)
throws SystemException
- Throws:
SystemException
containsPermissions
public static boolean containsPermissions(long pk)
throws SystemException
- Throws:
SystemException
addPermission
public static void addPermission(long pk,
long permissionPK)
throws SystemException
- Throws:
SystemException
addPermission
public static void addPermission(long pk,
Permission permission)
throws SystemException
- Throws:
SystemException
addPermissions
public static void addPermissions(long pk,
long[] permissionPKs)
throws SystemException
- Throws:
SystemException
addPermissions
public static void addPermissions(long pk,
java.util.List<Permission> permissions)
throws SystemException
- Throws:
SystemException
clearPermissions
public static void clearPermissions(long pk)
throws SystemException
- Throws:
SystemException
removePermission
public static void removePermission(long pk,
long permissionPK)
throws SystemException
- Throws:
SystemException
removePermission
public static void removePermission(long pk,
Permission permission)
throws SystemException
- Throws:
SystemException
removePermissions
public static void removePermissions(long pk,
long[] permissionPKs)
throws SystemException
- Throws:
SystemException
removePermissions
public static void removePermissions(long pk,
java.util.List<Permission> permissions)
throws SystemException
- Throws:
SystemException
setPermissions
public static void setPermissions(long pk,
long[] permissionPKs)
throws SystemException
- Throws:
SystemException
setPermissions
public static void setPermissions(long pk,
java.util.List<Permission> permissions)
throws SystemException
- Throws:
SystemException
getRoles
public static java.util.List<Role> getRoles(long pk)
throws SystemException
- Throws:
SystemException
getRoles
public static java.util.List<Role> getRoles(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getRoles
public static java.util.List<Role> getRoles(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getRolesSize
public static int getRolesSize(long pk)
throws SystemException
- Throws:
SystemException
containsRole
public static boolean containsRole(long pk,
long rolePK)
throws SystemException
- Throws:
SystemException
containsRoles
public static boolean containsRoles(long pk)
throws SystemException
- Throws:
SystemException
addRole
public static void addRole(long pk,
long rolePK)
throws SystemException
- Throws:
SystemException
addRole
public static void addRole(long pk,
Role role)
throws SystemException
- Throws:
SystemException
addRoles
public static void addRoles(long pk,
long[] rolePKs)
throws SystemException
- Throws:
SystemException
addRoles
public static void addRoles(long pk,
java.util.List<Role> roles)
throws SystemException
- Throws:
SystemException
clearRoles
public static void clearRoles(long pk)
throws SystemException
- Throws:
SystemException
removeRole
public static void removeRole(long pk,
long rolePK)
throws SystemException
- Throws:
SystemException
removeRole
public static void removeRole(long pk,
Role role)
throws SystemException
- Throws:
SystemException
removeRoles
public static void removeRoles(long pk,
long[] rolePKs)
throws SystemException
- Throws:
SystemException
removeRoles
public static void removeRoles(long pk,
java.util.List<Role> roles)
throws SystemException
- Throws:
SystemException
setRoles
public static void setRoles(long pk,
long[] rolePKs)
throws SystemException
- Throws:
SystemException
setRoles
public static void setRoles(long pk,
java.util.List<Role> roles)
throws SystemException
- Throws:
SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk)
throws SystemException
- Throws:
SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getUserGroupsSize
public static int getUserGroupsSize(long pk)
throws SystemException
- Throws:
SystemException
containsUserGroup
public static boolean containsUserGroup(long pk,
long userGroupPK)
throws SystemException
- Throws:
SystemException
containsUserGroups
public static boolean containsUserGroups(long pk)
throws SystemException
- Throws:
SystemException
addUserGroup
public static void addUserGroup(long pk,
long userGroupPK)
throws SystemException
- Throws:
SystemException
addUserGroup
public static void addUserGroup(long pk,
UserGroup userGroup)
throws SystemException
- Throws:
SystemException
addUserGroups
public static void addUserGroups(long pk,
long[] userGroupPKs)
throws SystemException
- Throws:
SystemException
addUserGroups
public static void addUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws SystemException
- Throws:
SystemException
clearUserGroups
public static void clearUserGroups(long pk)
throws SystemException
- Throws:
SystemException
removeUserGroup
public static void removeUserGroup(long pk,
long userGroupPK)
throws SystemException
- Throws:
SystemException
removeUserGroup
public static void removeUserGroup(long pk,
UserGroup userGroup)
throws SystemException
- Throws:
SystemException
removeUserGroups
public static void removeUserGroups(long pk,
long[] userGroupPKs)
throws SystemException
- Throws:
SystemException
removeUserGroups
public static void removeUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws SystemException
- Throws:
SystemException
setUserGroups
public static void setUserGroups(long pk,
long[] userGroupPKs)
throws SystemException
- Throws:
SystemException
setUserGroups
public static void setUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws SystemException
- Throws:
SystemException
getUsers
public static java.util.List<User> getUsers(long pk)
throws SystemException
- Throws:
SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getUsersSize
public static int getUsersSize(long pk)
throws SystemException
- Throws:
SystemException
containsUser
public static boolean containsUser(long pk,
long userPK)
throws SystemException
- Throws:
SystemException
containsUsers
public static boolean containsUsers(long pk)
throws SystemException
- Throws:
SystemException
addUser
public static void addUser(long pk,
long userPK)
throws SystemException
- Throws:
SystemException
addUser
public static void addUser(long pk,
User user)
throws SystemException
- Throws:
SystemException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws SystemException
- Throws:
SystemException
addUsers
public static void addUsers(long pk,
java.util.List<User> users)
throws SystemException
- Throws:
SystemException
clearUsers
public static void clearUsers(long pk)
throws SystemException
- Throws:
SystemException
removeUser
public static void removeUser(long pk,
long userPK)
throws SystemException
- Throws:
SystemException
removeUser
public static void removeUser(long pk,
User user)
throws SystemException
- Throws:
SystemException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws SystemException
- Throws:
SystemException
removeUsers
public static void removeUsers(long pk,
java.util.List<User> users)
throws SystemException
- Throws:
SystemException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws SystemException
- Throws:
SystemException
setUsers
public static void setUsers(long pk,
java.util.List<User> users)
throws SystemException
- Throws:
SystemException
getPersistence
public static GroupPersistence getPersistence()
setPersistence
public void setPersistence(GroupPersistence persistence)