com.liferay.portal.service
Class ResourceLocalServiceUtil
java.lang.Object
com.liferay.portal.service.ResourceLocalServiceUtil
public class ResourceLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
ResourceLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
ResourceLocalService
- Generated:
Method Summary |
static void |
addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static Resource |
addResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
static Resource |
addResource(Resource resource)
|
static void |
addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addResources(long companyId,
long groupId,
java.lang.String name,
boolean portletActions)
|
static Resource |
createResource(long resourceId)
|
static void |
deleteResource(long resourceId)
|
static void |
deleteResource(long companyId,
java.lang.String name,
int scope,
long primKey)
|
static void |
deleteResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
static void |
deleteResource(Resource resource)
|
static void |
deleteResources(java.lang.String name)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static long |
getLatestResourceId()
|
static Resource |
getResource(long resourceId)
|
static Resource |
getResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
static java.util.List<Resource> |
getResources()
|
static java.util.List<Resource> |
getResources(int start,
int end)
|
static int |
getResourcesCount()
|
static ResourceLocalService |
getService()
|
void |
setService(ResourceLocalService service)
|
static Resource |
updateResource(Resource resource)
|
static Resource |
updateResource(Resource resource,
boolean merge)
|
static void |
updateResources(long companyId,
long groupId,
java.lang.String name,
long primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static 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 |
ResourceLocalServiceUtil
public ResourceLocalServiceUtil()
addResource
public static Resource addResource(Resource resource)
throws SystemException
- Throws:
SystemException
createResource
public static Resource createResource(long resourceId)
deleteResource
public static void deleteResource(long resourceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteResource
public static void deleteResource(Resource resource)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getResource
public static Resource getResource(long resourceId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getResources
public static java.util.List<Resource> getResources(int start,
int end)
throws SystemException
- Throws:
SystemException
getResourcesCount
public static int getResourcesCount()
throws SystemException
- Throws:
SystemException
updateResource
public static Resource updateResource(Resource resource)
throws SystemException
- Throws:
SystemException
updateResource
public static Resource updateResource(Resource resource,
boolean merge)
throws SystemException
- Throws:
SystemException
addModelResources
public static void addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addModelResources
public static 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 PortalException,
SystemException
- Throws:
PortalException
SystemException
addResource
public static Resource addResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws SystemException
- Throws:
SystemException
addResources
public static void addResources(long companyId,
long groupId,
java.lang.String name,
boolean portletActions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addResources
public static void addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addResources
public static void addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteResource
public static void deleteResource(long companyId,
java.lang.String name,
int scope,
long primKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteResource
public static void deleteResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteResources
public static void deleteResources(java.lang.String name)
throws SystemException
- Throws:
SystemException
getLatestResourceId
public static long getLatestResourceId()
throws SystemException
- Throws:
SystemException
getResource
public static Resource getResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getResources
public static java.util.List<Resource> getResources()
throws SystemException
- Throws:
SystemException
updateResources
public static void updateResources(long companyId,
long groupId,
java.lang.String name,
long primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateResources
public static void updateResources(long companyId,
long groupId,
java.lang.String name,
java.lang.String primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static ResourceLocalService getService()
setService
public void setService(ResourceLocalService service)