Liferay 6.2.0-ce-m3

com.liferay.portal.service
Class ResourceLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.ResourceLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, ResourceLocalService, ServiceWrapper<ResourceLocalService>

public class ResourceLocalServiceWrapper
extends Object
implements ResourceLocalService, ServiceWrapper<ResourceLocalService>

This class is a wrapper for ResourceLocalService.

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

Constructor Summary
ResourceLocalServiceWrapper(ResourceLocalService resourceLocalService)
           
 
Method Summary
 void addModelResources(AuditedModel auditedModel, ServiceContext serviceContext)
           
 void addModelResources(long companyId, long groupId, long userId, String name, long primKey, String[] groupPermissions, String[] guestPermissions)
           
 void addModelResources(long companyId, long groupId, long userId, String name, String primKey, String[] groupPermissions, String[] guestPermissions)
           
 void addResources(long companyId, long groupId, long userId, String name, long primKey, boolean portletActions, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addResources(long companyId, long groupId, long userId, String name, String primKey, boolean portletActions, boolean addGroupPermissions, boolean addGuestPermissions)
           
 void addResources(long companyId, long groupId, String name, boolean portletActions)
           
 void deleteResource(AuditedModel auditedModel, int scope)
           
 void deleteResource(long companyId, String name, int scope, long primKey)
           
 void deleteResource(long companyId, String name, int scope, String primKey)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 Resource getResource(long companyId, String name, int scope, String primKey)
           
 ResourceLocalService getWrappedResourceLocalService()
          Deprecated. Renamed to getWrappedService()
 ResourceLocalService getWrappedService()
           
 boolean hasUserPermissions(long userId, long resourceId, List<Resource> resources, String actionId, long[] roleIds)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedResourceLocalService(ResourceLocalService resourceLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portal.service.ResourceLocalService)
 void setWrappedService(ResourceLocalService resourceLocalService)
           
 void updateModelResources(AuditedModel auditedModel, ServiceContext serviceContext)
           
 void updateResources(long companyId, long groupId, String name, long primKey, String[] groupPermissions, String[] guestPermissions)
           
 void updateResources(long companyId, long groupId, String name, String primKey, String[] groupPermissions, String[] guestPermissions)
           
 void updateResources(long companyId, String name, int scope, String primKey, String newPrimKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceLocalServiceWrapper

public ResourceLocalServiceWrapper(ResourceLocalService resourceLocalService)
Method Detail

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface ResourceLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface ResourceLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addModelResources

public void addModelResources(AuditedModel auditedModel,
                              ServiceContext serviceContext)
                       throws PortalException,
                              SystemException
Specified by:
addModelResources in interface ResourceLocalService
Throws:
PortalException
SystemException

addModelResources

public void addModelResources(long companyId,
                              long groupId,
                              long userId,
                              String name,
                              long primKey,
                              String[] groupPermissions,
                              String[] guestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addModelResources in interface ResourceLocalService
Throws:
PortalException
SystemException

addModelResources

public void addModelResources(long companyId,
                              long groupId,
                              long userId,
                              String name,
                              String primKey,
                              String[] groupPermissions,
                              String[] guestPermissions)
                       throws PortalException,
                              SystemException
Specified by:
addModelResources in interface ResourceLocalService
Throws:
PortalException
SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         long userId,
                         String name,
                         long primKey,
                         boolean portletActions,
                         boolean addGroupPermissions,
                         boolean addGuestPermissions)
                  throws PortalException,
                         SystemException
Specified by:
addResources in interface ResourceLocalService
Throws:
PortalException
SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         long userId,
                         String name,
                         String primKey,
                         boolean portletActions,
                         boolean addGroupPermissions,
                         boolean addGuestPermissions)
                  throws PortalException,
                         SystemException
Specified by:
addResources in interface ResourceLocalService
Throws:
PortalException
SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         String name,
                         boolean portletActions)
                  throws PortalException,
                         SystemException
Specified by:
addResources in interface ResourceLocalService
Throws:
PortalException
SystemException

deleteResource

public void deleteResource(AuditedModel auditedModel,
                           int scope)
                    throws PortalException,
                           SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
PortalException
SystemException

deleteResource

public void deleteResource(long companyId,
                           String name,
                           int scope,
                           long primKey)
                    throws PortalException,
                           SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
PortalException
SystemException

deleteResource

public void deleteResource(long companyId,
                           String name,
                           int scope,
                           String primKey)
                    throws PortalException,
                           SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
PortalException
SystemException

getResource

public Resource getResource(long companyId,
                            String name,
                            int scope,
                            String primKey)
Specified by:
getResource in interface ResourceLocalService

hasUserPermissions

public boolean hasUserPermissions(long userId,
                                  long resourceId,
                                  List<Resource> resources,
                                  String actionId,
                                  long[] roleIds)
                           throws PortalException,
                                  SystemException
Specified by:
hasUserPermissions in interface ResourceLocalService
Throws:
PortalException
SystemException

updateModelResources

public void updateModelResources(AuditedModel auditedModel,
                                 ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Specified by:
updateModelResources in interface ResourceLocalService
Throws:
PortalException
SystemException

updateResources

public void updateResources(long companyId,
                            long groupId,
                            String name,
                            long primKey,
                            String[] groupPermissions,
                            String[] guestPermissions)
                     throws PortalException,
                            SystemException
Specified by:
updateResources in interface ResourceLocalService
Throws:
PortalException
SystemException

updateResources

public void updateResources(long companyId,
                            long groupId,
                            String name,
                            String primKey,
                            String[] groupPermissions,
                            String[] guestPermissions)
                     throws PortalException,
                            SystemException
Specified by:
updateResources in interface ResourceLocalService
Throws:
PortalException
SystemException

updateResources

public void updateResources(long companyId,
                            String name,
                            int scope,
                            String primKey,
                            String newPrimKey)
                     throws SystemException
Specified by:
updateResources in interface ResourceLocalService
Throws:
SystemException

getWrappedResourceLocalService

public ResourceLocalService getWrappedResourceLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedResourceLocalService

public void setWrappedResourceLocalService(ResourceLocalService resourceLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portal.service.ResourceLocalService)


getWrappedService

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

setWrappedService

public void setWrappedService(ResourceLocalService resourceLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<ResourceLocalService>

Liferay 6.2.0-ce-m3