public class OrganizationPermissionUtil
extends Object
Constructor and Description |
---|
OrganizationPermissionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
check(PermissionChecker permissionChecker,
long organizationId,
String actionId) |
static void |
check(PermissionChecker permissionChecker,
Organization organization,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long[] organizationIds,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
long organizationId,
String actionId) |
static boolean |
contains(PermissionChecker permissionChecker,
Organization organization,
String actionId) |
static OrganizationPermission |
getOrganizationPermission() |
void |
setOrganizationPermission(OrganizationPermission organizationPermission) |
public static void check(PermissionChecker permissionChecker, long organizationId, String actionId) throws PortalException
PortalException
public static void check(PermissionChecker permissionChecker, Organization organization, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, long organizationId, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, long[] organizationIds, String actionId) throws PortalException
PortalException
public static boolean contains(PermissionChecker permissionChecker, Organization organization, String actionId) throws PortalException
PortalException
public static OrganizationPermission getOrganizationPermission()
public void setOrganizationPermission(OrganizationPermission organizationPermission)