@ProviderType public class ResourceBlockServiceUtil extends Object
com.liferay.portal.service.impl.ResourceBlockServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.ResourceBlockService,
com.liferay.portal.service.base.ResourceBlockServiceBaseImpl,
com.liferay.portal.service.impl.ResourceBlockServiceImpl| Constructor and Description |
|---|
ResourceBlockServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
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 String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
public static String getOSGiServiceIdentifier()
public static void addCompanyScopePermission(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void addGroupScopePermission(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void addIndividualScopePermission(long companyId,
long groupId,
String name,
long primKey,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void removeAllGroupScopePermissions(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void removeCompanyScopePermission(long scopeGroupId,
long companyId,
String name,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void removeGroupScopePermission(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void removeIndividualScopePermission(long companyId,
long groupId,
String name,
long primKey,
long roleId,
String actionId)
throws PortalException
PortalExceptionpublic static void setCompanyScopePermissions(long scopeGroupId,
long companyId,
String name,
long roleId,
List<String> actionIds)
throws PortalException
PortalExceptionpublic static void setGroupScopePermissions(long scopeGroupId,
long companyId,
long groupId,
String name,
long roleId,
List<String> actionIds)
throws PortalException
PortalExceptionpublic static void setIndividualScopePermissions(long companyId,
long groupId,
String name,
long primKey,
Map<Long,String[]> roleIdsToActionIds)
throws PortalException
PortalExceptionpublic static void setIndividualScopePermissions(long companyId,
long groupId,
String name,
long primKey,
long roleId,
List<String> actionIds)
throws PortalException
PortalExceptionpublic static ResourceBlockService getService()