public class AccountPermissionUtil
extends Object
Constructor and Description |
---|
AccountPermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
check(PermissionChecker permissionChecker,
Account account,
String actionId) |
static void |
check(PermissionChecker permissionChecker,
long accountId,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
Account account,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long accountId,
String actionId) |
static AccountPermission |
getAccountPermission() |
void |
setAccountPermission(AccountPermission accountPermission) |
public static void check(PermissionChecker permissionChecker, Account account, String actionId) throws PortalException
PortalException
public static void check(PermissionChecker permissionChecker, long accountId, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, Account account, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, long accountId, String actionId) throws PortalException
PortalException
public static AccountPermission getAccountPermission()
public void setAccountPermission(AccountPermission accountPermission)