com.liferay.portal.security.permission
Class PermissionCacheUtil
java.lang.Object
com.liferay.portal.security.permission.PermissionCacheUtil
public class PermissionCacheUtil
- extends Object
Method Summary |
static void |
clearCache()
|
static void |
clearLocalCache()
|
static PermissionCheckerBag |
getBag(long userId,
long groupId)
|
static Boolean |
getPermission(long userId,
long groupId,
String name,
String primKey,
String actionId)
|
static PermissionCheckerBag |
putBag(long userId,
long groupId,
PermissionCheckerBag bag)
|
static Boolean |
putPermission(long userId,
long groupId,
String name,
String primKey,
String actionId,
Boolean value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_NAME
public static final String CACHE_NAME
PermissionCacheUtil
public PermissionCacheUtil()
clearCache
public static void clearCache()
clearLocalCache
public static void clearLocalCache()
getBag
public static PermissionCheckerBag getBag(long userId,
long groupId)
getPermission
public static Boolean getPermission(long userId,
long groupId,
String name,
String primKey,
String actionId)
putBag
public static PermissionCheckerBag putBag(long userId,
long groupId,
PermissionCheckerBag bag)
putPermission
public static Boolean putPermission(long userId,
long groupId,
String name,
String primKey,
String actionId,
Boolean value)