Liferay 7.0-ce-b4

com.liferay.portal.service
Class ResourceBlockServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.ResourceBlockServiceWrapper
All Implemented Interfaces:
BaseService, ResourceBlockService, ServiceWrapper<ResourceBlockService>

@ProviderType
public class ResourceBlockServiceWrapper
extends Object
implements ResourceBlockService, ServiceWrapper<ResourceBlockService>

Provides a wrapper for ResourceBlockService.

See Also:
ResourceBlockService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ResourceBlockServiceWrapper(ResourceBlockService resourceBlockService)
           
 
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 getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 ResourceBlockService getWrappedService()
           
 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)
           
 void setWrappedService(ResourceBlockService resourceBlockService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBlockServiceWrapper

public ResourceBlockServiceWrapper(ResourceBlockService resourceBlockService)
Method Detail

addCompanyScopePermission

public void addCompanyScopePermission(long scopeGroupId,
                                      long companyId,
                                      String name,
                                      long roleId,
                                      String actionId)
                               throws PortalException
Specified by:
addCompanyScopePermission in interface ResourceBlockService
Throws:
PortalException

addGroupScopePermission

public void addGroupScopePermission(long scopeGroupId,
                                    long companyId,
                                    long groupId,
                                    String name,
                                    long roleId,
                                    String actionId)
                             throws PortalException
Specified by:
addGroupScopePermission in interface ResourceBlockService
Throws:
PortalException

addIndividualScopePermission

public void addIndividualScopePermission(long companyId,
                                         long groupId,
                                         String name,
                                         long primKey,
                                         long roleId,
                                         String actionId)
                                  throws PortalException
Specified by:
addIndividualScopePermission in interface ResourceBlockService
Throws:
PortalException

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface ResourceBlockService
Returns:
the OSGi service identifier

removeAllGroupScopePermissions

public void removeAllGroupScopePermissions(long scopeGroupId,
                                           long companyId,
                                           String name,
                                           long roleId,
                                           String actionId)
                                    throws PortalException
Specified by:
removeAllGroupScopePermissions in interface ResourceBlockService
Throws:
PortalException

removeCompanyScopePermission

public void removeCompanyScopePermission(long scopeGroupId,
                                         long companyId,
                                         String name,
                                         long roleId,
                                         String actionId)
                                  throws PortalException
Specified by:
removeCompanyScopePermission in interface ResourceBlockService
Throws:
PortalException

removeGroupScopePermission

public void removeGroupScopePermission(long scopeGroupId,
                                       long companyId,
                                       long groupId,
                                       String name,
                                       long roleId,
                                       String actionId)
                                throws PortalException
Specified by:
removeGroupScopePermission in interface ResourceBlockService
Throws:
PortalException

removeIndividualScopePermission

public void removeIndividualScopePermission(long companyId,
                                            long groupId,
                                            String name,
                                            long primKey,
                                            long roleId,
                                            String actionId)
                                     throws PortalException
Specified by:
removeIndividualScopePermission in interface ResourceBlockService
Throws:
PortalException

setCompanyScopePermissions

public void setCompanyScopePermissions(long scopeGroupId,
                                       long companyId,
                                       String name,
                                       long roleId,
                                       List<String> actionIds)
                                throws PortalException
Specified by:
setCompanyScopePermissions in interface ResourceBlockService
Throws:
PortalException

setGroupScopePermissions

public void setGroupScopePermissions(long scopeGroupId,
                                     long companyId,
                                     long groupId,
                                     String name,
                                     long roleId,
                                     List<String> actionIds)
                              throws PortalException
Specified by:
setGroupScopePermissions in interface ResourceBlockService
Throws:
PortalException

setIndividualScopePermissions

public void setIndividualScopePermissions(long companyId,
                                          long groupId,
                                          String name,
                                          long primKey,
                                          long roleId,
                                          List<String> actionIds)
                                   throws PortalException
Specified by:
setIndividualScopePermissions in interface ResourceBlockService
Throws:
PortalException

setIndividualScopePermissions

public void setIndividualScopePermissions(long companyId,
                                          long groupId,
                                          String name,
                                          long primKey,
                                          Map<Long,String[]> roleIdsToActionIds)
                                   throws PortalException
Specified by:
setIndividualScopePermissions in interface ResourceBlockService
Throws:
PortalException

getWrappedService

public ResourceBlockService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<ResourceBlockService>

setWrappedService

public void setWrappedService(ResourceBlockService resourceBlockService)
Specified by:
setWrappedService in interface ServiceWrapper<ResourceBlockService>

Liferay 7.0-ce-b4