com.liferay.portal.service.permission
Class OrganizationPermissionUtil
java.lang.Object
com.liferay.portal.service.permission.OrganizationPermissionUtil
public class OrganizationPermissionUtil
- extends Object
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrganizationPermissionUtil
public OrganizationPermissionUtil()
check
public static void check(PermissionChecker permissionChecker,
long organizationId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
check
public static void check(PermissionChecker permissionChecker,
Organization organization,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
contains
public static boolean contains(PermissionChecker permissionChecker,
long organizationId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
contains
public static boolean contains(PermissionChecker permissionChecker,
long[] organizationIds,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
contains
public static boolean contains(PermissionChecker permissionChecker,
Organization organization,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getOrganizationPermission
public static OrganizationPermission getOrganizationPermission()
setOrganizationPermission
public void setOrganizationPermission(OrganizationPermission organizationPermission)