public static class PrincipalException.MustHavePermission extends PrincipalException
PrincipalException.MustBeAuthenticated, PrincipalException.MustBeCompanyAdmin, PrincipalException.MustBeEnabled, PrincipalException.MustBeInvokedUsingPost, PrincipalException.MustBeOmniadmin, PrincipalException.MustBePortletStrutsPath, PrincipalException.MustHavePermission
Modifier and Type | Field and Description |
---|---|
String[] |
actionId |
long |
resourceId |
String |
resourceName |
long |
userId |
Constructor and Description |
---|
MustHavePermission(long userId,
String... actionIds) |
MustHavePermission(long userId,
String resourceName,
long resourceId,
String... actionIds) |
MustHavePermission(long userId,
String resourceName,
long resourceId,
Throwable cause,
String... actionIds) |
MustHavePermission(long userId,
Throwable cause,
String... actionIds) |
MustHavePermission(PermissionChecker permissionChecker,
String... actionIds) |
MustHavePermission(PermissionChecker permissionChecker,
String resourceName,
long resourceId,
String... actionIds) |
MustHavePermission(PermissionChecker permissionChecker,
String resourceName,
long resourceId,
Throwable cause,
String... actionIds) |
MustHavePermission(PermissionChecker permissionChecker,
Throwable cause,
String... actionIds) |
getNestedClasses
public final String[] actionId
public final long resourceId
public final String resourceName
public final long userId
public MustHavePermission(long userId, String... actionIds)
public MustHavePermission(long userId, String resourceName, long resourceId, String... actionIds)
public MustHavePermission(long userId, String resourceName, long resourceId, Throwable cause, String... actionIds)
public MustHavePermission(long userId, Throwable cause, String... actionIds)
public MustHavePermission(PermissionChecker permissionChecker, String... actionIds)
public MustHavePermission(PermissionChecker permissionChecker, String resourceName, long resourceId, String... actionIds)
public MustHavePermission(PermissionChecker permissionChecker, String resourceName, long resourceId, Throwable cause, String... actionIds)
public MustHavePermission(PermissionChecker permissionChecker, Throwable cause, String... actionIds)