@ProviderType
public class ResourceBlockServiceUtil
extends Object
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
,
ResourceBlockServiceBaseImpl
,
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 void addCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId) throws PortalException
PortalException
public static void addGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId) throws PortalException
PortalException
public static void addIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static void removeAllGroupScopePermissions(long scopeGroupId, long companyId, String name, long roleId, String actionId) throws PortalException
PortalException
public static void removeCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId) throws PortalException
PortalException
public static void removeGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId) throws PortalException
PortalException
public static void removeIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId) throws PortalException
PortalException
public static void setCompanyScopePermissions(long scopeGroupId, long companyId, String name, long roleId, List<String> actionIds) throws PortalException
PortalException
public static void setGroupScopePermissions(long scopeGroupId, long companyId, long groupId, String name, long roleId, List<String> actionIds) throws PortalException
PortalException
public static void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, long roleId, List<String> actionIds) throws PortalException
PortalException
public static void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, Map<Long,String[]> roleIdsToActionIds) throws PortalException
PortalException
public static ResourceBlockService getService()