public class AlloyPermission
extends java.lang.Object
Constructor and Description |
---|
AlloyPermission() |
Modifier and Type | Method and Description |
---|---|
static void |
check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
java.lang.String name,
long primKey,
java.lang.String actionId) |
static void |
check(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.BaseModel<?> baseModel,
java.lang.String action) |
static void |
check(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String controller,
java.lang.String action) |
static boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
java.lang.String name,
long primKey,
java.lang.String actionId) |
static boolean |
contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long groupId,
java.lang.String name,
long primKey,
java.lang.String actionId,
long ownerId) |
static boolean |
contains(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
com.liferay.portal.kernel.model.BaseModel<?> baseModel,
java.lang.String action) |
static boolean |
contains(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String controller,
java.lang.String action) |
static boolean |
contains(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay,
java.lang.String rootPortletId,
java.lang.String controller,
java.lang.String action) |
protected static java.lang.String |
formatAction(java.lang.String action) |
protected static java.lang.String |
formatActionId(java.lang.String controller,
java.lang.String action) |
protected static long |
getOwnerId(java.lang.String className,
long classPK) |
public static void check(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, java.lang.String name, long primKey, java.lang.String actionId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void check(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.BaseModel<?> baseModel, java.lang.String action) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void check(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.lang.String controller, java.lang.String action) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, java.lang.String name, long primKey, java.lang.String actionId)
public static boolean contains(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, long groupId, java.lang.String name, long primKey, java.lang.String actionId, long ownerId)
public static boolean contains(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, com.liferay.portal.kernel.model.BaseModel<?> baseModel, java.lang.String action)
public static boolean contains(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.lang.String controller, java.lang.String action)
public static boolean contains(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, java.lang.String rootPortletId, java.lang.String controller, java.lang.String action)
protected static java.lang.String formatAction(java.lang.String action)
protected static java.lang.String formatActionId(java.lang.String controller, java.lang.String action)
protected static long getOwnerId(java.lang.String className, long classPK)