Liferay 6.2-ce-ga5

com.liferay.portal.service.permission
Class UserPermissionUtil

java.lang.Object
  extended by com.liferay.portal.service.permission.UserPermissionUtil

public class UserPermissionUtil
extends Object


Constructor Summary
UserPermissionUtil()
           
 
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
 

Constructor Detail

UserPermissionUtil

public UserPermissionUtil()
Method Detail

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)

Liferay 6.2-ce-ga5