com.liferay.portal.service
Class ResourceLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.ResourceLocalServiceWrapper
All Implemented Interfaces:
ResourceLocalService

public class ResourceLocalServiceWrapper
extends java.lang.Object
implements ResourceLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for ResourceLocalService.

Author:
Brian Wing Shun Chan
See Also:
ResourceLocalService
Generated:

Constructor Summary
ResourceLocalServiceWrapper(ResourceLocalService resourceLocalService)
           
 
Method Summary
 void addModelResources(long companyId, long groupId, long userId, java.lang.String name, long primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addModelResources(long companyId, long groupId, long userId, java.lang.String name, java.lang.String primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 Resource addResource(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 Resource addResource(Resource resource)
           
 void addResources(long companyId, long groupId, long userId, java.lang.String name, long primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addResources(long companyId, long groupId, long userId, java.lang.String name, java.lang.String primKey, boolean portletActions, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addResources(long companyId, long groupId, java.lang.String name, boolean portletActions)
           
 Resource createResource(long resourceId)
           
 void deleteResource(long resourceId)
           
 void deleteResource(long companyId, java.lang.String name, int scope, long primKey)
           
 void deleteResource(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 void deleteResource(Resource resource)
           
 void deleteResources(java.lang.String name)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 long getLatestResourceId()
           
 Resource getResource(long resourceId)
           
 Resource getResource(long companyId, java.lang.String name, int scope, java.lang.String primKey)
           
 java.util.List<Resource> getResources()
           
 java.util.List<Resource> getResources(int start, int end)
           
 int getResourcesCount()
           
 ResourceLocalService getWrappedResourceLocalService()
           
 Resource updateResource(Resource resource)
           
 Resource updateResource(Resource resource, boolean merge)
           
 void updateResources(long companyId, long groupId, java.lang.String name, long primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void updateResources(long companyId, long groupId, java.lang.String name, java.lang.String primKey, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 
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

addResource

public Resource addResource(Resource resource)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createResource

public Resource createResource(long resourceId)
Specified by:
createResource in interface ResourceLocalService

deleteResource

public void deleteResource(long resourceId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteResource

public void deleteResource(Resource resource)
                    throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getResource

public Resource getResource(long resourceId)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
getResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getResources

public java.util.List<Resource> getResources(int start,
                                             int end)
                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getResourcesCount

public int getResourcesCount()
                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getResourcesCount in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateResource

public Resource updateResource(Resource resource)
                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateResource

public Resource updateResource(Resource resource,
                               boolean merge)
                        throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addModelResources

public void addModelResources(long companyId,
                              long groupId,
                              long userId,
                              java.lang.String name,
                              long primKey,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addModelResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addModelResources

public void addModelResources(long companyId,
                              long groupId,
                              long userId,
                              java.lang.String name,
                              java.lang.String primKey,
                              java.lang.String[] communityPermissions,
                              java.lang.String[] guestPermissions)
                       throws com.liferay.portal.kernel.exception.PortalException,
                              com.liferay.portal.kernel.exception.SystemException
Specified by:
addModelResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addResource

public Resource addResource(long companyId,
                            java.lang.String name,
                            int scope,
                            java.lang.String primKey)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         java.lang.String name,
                         boolean portletActions)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
addResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         long userId,
                         java.lang.String name,
                         long primKey,
                         boolean portletActions,
                         boolean addCommunityPermissions,
                         boolean addGuestPermissions)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
addResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

addResources

public void addResources(long companyId,
                         long groupId,
                         long userId,
                         java.lang.String name,
                         java.lang.String primKey,
                         boolean portletActions,
                         boolean addCommunityPermissions,
                         boolean addGuestPermissions)
                  throws com.liferay.portal.kernel.exception.PortalException,
                         com.liferay.portal.kernel.exception.SystemException
Specified by:
addResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteResource

public void deleteResource(long companyId,
                           java.lang.String name,
                           int scope,
                           long primKey)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteResource

public void deleteResource(long companyId,
                           java.lang.String name,
                           int scope,
                           java.lang.String primKey)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteResources

public void deleteResources(java.lang.String name)
                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getLatestResourceId

public long getLatestResourceId()
                         throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getLatestResourceId in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getResource

public Resource getResource(long companyId,
                            java.lang.String name,
                            int scope,
                            java.lang.String primKey)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
getResource in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getResources

public java.util.List<Resource> getResources()
                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateResources

public void updateResources(long companyId,
                            long groupId,
                            java.lang.String name,
                            long primKey,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
updateResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

updateResources

public void updateResources(long companyId,
                            long groupId,
                            java.lang.String name,
                            java.lang.String primKey,
                            java.lang.String[] communityPermissions,
                            java.lang.String[] guestPermissions)
                     throws com.liferay.portal.kernel.exception.PortalException,
                            com.liferay.portal.kernel.exception.SystemException
Specified by:
updateResources in interface ResourceLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWrappedResourceLocalService

public ResourceLocalService getWrappedResourceLocalService()