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,
com.liferay.portal.model.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,
com.liferay.portal.model.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,
com.liferay.portal.model.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,
com.liferay.portal.model.User user)
|
static void |
addUserGroup(long pk,
long userGroupPK)
|
static void |
addUserGroup(long pk,
com.liferay.portal.model.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 com.liferay.portal.model.Group |
create(long groupId)
|
static com.liferay.portal.model.Group |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
static com.liferay.portal.model.Group |
fetchByC_F(long companyId,
java.lang.String friendlyURL)
|
static com.liferay.portal.model.Group |
fetchByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portal.model.Group |
fetchByLiveGroupId(long liveGroupId)
|
static com.liferay.portal.model.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 com.liferay.portal.model.Group |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
static com.liferay.portal.model.Group |
findByC_F(long companyId,
java.lang.String friendlyURL)
|
static com.liferay.portal.model.Group |
findByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portal.model.Group |
findByLiveGroupId(long liveGroupId)
|
static com.liferay.portal.model.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 com.liferay.portal.model.Group |
remove(com.liferay.portal.model.Group group)
|
static com.liferay.portal.model.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,
com.liferay.portal.model.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,
com.liferay.portal.model.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,
com.liferay.portal.model.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,
com.liferay.portal.model.User user)
|
static void |
removeUserGroup(long pk,
long userGroupPK)
|
static void |
removeUserGroup(long pk,
com.liferay.portal.model.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 com.liferay.portal.model.Group |
update(com.liferay.portal.model.Group group)
|
static com.liferay.portal.model.Group |
update(com.liferay.portal.model.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 com.liferay.portal.model.Group create(long groupId)
remove
public static com.liferay.portal.model.Group remove(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
remove
public static com.liferay.portal.model.Group remove(com.liferay.portal.model.Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.Group update(com.liferay.portal.model.Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.Group update(com.liferay.portal.model.Group group,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portal.model.Group findByPrimaryKey(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
fetchByPrimaryKey
public static com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByLiveGroupId
public static com.liferay.portal.model.Group findByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
fetchByLiveGroupId
public static com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_N
public static com.liferay.portal.model.Group findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
fetchByC_N
public static com.liferay.portal.model.Group fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_F
public static com.liferay.portal.model.Group findByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
fetchByC_F
public static com.liferay.portal.model.Group fetchByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_C
public static com.liferay.portal.model.Group findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
fetchByC_C_C
public static com.liferay.portal.model.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeByC_F
public static void removeByC_F(long companyId,
java.lang.String friendlyURL)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
getOrganizations
public static java.util.List getOrganizations(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
addOrganization
public static void addOrganization(long pk,
com.liferay.portal.model.Organization organization)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
addOrganizations
public static void addOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
addOrganizations
public static void addOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
clearOrganizations
public static void clearOrganizations(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeOrganization
public static void removeOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
removeOrganization
public static void removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
removeOrganizations
public static void removeOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
removeOrganizations
public static void removeOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
setOrganizations
public static void setOrganizations(long pk,
long[] organizationPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
setOrganizations
public static void setOrganizations(long pk,
java.util.List organizations)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchOrganizationException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException
getPermissions
public static java.util.List getPermissions(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
getPermissions
public static java.util.List getPermissions(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
addPermission
public static void addPermission(long pk,
com.liferay.portal.model.Permission permission)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
addPermissions
public static void addPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
addPermissions
public static void addPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
clearPermissions
public static void clearPermissions(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removePermission
public static void removePermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
removePermission
public static void removePermission(long pk,
com.liferay.portal.model.Permission permission)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
removePermissions
public static void removePermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
removePermissions
public static void removePermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
setPermissions
public static void setPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
setPermissions
public static void setPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException
getRoles
public static java.util.List getRoles(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
getRoles
public static java.util.List getRoles(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
addRole
public static void addRole(long pk,
com.liferay.portal.model.Role role)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
addRoles
public static void addRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
addRoles
public static void addRoles(long pk,
java.util.List roles)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
clearRoles
public static void clearRoles(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeRole
public static void removeRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
removeRole
public static void removeRole(long pk,
com.liferay.portal.model.Role role)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
removeRoles
public static void removeRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
removeRoles
public static void removeRoles(long pk,
java.util.List roles)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
setRoles
public static void setRoles(long pk,
long[] rolePKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
setRoles
public static void setRoles(long pk,
java.util.List roles)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException
getUserGroups
public static java.util.List getUserGroups(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
getUserGroups
public static java.util.List getUserGroups(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
addUserGroup
public static void addUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
addUserGroups
public static void addUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
addUserGroups
public static void addUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
clearUserGroups
public static void clearUserGroups(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeUserGroup
public static void removeUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
removeUserGroup
public static void removeUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
removeUserGroups
public static void removeUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
removeUserGroups
public static void removeUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
setUserGroups
public static void setUserGroups(long pk,
long[] userGroupPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
setUserGroups
public static void setUserGroups(long pk,
java.util.List userGroups)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException
getUsers
public static java.util.List getUsers(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
getUsers
public static java.util.List getUsers(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.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,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
addUser
public static void addUser(long pk,
com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
addUsers
public static void addUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
clearUsers
public static void clearUsers(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
removeUser
public static void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
removeUser
public static void removeUser(long pk,
com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
removeUsers
public static void removeUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
setUsers
public static void setUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException
getPersistence
public static GroupPersistence getPersistence()
setPersistence
public void setPersistence(GroupPersistence persistence)