com.liferay.portal.service
Class ResourceBlockServiceUtil
java.lang.Object
com.liferay.portal.service.ResourceBlockServiceUtil
public class ResourceBlockServiceUtil
- extends Object
The utility for the resource block remote service. This utility wraps ResourceBlockServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- See Also:
ResourceBlockService
,
ResourceBlockServiceBaseImpl
,
ResourceBlockServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
Method Summary |
static void |
addCompanyScopePermission(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
|
static void |
addGroupScopePermission(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
String actionId)
|
static void |
addIndividualScopePermission(long companyId,
long groupId,
String name,
long primKey,
long roleId,
String actionId)
|
static ResourceBlockService |
getService()
|
static void |
removeAllGroupScopePermissions(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
|
static void |
removeCompanyScopePermission(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
|
static void |
removeGroupScopePermission(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
String actionId)
|
static void |
removeIndividualScopePermission(long companyId,
long groupId,
String name,
long primKey,
long roleId,
String actionId)
|
static void |
setCompanyScopePermissions(long scopeGroupId,
long companyId,
String name,
long roleId,
List<String> actionIds)
|
static void |
setGroupScopePermissions(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
List<String> actionIds)
|
static void |
setIndividualScopePermissions(long companyId,
long groupId,
String name,
long primKey,
long roleId,
List<String> actionIds)
|
static void |
setIndividualScopePermissions(long companyId,
long groupId,
String name,
long primKey,
Map<Long,String[]> roleIdsToActionIds)
|
void |
setService(ResourceBlockService service)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceBlockServiceUtil
public ResourceBlockServiceUtil()
addCompanyScopePermission
public static void addCompanyScopePermission(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addGroupScopePermission
public static void addGroupScopePermission(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addIndividualScopePermission
public static void addIndividualScopePermission(long companyId,
long groupId,
String name,
long primKey,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeAllGroupScopePermissions
public static void removeAllGroupScopePermissions(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeCompanyScopePermission
public static void removeCompanyScopePermission(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeGroupScopePermission
public static void removeGroupScopePermission(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
removeIndividualScopePermission
public static void removeIndividualScopePermission(long companyId,
long groupId,
String name,
long primKey,
long roleId,
String actionId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setCompanyScopePermissions
public static void setCompanyScopePermissions(long scopeGroupId,
long companyId,
String name,
long roleId,
List<String> actionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setGroupScopePermissions
public static void setGroupScopePermissions(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
List<String> actionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setIndividualScopePermissions
public static void setIndividualScopePermissions(long companyId,
long groupId,
String name,
long primKey,
long roleId,
List<String> actionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
setIndividualScopePermissions
public static void setIndividualScopePermissions(long companyId,
long groupId,
String name,
long primKey,
Map<Long,String[]> roleIdsToActionIds)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static ResourceBlockService getService()
setService
public void setService(ResourceBlockService service)