com.liferay.portal.service.persistence
Interface ResourceActionPersistence
- All Superinterfaces:
- BasePersistence<ResourceAction>
public interface ResourceActionPersistence
- extends BasePersistence<ResourceAction>
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:
ResourceActionPersistenceImpl
,
ResourceActionUtil
- Generated:
Method Summary |
void |
cacheResult(java.util.List<ResourceAction> resourceActions)
|
void |
cacheResult(ResourceAction resourceAction)
|
int |
countAll()
|
int |
countByN_A(java.lang.String name,
java.lang.String actionId)
|
int |
countByName(java.lang.String name)
|
ResourceAction |
create(long resourceActionId)
|
ResourceAction |
fetchByN_A(java.lang.String name,
java.lang.String actionId)
|
ResourceAction |
fetchByN_A(java.lang.String name,
java.lang.String actionId,
boolean retrieveFromCache)
|
ResourceAction |
fetchByPrimaryKey(long resourceActionId)
|
java.util.List<ResourceAction> |
findAll()
|
java.util.List<ResourceAction> |
findAll(int start,
int end)
|
java.util.List<ResourceAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ResourceAction |
findByN_A(java.lang.String name,
java.lang.String actionId)
|
ResourceAction |
findByName_First(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ResourceAction |
findByName_Last(java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ResourceAction[] |
findByName_PrevAndNext(long resourceActionId,
java.lang.String name,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
java.util.List<ResourceAction> |
findByName(java.lang.String name)
|
java.util.List<ResourceAction> |
findByName(java.lang.String name,
int start,
int end)
|
java.util.List<ResourceAction> |
findByName(java.lang.String name,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
ResourceAction |
findByPrimaryKey(long resourceActionId)
|
ResourceAction |
remove(long resourceActionId)
|
void |
removeAll()
|
void |
removeByN_A(java.lang.String name,
java.lang.String actionId)
|
void |
removeByName(java.lang.String name)
|
ResourceAction |
update(ResourceAction resourceAction)
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean) . |
ResourceAction |
updateImpl(ResourceAction resourceAction,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(ResourceAction resourceAction)
cacheResult
void cacheResult(java.util.List<ResourceAction> resourceActions)
create
ResourceAction create(long resourceActionId)
remove
ResourceAction remove(long resourceActionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
update
ResourceAction update(ResourceAction resourceAction)
throws com.liferay.portal.SystemException
- Deprecated. Use
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
.
- Throws:
com.liferay.portal.SystemException
updateImpl
ResourceAction updateImpl(ResourceAction resourceAction,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
ResourceAction findByPrimaryKey(long resourceActionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
fetchByPrimaryKey
ResourceAction fetchByPrimaryKey(long resourceActionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
java.util.List<ResourceAction> findByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
java.util.List<ResourceAction> findByName(java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByName
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
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
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
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
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
ResourceAction fetchByN_A(java.lang.String name,
java.lang.String actionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByN_A
ResourceAction fetchByN_A(java.lang.String name,
java.lang.String actionId,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ResourceAction> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<ResourceAction> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
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
void removeByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByN_A
void removeByN_A(java.lang.String name,
java.lang.String actionId)
throws NoSuchResourceActionException,
com.liferay.portal.SystemException
- Throws:
NoSuchResourceActionException
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByName
int countByName(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByN_A
int countByN_A(java.lang.String name,
java.lang.String actionId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException