Liferay 6.1.10-ee-ga1

com.liferay.portal.service
Interface ResourceBlockService

All Known Implementing Classes:
ResourceBlockServiceBaseImpl, ResourceBlockServiceImpl, ResourceBlockServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ResourceBlockService

The interface for the resource block remote service.

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:
ResourceBlockServiceUtil, ResourceBlockServiceBaseImpl, ResourceBlockServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 void addCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
 void addGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId)
           
 void addIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId)
           
 void removeAllGroupScopePermissions(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
 void removeCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
 void removeGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId)
           
 void removeIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId)
           
 void setCompanyScopePermissions(long scopeGroupId, long companyId, String name, long roleId, List<String> actionIds)
           
 void setGroupScopePermissions(long scopeGroupId, long companyId, long groupId, String name, long roleId, List<String> actionIds)
           
 void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, long roleId, List<String> actionIds)
           
 void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, Map<Long,String[]> roleIdsToActionIds)
           
 

Method Detail

addCompanyScopePermission

void addCompanyScopePermission(long scopeGroupId,
                               long companyId,
                               String name,
                               long roleId,
                               String actionId)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

addGroupScopePermission

void addGroupScopePermission(long scopeGroupId,
                             long companyId,
                             long groupId,
                             String name,
                             long roleId,
                             String actionId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

addIndividualScopePermission

void addIndividualScopePermission(long companyId,
                                  long groupId,
                                  String name,
                                  long primKey,
                                  long roleId,
                                  String actionId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

removeAllGroupScopePermissions

void removeAllGroupScopePermissions(long scopeGroupId,
                                    long companyId,
                                    String name,
                                    long roleId,
                                    String actionId)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

removeCompanyScopePermission

void removeCompanyScopePermission(long scopeGroupId,
                                  long companyId,
                                  String name,
                                  long roleId,
                                  String actionId)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

removeGroupScopePermission

void removeGroupScopePermission(long scopeGroupId,
                                long companyId,
                                long groupId,
                                String name,
                                long roleId,
                                String actionId)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

removeIndividualScopePermission

void removeIndividualScopePermission(long companyId,
                                     long groupId,
                                     String name,
                                     long primKey,
                                     long roleId,
                                     String actionId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

setCompanyScopePermissions

void setCompanyScopePermissions(long scopeGroupId,
                                long companyId,
                                String name,
                                long roleId,
                                List<String> actionIds)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

setGroupScopePermissions

void setGroupScopePermissions(long scopeGroupId,
                              long companyId,
                              long groupId,
                              String name,
                              long roleId,
                              List<String> actionIds)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

setIndividualScopePermissions

void setIndividualScopePermissions(long companyId,
                                   long groupId,
                                   String name,
                                   long primKey,
                                   long roleId,
                                   List<String> actionIds)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

setIndividualScopePermissions

void setIndividualScopePermissions(long companyId,
                                   long groupId,
                                   String name,
                                   long primKey,
                                   Map<Long,String[]> roleIdsToActionIds)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

Liferay 6.1.10-ee-ga1