com.liferay.portal.service.persistence
Class ResourceActionUtil
java.lang.Object
com.liferay.portal.service.persistence.ResourceActionUtil
public class ResourceActionUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
ResourceActionPersistence
,
ResourceActionPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<ResourceAction> resourceActions)
|
static void |
cacheResult(ResourceAction resourceAction)
|
static void |
clearCache()
|
static void |
clearCache(ResourceAction resourceAction)
|
static int |
countAll()
|
static int |
countByN_A(java.lang.String name,
java.lang.String actionId)
|
static int |
countByName(java.lang.String name)
|
int |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static ResourceAction |
create(long resourceActionId)
|
static ResourceAction |
fetchByN_A(java.lang.String name,
java.lang.String actionId)
|
static ResourceAction |
fetchByN_A(java.lang.String name,
java.lang.String actionId,
boolean retrieveFromCache)
|
static ResourceAction |
fetchByPrimaryKey(long resourceActionId)
|
static java.util.List<ResourceAction> |
findAll()
|
static java.util.List<ResourceAction> |
findAll(int start,
int end)
|
static java.util.List<ResourceAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static ResourceAction |
findByN_A(java.lang.String name,
java.lang.String actionId)
|
static ResourceAction |
findByName_First(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static ResourceAction |
findByName_Last(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static ResourceAction[] |
findByName_PrevAndNext(long resourceActionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<ResourceAction> |
findByName(java.lang.String name)
|
static java.util.List<ResourceAction> |
findByName(java.lang.String name,
int start,
int end)
|
static java.util.List<ResourceAction> |
findByName(java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static ResourceAction |
findByPrimaryKey(long resourceActionId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static ResourceActionPersistence |
getPersistence()
|
static ResourceAction |
remove(long resourceActionId)
|
static ResourceAction |
remove(ResourceAction resourceAction)
|
static void |
removeAll()
|
static void |
removeByN_A(java.lang.String name,
java.lang.String actionId)
|
static void |
removeByName(java.lang.String name)
|
void |
setPersistence(ResourceActionPersistence persistence)
|
static ResourceAction |
update(ResourceAction resourceAction)
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean) . |
static ResourceAction |
update(ResourceAction resourceAction,
boolean merge)
|
static ResourceAction |
updateImpl(ResourceAction resourceAction,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceActionUtil
public ResourceActionUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(ResourceAction resourceAction)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(ResourceAction)
countWithDynamicQuery
public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static ResourceAction remove(ResourceAction resourceAction)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static ResourceAction update(ResourceAction resourceAction,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(ResourceAction resourceAction)
cacheResult
public static void cacheResult(java.util.List<ResourceAction> resourceActions)
create
public static ResourceAction create(long resourceActionId)
remove
public static ResourceAction remove(long resourceActionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
update
public static ResourceAction update(ResourceAction resourceAction)
throws com.liferay.portal.SystemException
- Deprecated. Use
com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
public static ResourceAction updateImpl(ResourceAction resourceAction,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static ResourceAction findByPrimaryKey(long resourceActionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
fetchByPrimaryKey
public static ResourceAction fetchByPrimaryKey(long resourceActionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
public static java.util.List<ResourceAction> findByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
public static java.util.List<ResourceAction> findByName(java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
public static java.util.List<ResourceAction> findByName(java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName_First
public static ResourceAction findByName_First(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
findByName_Last
public static ResourceAction findByName_Last(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
findByName_PrevAndNext
public static ResourceAction[] findByName_PrevAndNext(long resourceActionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
findByN_A
public static ResourceAction findByN_A(java.lang.String name,
java.lang.String actionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
fetchByN_A
public static ResourceAction fetchByN_A(java.lang.String name,
java.lang.String actionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByN_A
public static ResourceAction fetchByN_A(java.lang.String name,
java.lang.String actionId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<ResourceAction> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<ResourceAction> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<ResourceAction> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByName
public static void removeByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByN_A
public static void removeByN_A(java.lang.String name,
java.lang.String actionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByName
public static int countByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByN_A
public static int countByN_A(java.lang.String name,
java.lang.String actionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static ResourceActionPersistence getPersistence()
setPersistence
public void setPersistence(ResourceActionPersistence persistence)