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
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addOrganization(long pk,
long organizationPK)
|
static void |
addOrganization(long pk,
Organization organization)
|
static void |
addOrganizations(long pk,
java.util.List 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 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 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 userGroups)
|
static void |
addUserGroups(long pk,
long[] userGroupPKs)
|
static void |
addUsers(long pk,
java.util.List users)
|
static void |
addUsers(long pk,
long[] userPKs)
|
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_F(long companyId,
java.lang.String friendlyURL)
|
static int |
countByC_N(long companyId,
java.lang.String name)
|
static int |
countByLiveGroupId(long liveGroupId)
|
static Group |
create(long groupId)
|
static Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL)
|
static Group |
fetchByC_N(long companyId,
java.lang.String name)
|
static Group |
fetchByLiveGroupId(long liveGroupId)
|
static Group |
fetchByPrimaryKey(long groupId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Group |
findByC_F(long companyId,
java.lang.String friendlyURL)
|
static Group |
findByC_N(long companyId,
java.lang.String name)
|
static Group |
findByLiveGroupId(long liveGroupId)
|
static Group |
findByPrimaryKey(long groupId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static java.util.List |
getOrganizations(long pk)
|
static java.util.List |
getOrganizations(long pk,
int begin,
int end)
|
static java.util.List |
getOrganizations(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getOrganizationsSize(long pk)
|
static java.util.List |
getPermissions(long pk)
|
static java.util.List |
getPermissions(long pk,
int begin,
int end)
|
static java.util.List |
getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getPermissionsSize(long pk)
|
static GroupPersistence |
getPersistence()
|
static java.util.List |
getRoles(long pk)
|
static java.util.List |
getRoles(long pk,
int begin,
int end)
|
static java.util.List |
getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getRolesSize(long pk)
|
static java.util.List |
getUserGroups(long pk)
|
static java.util.List |
getUserGroups(long pk,
int begin,
int end)
|
static java.util.List |
getUserGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getUserGroupsSize(long pk)
|
static java.util.List |
getUsers(long pk)
|
static java.util.List |
getUsers(long pk,
int begin,
int end)
|
static java.util.List |
getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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_F(long companyId,
java.lang.String friendlyURL)
|
static void |
removeByC_N(long companyId,
java.lang.String name)
|
static void |
removeByLiveGroupId(long liveGroupId)
|
static void |
removeOrganization(long pk,
long organizationPK)
|
static void |
removeOrganization(long pk,
Organization organization)
|
static void |
removeOrganizations(long pk,
java.util.List 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 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 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 userGroups)
|
static void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
static void |
removeUsers(long pk,
java.util.List users)
|
static void |
removeUsers(long pk,
long[] userPKs)
|
static void |
setOrganizations(long pk,
java.util.List organizations)
|
static void |
setOrganizations(long pk,
long[] organizationPKs)
|
static void |
setPermissions(long pk,
java.util.List permissions)
|
static void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setPersistence(GroupPersistence persistence)
|
static void |
setRoles(long pk,
java.util.List roles)
|
static void |
setRoles(long pk,
long[] rolePKs)
|
static void |
setUserGroups(long pk,
java.util.List userGroups)
|
static void |
setUserGroups(long pk,
long[] userGroupPKs)
|
static void |
setUsers(long pk,
java.util.List users)
|
static void |
setUsers(long pk,
long[] userPKs)
|
static Group |
update(Group group)
|
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()
create
public static Group create(long groupId)
remove
public static Group remove(long groupId)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
remove
public static Group remove(Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static Group update(Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static Group update(Group group,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateImpl
public static Group updateImpl(Group group,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static Group findByPrimaryKey(long groupId)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
fetchByPrimaryKey
public static Group fetchByPrimaryKey(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLiveGroupId
public static Group findByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
fetchByLiveGroupId
public static Group fetchByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
public static Group findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
fetchByC_N
public static Group fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_F
public static Group findByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
fetchByC_F
public static Group fetchByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_C
public static Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
fetchByC_C_C
public static Group fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByLiveGroupId
public static void removeByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeByC_F
public static void removeByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByLiveGroupId
public static int countByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_N
public static int countByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_F
public static int countByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_C_C
public static int countByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizations
public static java.util.List getOrganizations(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getOrganizations
public static java.util.List getOrganizations(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getOrganizations
public static java.util.List getOrganizations(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getOrganizationsSize
public static int getOrganizationsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsOrganization
public static boolean containsOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsOrganizations
public static boolean containsOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganization
public static void addOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
addOrganization
public static void addOrganization(long pk,
Organization organization)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
addOrganizations
public static void addOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
addOrganizations
public static void addOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
clearOrganizations
public static void clearOrganizations(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeOrganization
public static void removeOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
removeOrganization
public static void removeOrganization(long pk,
Organization organization)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
removeOrganizations
public static void removeOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
removeOrganizations
public static void removeOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
setOrganizations
public static void setOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
setOrganizations
public static void setOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchOrganizationException
getPermissions
public static java.util.List getPermissions(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getPermissions
public static java.util.List getPermissions(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getPermissions
public static java.util.List getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getPermissionsSize
public static int getPermissionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermission
public static boolean containsPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermissions
public static boolean containsPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermission
public static void addPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
addPermission
public static void addPermission(long pk,
Permission permission)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
addPermissions
public static void addPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
addPermissions
public static void addPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
clearPermissions
public static void clearPermissions(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removePermission
public static void removePermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
removePermission
public static void removePermission(long pk,
Permission permission)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
removePermissions
public static void removePermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
removePermissions
public static void removePermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
setPermissions
public static void setPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
setPermissions
public static void setPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
NoSuchPermissionException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchPermissionException
NoSuchGroupException
getRoles
public static java.util.List getRoles(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getRoles
public static java.util.List getRoles(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getRoles
public static java.util.List getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getRolesSize
public static int getRolesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsRole
public static boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsRoles
public static boolean containsRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRole
public static void addRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
addRole
public static void addRole(long pk,
Role role)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
addRoles
public static void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
addRoles
public static void addRoles(long pk,
java.util.List roles)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
clearRoles
public static void clearRoles(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeRole
public static void removeRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
removeRole
public static void removeRole(long pk,
Role role)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
removeRoles
public static void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
removeRoles
public static void removeRoles(long pk,
java.util.List roles)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
setRoles
public static void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
setRoles
public static void setRoles(long pk,
java.util.List roles)
throws com.liferay.portal.SystemException,
NoSuchRoleException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchRoleException
NoSuchGroupException
getUserGroups
public static java.util.List getUserGroups(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getUserGroups
public static java.util.List getUserGroups(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getUserGroups
public static java.util.List getUserGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getUserGroupsSize
public static int getUserGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUserGroup
public static boolean containsUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUserGroups
public static boolean containsUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroup
public static void addUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
addUserGroup
public static void addUserGroup(long pk,
UserGroup userGroup)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
addUserGroups
public static void addUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
addUserGroups
public static void addUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
clearUserGroups
public static void clearUserGroups(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeUserGroup
public static void removeUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
removeUserGroup
public static void removeUserGroup(long pk,
UserGroup userGroup)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
removeUserGroups
public static void removeUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
removeUserGroups
public static void removeUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
setUserGroups
public static void setUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
setUserGroups
public static void setUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserGroupException
getUsers
public static java.util.List getUsers(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getUsers
public static java.util.List getUsers(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getUsers
public static java.util.List getUsers(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
getUsersSize
public static int getUsersSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUser
public static boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUsers
public static boolean containsUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUser
public static void addUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
addUser
public static void addUser(long pk,
User user)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
addUsers
public static void addUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
clearUsers
public static void clearUsers(long pk)
throws com.liferay.portal.SystemException,
NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
removeUser
public static void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
removeUser
public static void removeUser(long pk,
User user)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
removeUsers
public static void removeUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
setUsers
public static void setUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
NoSuchGroupException,
NoSuchUserException
- Throws:
com.liferay.portal.SystemException
NoSuchGroupException
NoSuchUserException
getPersistence
public static GroupPersistence getPersistence()
setPersistence
public void setPersistence(GroupPersistence persistence)