com.liferay.portal.service.persistence
Class RoleUtil
java.lang.Object
com.liferay.portal.service.persistence.RoleUtil
- public class RoleUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addGroup(long pk,
com.liferay.portal.model.Group group)
|
static void |
addGroup(long pk,
long groupPK)
|
static void |
addGroups(long pk,
java.util.List groups)
|
static void |
addGroups(long pk,
long[] groupPKs)
|
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 |
addUser(long pk,
long userPK)
|
static void |
addUser(long pk,
com.liferay.portal.model.User user)
|
static void |
addUsers(long pk,
java.util.List users)
|
static void |
addUsers(long pk,
long[] userPKs)
|
static void |
clearGroups(long pk)
|
static void |
clearPermissions(long pk)
|
static void |
clearUsers(long pk)
|
static boolean |
containsGroup(long pk,
long groupPK)
|
static boolean |
containsGroups(long pk)
|
static boolean |
containsPermission(long pk,
long permissionPK)
|
static boolean |
containsPermissions(long pk)
|
static boolean |
containsUser(long pk,
long userPK)
|
static boolean |
containsUsers(long pk)
|
static int |
countAll()
|
static int |
countByC_C_C(long companyId,
long classNameId,
long classPK)
|
static int |
countByC_N(long companyId,
java.lang.String name)
|
static int |
countByCompanyId(long companyId)
|
static com.liferay.portal.model.Role |
create(long roleId)
|
static com.liferay.portal.model.Role |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
static com.liferay.portal.model.Role |
fetchByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portal.model.Role |
fetchByPrimaryKey(long roleId)
|
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.Role |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
static com.liferay.portal.model.Role |
findByC_N(long companyId,
java.lang.String name)
|
static com.liferay.portal.model.Role |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.Role |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.Role[] |
findByCompanyId_PrevAndNext(long roleId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByCompanyId(long companyId)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.Role |
findByPrimaryKey(long roleId)
|
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 |
getGroups(long pk)
|
static java.util.List |
getGroups(long pk,
int begin,
int end)
|
static java.util.List |
getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupsSize(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 RolePersistence |
getPersistence()
|
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.Role |
remove(long roleId)
|
static com.liferay.portal.model.Role |
remove(com.liferay.portal.model.Role role)
|
static void |
removeAll()
|
static void |
removeByC_C_C(long companyId,
long classNameId,
long classPK)
|
static void |
removeByC_N(long companyId,
java.lang.String name)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeGroup(long pk,
com.liferay.portal.model.Group group)
|
static void |
removeGroup(long pk,
long groupPK)
|
static void |
removeGroups(long pk,
java.util.List groups)
|
static void |
removeGroups(long pk,
long[] groupPKs)
|
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 |
removeUser(long pk,
long userPK)
|
static void |
removeUser(long pk,
com.liferay.portal.model.User user)
|
static void |
removeUsers(long pk,
java.util.List users)
|
static void |
removeUsers(long pk,
long[] userPKs)
|
static void |
setGroups(long pk,
java.util.List groups)
|
static void |
setGroups(long pk,
long[] groupPKs)
|
static void |
setPermissions(long pk,
java.util.List permissions)
|
static void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setPersistence(RolePersistence persistence)
|
static void |
setUsers(long pk,
java.util.List users)
|
static void |
setUsers(long pk,
long[] userPKs)
|
static com.liferay.portal.model.Role |
update(com.liferay.portal.model.Role role)
|
static com.liferay.portal.model.Role |
update(com.liferay.portal.model.Role role,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleUtil
public RoleUtil()
create
public static com.liferay.portal.model.Role create(long roleId)
remove
public static com.liferay.portal.model.Role remove(long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
remove
public static com.liferay.portal.model.Role remove(com.liferay.portal.model.Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.Role update(com.liferay.portal.model.Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.Role update(com.liferay.portal.model.Role role,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static com.liferay.portal.model.Role findByPrimaryKey(long roleId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
fetchByPrimaryKey
public static com.liferay.portal.model.Role fetchByPrimaryKey(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static com.liferay.portal.model.Role findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
findByCompanyId_Last
public static com.liferay.portal.model.Role findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
findByCompanyId_PrevAndNext
public static com.liferay.portal.model.Role[] findByCompanyId_PrevAndNext(long roleId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
findByC_N
public static com.liferay.portal.model.Role findByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
fetchByC_N
public static com.liferay.portal.model.Role fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_C_C
public static com.liferay.portal.model.Role findByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
fetchByC_C_C
public static com.liferay.portal.model.Role 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
removeByCompanyId
public static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
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_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
getGroups
public static java.util.List getGroups(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
getGroups
public static java.util.List getGroups(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
getGroups
public static java.util.List getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
getGroupsSize
public static int getGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsGroup
public static boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsGroups
public static boolean containsGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroup
public static void addGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
addGroup
public static void addGroup(long pk,
com.liferay.portal.model.Group group)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
addGroups
public static void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
addGroups
public static void addGroups(long pk,
java.util.List groups)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
clearGroups
public static void clearGroups(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
removeGroup
public static void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
removeGroup
public static void removeGroup(long pk,
com.liferay.portal.model.Group group)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
removeGroups
public static void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
removeGroups
public static void removeGroups(long pk,
java.util.List groups)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
setGroups
public static void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
setGroups
public static void setGroups(long pk,
java.util.List groups)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchGroupException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchRoleException
getPermissions
public static java.util.List getPermissions(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
getPermissions
public static java.util.List getPermissions(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
addPermissions
public static void addPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
addPermissions
public static void addPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
clearPermissions
public static void clearPermissions(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
removePermission
public static void removePermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
removePermissions
public static void removePermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
removePermissions
public static void removePermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
setPermissions
public static void setPermissions(long pk,
long[] permissionPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
setPermissions
public static void setPermissions(long pk,
java.util.List permissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchPermissionException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchRoleException
getUsers
public static java.util.List getUsers(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
getUsers
public static java.util.List getUsers(long pk,
int begin,
int end)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
addUsers
public static void addUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
clearUsers
public static void clearUsers(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
removeUser
public static void removeUser(long pk,
long userPK)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
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.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
removeUsers
public static void removeUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
setUsers
public static void setUsers(long pk,
java.util.List users)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchRoleException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException
getPersistence
public static RolePersistence getPersistence()
setPersistence
public void setPersistence(RolePersistence persistence)