Liferay 6.2.0

com.liferay.portal.service
Interface ResourceBlockService

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

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

Provides the remote service interface for ResourceBlock. 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
abstract  void addCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
abstract  void addGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId)
           
abstract  void addIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  void removeAllGroupScopePermissions(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
abstract  void removeCompanyScopePermission(long scopeGroupId, long companyId, String name, long roleId, String actionId)
           
abstract  void removeGroupScopePermission(long scopeGroupId, long companyId, long groupId, String name, long roleId, String actionId)
           
abstract  void removeIndividualScopePermission(long companyId, long groupId, String name, long primKey, long roleId, String actionId)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  void setCompanyScopePermissions(long scopeGroupId, long companyId, String name, long roleId, List<String> actionIds)
           
abstract  void setGroupScopePermissions(long scopeGroupId, long companyId, long groupId, String name, long roleId, List<String> actionIds)
           
abstract  void setIndividualScopePermissions(long companyId, long groupId, String name, long primKey, long roleId, List<String> actionIds)
           
abstract  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.2.0