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
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
RolePersistence
,
RolePersistenceImpl
- Generated:
Method Summary |
static void |
addGroup(long pk,
Group group)
|
static void |
addGroup(long pk,
long groupPK)
|
static void |
addGroups(long pk,
java.util.List<Group> groups)
|
static void |
addGroups(long pk,
long[] groupPKs)
|
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 |
addUser(long pk,
long userPK)
|
static void |
addUser(long pk,
User user)
|
static void |
addUsers(long pk,
java.util.List<User> users)
|
static void |
addUsers(long pk,
long[] userPKs)
|
static void |
cacheResult(java.util.List<Role> roles)
|
static void |
cacheResult(Role role)
|
static void |
clearCache()
|
static void |
clearCache(Role role)
|
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 int |
countBySubtype(java.lang.String subtype)
|
static int |
countByT_S(int type,
java.lang.String subtype)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static Role |
create(long roleId)
|
static Role |
fetchByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Role |
fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
|
static Role |
fetchByC_N(long companyId,
java.lang.String name)
|
static Role |
fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
|
static Role |
fetchByPrimaryKey(long roleId)
|
static java.util.List<Role> |
findAll()
|
static java.util.List<Role> |
findAll(int start,
int end)
|
static java.util.List<Role> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role |
findByC_C_C(long companyId,
long classNameId,
long classPK)
|
static Role |
findByC_N(long companyId,
java.lang.String name)
|
static Role |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role[] |
findByCompanyId_PrevAndNext(long roleId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Role> |
findByCompanyId(long companyId)
|
static java.util.List<Role> |
findByCompanyId(long companyId,
int start,
int end)
|
static java.util.List<Role> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role |
findByPrimaryKey(long roleId)
|
static Role |
findBySubtype_First(java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role |
findBySubtype_Last(java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role[] |
findBySubtype_PrevAndNext(long roleId,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Role> |
findBySubtype(java.lang.String subtype)
|
static java.util.List<Role> |
findBySubtype(java.lang.String subtype,
int start,
int end)
|
static java.util.List<Role> |
findBySubtype(java.lang.String subtype,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role |
findByT_S_First(int type,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role |
findByT_S_Last(int type,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Role[] |
findByT_S_PrevAndNext(long roleId,
int type,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Role> |
findByT_S(int type,
java.lang.String subtype)
|
static java.util.List<Role> |
findByT_S(int type,
java.lang.String subtype,
int start,
int end)
|
static java.util.List<Role> |
findByT_S(int type,
java.lang.String subtype,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
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<Group> |
getGroups(long pk)
|
static java.util.List<Group> |
getGroups(long pk,
int start,
int end)
|
static java.util.List<Group> |
getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getGroupsSize(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 orderByComparator)
|
static int |
getPermissionsSize(long pk)
|
static RolePersistence |
getPersistence()
|
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 orderByComparator)
|
static int |
getUsersSize(long pk)
|
static Role |
remove(long roleId)
|
static Role |
remove(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 |
removeBySubtype(java.lang.String subtype)
|
static void |
removeByT_S(int type,
java.lang.String subtype)
|
static void |
removeGroup(long pk,
Group group)
|
static void |
removeGroup(long pk,
long groupPK)
|
static void |
removeGroups(long pk,
java.util.List<Group> groups)
|
static void |
removeGroups(long pk,
long[] groupPKs)
|
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 |
removeUser(long pk,
long userPK)
|
static void |
removeUser(long pk,
User user)
|
static void |
removeUsers(long pk,
java.util.List<User> users)
|
static void |
removeUsers(long pk,
long[] userPKs)
|
static void |
setGroups(long pk,
java.util.List<Group> groups)
|
static void |
setGroups(long pk,
long[] groupPKs)
|
static void |
setPermissions(long pk,
java.util.List<Permission> permissions)
|
static void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setPersistence(RolePersistence persistence)
|
static void |
setUsers(long pk,
java.util.List<User> users)
|
static void |
setUsers(long pk,
long[] userPKs)
|
static Role |
update(Role role)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static Role |
update(Role role,
boolean merge)
|
static Role |
updateImpl(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()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Role role)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Role)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
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
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
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
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Role remove(Role role)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Role update(Role role,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Role role)
cacheResult
public static void cacheResult(java.util.List<Role> roles)
create
public static Role create(long roleId)
remove
public static Role remove(long roleId)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
update
public static Role update(Role role)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static Role updateImpl(Role role,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static Role findByPrimaryKey(long roleId)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static Role fetchByPrimaryKey(long roleId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<Role> findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<Role> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List<Role> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId_First
public static Role findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByCompanyId_Last
public static Role findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByCompanyId_PrevAndNext
public static Role[] findByCompanyId_PrevAndNext(long roleId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findBySubtype
public static java.util.List<Role> findBySubtype(java.lang.String subtype)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySubtype
public static java.util.List<Role> findBySubtype(java.lang.String subtype,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySubtype
public static java.util.List<Role> findBySubtype(java.lang.String subtype,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findBySubtype_First
public static Role findBySubtype_First(java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findBySubtype_Last
public static Role findBySubtype_Last(java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findBySubtype_PrevAndNext
public static Role[] findBySubtype_PrevAndNext(long roleId,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByC_N
public static Role findByC_N(long companyId,
java.lang.String name)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
fetchByC_N
public static Role fetchByC_N(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_N
public static Role fetchByC_N(long companyId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_S
public static java.util.List<Role> findByT_S(int type,
java.lang.String subtype)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_S
public static java.util.List<Role> findByT_S(int type,
java.lang.String subtype,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_S
public static java.util.List<Role> findByT_S(int type,
java.lang.String subtype,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByT_S_First
public static Role findByT_S_First(int type,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByT_S_Last
public static Role findByT_S_Last(int type,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByT_S_PrevAndNext
public static Role[] findByT_S_PrevAndNext(long roleId,
int type,
java.lang.String subtype,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
findByC_C_C
public static Role findByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
fetchByC_C_C
public static Role fetchByC_C_C(long companyId,
long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByC_C_C
public static Role fetchByC_C_C(long companyId,
long classNameId,
long classPK,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Role> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Role> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<Role> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
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
removeBySubtype
public static void removeBySubtype(java.lang.String subtype)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_N
public static void removeByC_N(long companyId,
java.lang.String name)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
removeByT_S
public static void removeByT_S(int type,
java.lang.String subtype)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_C_C
public static void removeByC_C_C(long companyId,
long classNameId,
long classPK)
throws NoSuchRoleException,
com.liferay.portal.SystemException
- Throws:
NoSuchRoleException
com.liferay.portal.SystemException
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
countBySubtype
public static int countBySubtype(java.lang.String subtype)
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
countByT_S
public static int countByT_S(int type,
java.lang.String subtype)
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<Group> getGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroups
public static java.util.List<Group> getGroups(long pk,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroups
public static java.util.List<Group> getGroups(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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
- Throws:
com.liferay.portal.SystemException
addGroup
public static void addGroup(long pk,
Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroups
public static void addGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroups
public static void addGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
clearGroups
public static void clearGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeGroup
public static void removeGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeGroup
public static void removeGroup(long pk,
Group group)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeGroups
public static void removeGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeGroups
public static void removeGroups(long pk,
java.util.List<Group> groups)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setGroups
public static void setGroups(long pk,
long[] groupPKs)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
setGroups
public static void setGroups(long pk,
java.util.List<Group> groups)
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 orderByComparator)
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
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 orderByComparator)
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 RolePersistence getPersistence()
setPersistence
public void setPersistence(RolePersistence persistence)