Liferay 6.2-ce-ga5

com.liferay.portal.service
Interface ResourceBlockService

All Superinterfaces:
BaseService
All Known Implementing Classes:
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, com.liferay.portal.service.impl.ResourceBlockServiceImpl

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