Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface ResourceBlockService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ResourceBlockServiceBaseImpl, ResourceBlockServiceImpl, ResourceBlockServiceWrapper

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

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)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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 setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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.2-ce-ga3