com.liferay.portal.service.permission
Class UserPermissionUtil
java.lang.Object
com.liferay.portal.service.permission.UserPermissionUtil
public class UserPermissionUtil
- extends Object
Method Summary |
static void |
check(PermissionChecker permissionChecker,
long userId,
long[] organizationIds,
String actionId)
|
static void |
check(PermissionChecker permissionChecker,
long userId,
long organizationId,
long locationId,
String actionId)
Deprecated. As of 6.1.0 |
static void |
check(PermissionChecker permissionChecker,
long userId,
String actionId)
|
static boolean |
contains(PermissionChecker permissionChecker,
long userId,
long[] organizationIds,
String actionId)
|
static boolean |
contains(PermissionChecker permissionChecker,
long userId,
long organizationId,
long locationId,
String actionId)
Deprecated. As of 6.1.0 |
static boolean |
contains(PermissionChecker permissionChecker,
long userId,
String actionId)
|
static UserPermission |
getUserPermission()
|
void |
setUserPermission(UserPermission userPermission)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPermissionUtil
public UserPermissionUtil()
check
public static void check(PermissionChecker permissionChecker,
long userId,
long organizationId,
long locationId,
String actionId)
throws PrincipalException
- Deprecated. As of 6.1.0
- Throws:
PrincipalException
check
public static void check(PermissionChecker permissionChecker,
long userId,
long[] organizationIds,
String actionId)
throws PrincipalException
- Throws:
PrincipalException
check
public static void check(PermissionChecker permissionChecker,
long userId,
String actionId)
throws PrincipalException
- Throws:
PrincipalException
contains
public static boolean contains(PermissionChecker permissionChecker,
long userId,
long organizationId,
long locationId,
String actionId)
- Deprecated. As of 6.1.0
contains
public static boolean contains(PermissionChecker permissionChecker,
long userId,
long[] organizationIds,
String actionId)
contains
public static boolean contains(PermissionChecker permissionChecker,
long userId,
String actionId)
getUserPermission
public static UserPermission getUserPermission()
setUserPermission
public void setUserPermission(UserPermission userPermission)