com.liferay.portal.service
Class ResourceLocalServiceWrapper
java.lang.Object
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:
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 |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
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 |
ResourceLocalServiceWrapper
public ResourceLocalServiceWrapper(ResourceLocalService resourceLocalService)
addResource
public Resource addResource(Resource resource)
throws com.liferay.portal.SystemException
- Specified by:
addResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
createResource
public Resource createResource(long resourceId)
- Specified by:
createResource
in interface ResourceLocalService
deleteResource
public void deleteResource(long resourceId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResource
public void deleteResource(Resource resource)
throws com.liferay.portal.SystemException
- Specified by:
deleteResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQuery
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Specified by:
dynamicQueryCount
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
getResource
public Resource getResource(long resourceId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getResources
public java.util.List<Resource> getResources(int start,
int end)
throws com.liferay.portal.SystemException
- Specified by:
getResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
getResourcesCount
public int getResourcesCount()
throws com.liferay.portal.SystemException
- Specified by:
getResourcesCount
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
updateResource
public Resource updateResource(Resource resource)
throws com.liferay.portal.SystemException
- Specified by:
updateResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
updateResource
public Resource updateResource(Resource resource,
boolean merge)
throws com.liferay.portal.SystemException
- Specified by:
updateResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addModelResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addModelResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addResource
public Resource addResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Specified by:
addResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
addResources
public void addResources(long companyId,
long groupId,
java.lang.String name,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
addResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
addResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResource
public void deleteResource(long companyId,
java.lang.String name,
int scope,
long primKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResource
public void deleteResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
deleteResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResources
public void deleteResources(java.lang.String name)
throws com.liferay.portal.SystemException
- Specified by:
deleteResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
getLatestResourceId
public long getLatestResourceId()
throws com.liferay.portal.SystemException
- Specified by:
getLatestResourceId
in interface ResourceLocalService
- Throws:
com.liferay.portal.SystemException
getResource
public Resource getResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getResource
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getResources
public java.util.List<Resource> getResources()
throws com.liferay.portal.SystemException
- Specified by:
getResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.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.PortalException,
com.liferay.portal.SystemException
- Specified by:
updateResources
in interface ResourceLocalService
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWrappedResourceLocalService
public ResourceLocalService getWrappedResourceLocalService()