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<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 |
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<Group> |
findAll()
|
static java.util.List<Group> |
findAll(int start,
int end)
|
static java.util.List<Group> |
findAll(int start,
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<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
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,
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<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)
Deprecated. Use update(Group group, boolean merge) . |
static Group |
update(Group group,
boolean merge)
Add, update, or merge, the entity. |
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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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
- Deprecated. Use
update(Group group, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static Group update(Group group,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
group
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when group is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- 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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Group> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Group> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Group> findAll(int start,
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 NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_F
public static void removeByC_F(long companyId,
java.lang.String friendlyURL)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchGroupException,
com.liferay.portal.SystemException
- Throws:
NoSuchGroupException
com.liferay.portal.SystemException
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<Organization> getOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getOrganizations
public static java.util.List<Organization> getOrganizations(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
addOrganization
public static void addOrganization(long pk,
Organization organization)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganizations
public static void addOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganizations
public static void addOrganizations(long pk,
java.util.List<Organization> organizations)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearOrganizations
public static void clearOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganization
public static void removeOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganization
public static void removeOrganization(long pk,
Organization organization)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganizations
public static void removeOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeOrganizations
public static void removeOrganizations(long pk,
java.util.List<Organization> organizations)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setOrganizations
public static void setOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setOrganizations
public static void setOrganizations(long pk,
java.util.List<Organization> organizations)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPermissions
public static java.util.List<Permission> getPermissions(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
addPermission
public static void addPermission(long pk,
Permission permission)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermissions
public static void addPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermissions
public static void addPermissions(long pk,
java.util.List<Permission> permissions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearPermissions
public static void clearPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermission
public static void removePermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermission
public static void removePermission(long pk,
Permission permission)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermissions
public static void removePermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removePermissions
public static void removePermissions(long pk,
java.util.List<Permission> permissions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setPermissions
public static void setPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setPermissions
public static void setPermissions(long pk,
java.util.List<Permission> permissions)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoles
public static java.util.List<Role> getRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoles
public static java.util.List<Role> getRoles(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRoles
public static java.util.List<Role> getRoles(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
addRole
public static void addRole(long pk,
Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRoles
public static void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRoles
public static void addRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearRoles
public static void clearRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRole
public static void removeRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRole
public static void removeRole(long pk,
Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRoles
public static void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeRoles
public static void removeRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setRoles
public static void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setRoles
public static void setRoles(long pk,
java.util.List<Role> roles)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserGroups
public static java.util.List<UserGroup> getUserGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
addUserGroup
public static void addUserGroup(long pk,
UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroups
public static void addUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroups
public static void addUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearUserGroups
public static void clearUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroup
public static void removeUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroup
public static void removeUserGroup(long pk,
UserGroup userGroup)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroups
public static void removeUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUserGroups
public static void removeUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUserGroups
public static void setUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUserGroups
public static void setUserGroups(long pk,
java.util.List<UserGroup> userGroups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public static java.util.List<User> getUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
addUser
public static void addUser(long pk,
User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUsers
public static void addUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearUsers
public static void clearUsers(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUser
public static void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUser
public static void removeUser(long pk,
User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeUsers
public static void removeUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setUsers
public static void setUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static GroupPersistence getPersistence()
setPersistence
public void setPersistence(GroupPersistence persistence)