com.liferay.portal.service
Class ResourceCodeLocalServiceUtil
java.lang.Object
com.liferay.portal.service.ResourceCodeLocalServiceUtil
public class ResourceCodeLocalServiceUtil
- extends Object
This class provides static methods for the
ResourceCodeLocalService 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.
- See Also:
ResourceCodeLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static ResourceCode |
addResourceCode(long companyId,
String name,
int scope)
|
static ResourceCode |
addResourceCode(ResourceCode resourceCode)
|
static void |
checkResourceCodes()
|
static void |
checkResourceCodes(long companyId,
String name)
|
static ResourceCode |
createResourceCode(long codeId)
|
static void |
deleteResourceCode(long codeId)
|
static void |
deleteResourceCode(ResourceCode resourceCode)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static ResourceCode |
getResourceCode(long codeId)
|
static ResourceCode |
getResourceCode(long companyId,
String name,
int scope)
|
static List<ResourceCode> |
getResourceCodes(int start,
int end)
|
static int |
getResourceCodesCount()
|
static ResourceCodeLocalService |
getService()
|
void |
setService(ResourceCodeLocalService service)
|
static ResourceCode |
updateResourceCode(ResourceCode resourceCode)
|
static ResourceCode |
updateResourceCode(ResourceCode resourceCode,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceCodeLocalServiceUtil
public ResourceCodeLocalServiceUtil()
addResourceCode
public static ResourceCode addResourceCode(ResourceCode resourceCode)
throws SystemException
- Throws:
SystemException
createResourceCode
public static ResourceCode createResourceCode(long codeId)
deleteResourceCode
public static void deleteResourceCode(long codeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteResourceCode
public static void deleteResourceCode(ResourceCode resourceCode)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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
getResourceCode
public static ResourceCode getResourceCode(long codeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getResourceCodes
public static List<ResourceCode> getResourceCodes(int start,
int end)
throws SystemException
- Throws:
SystemException
getResourceCodesCount
public static int getResourceCodesCount()
throws SystemException
- Throws:
SystemException
updateResourceCode
public static ResourceCode updateResourceCode(ResourceCode resourceCode)
throws SystemException
- Throws:
SystemException
updateResourceCode
public static ResourceCode updateResourceCode(ResourceCode resourceCode,
boolean merge)
throws SystemException
- Throws:
SystemException
addResourceCode
public static ResourceCode addResourceCode(long companyId,
String name,
int scope)
throws SystemException
- Throws:
SystemException
checkResourceCodes
public static void checkResourceCodes()
throws SystemException
- Throws:
SystemException
checkResourceCodes
public static void checkResourceCodes(long companyId,
String name)
throws SystemException
- Throws:
SystemException
getResourceCode
public static ResourceCode getResourceCode(long companyId,
String name,
int scope)
throws SystemException
- Throws:
SystemException
getService
public static ResourceCodeLocalService getService()
setService
public void setService(ResourceCodeLocalService service)