com.liferay.portal.service.persistence
Interface ResourceActionPersistence
- All Superinterfaces:
- BasePersistence<ResourceAction>
- All Known Implementing Classes:
- ResourceActionPersistenceImpl
public interface ResourceActionPersistence
- extends BasePersistence<ResourceAction>
- See Also:
ResourceActionPersistenceImpl,
ResourceActionUtil- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
void |
cacheResult(List<ResourceAction> resourceActions)
|
void |
cacheResult(ResourceAction resourceAction)
|
int |
countAll()
|
int |
countByN_A(String name,
String actionId)
|
int |
countByName(String name)
|
ResourceAction |
create(long resourceActionId)
|
ResourceAction |
fetchByN_A(String name,
String actionId)
|
ResourceAction |
fetchByN_A(String name,
String actionId,
boolean retrieveFromCache)
|
ResourceAction |
fetchByPrimaryKey(long resourceActionId)
|
List<ResourceAction> |
findAll()
|
List<ResourceAction> |
findAll(int start,
int end)
|
List<ResourceAction> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
ResourceAction |
findByN_A(String name,
String actionId)
|
ResourceAction |
findByName_First(String name,
OrderByComparator orderByComparator)
|
ResourceAction |
findByName_Last(String name,
OrderByComparator orderByComparator)
|
ResourceAction[] |
findByName_PrevAndNext(long resourceActionId,
String name,
OrderByComparator orderByComparator)
|
List<ResourceAction> |
findByName(String name)
|
List<ResourceAction> |
findByName(String name,
int start,
int end)
|
List<ResourceAction> |
findByName(String name,
int start,
int end,
OrderByComparator orderByComparator)
|
ResourceAction |
findByPrimaryKey(long resourceActionId)
|
ResourceAction |
remove(long resourceActionId)
|
void |
removeAll()
|
void |
removeByN_A(String name,
String actionId)
|
void |
removeByName(String name)
|
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, update |
cacheResult
void cacheResult(ResourceAction resourceAction)
cacheResult
void cacheResult(List<ResourceAction> resourceActions)
create
ResourceAction create(long resourceActionId)
remove
ResourceAction remove(long resourceActionId)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
updateImpl
ResourceAction updateImpl(ResourceAction resourceAction,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
ResourceAction findByPrimaryKey(long resourceActionId)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
fetchByPrimaryKey
ResourceAction fetchByPrimaryKey(long resourceActionId)
throws SystemException
- Throws:
SystemException
findByName
List<ResourceAction> findByName(String name)
throws SystemException
- Throws:
SystemException
findByName
List<ResourceAction> findByName(String name,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByName
List<ResourceAction> findByName(String name,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByName_First
ResourceAction findByName_First(String name,
OrderByComparator orderByComparator)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
findByName_Last
ResourceAction findByName_Last(String name,
OrderByComparator orderByComparator)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
findByName_PrevAndNext
ResourceAction[] findByName_PrevAndNext(long resourceActionId,
String name,
OrderByComparator orderByComparator)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
findByN_A
ResourceAction findByN_A(String name,
String actionId)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
fetchByN_A
ResourceAction fetchByN_A(String name,
String actionId)
throws SystemException
- Throws:
SystemException
fetchByN_A
ResourceAction fetchByN_A(String name,
String actionId,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
List<ResourceAction> findAll()
throws SystemException
- Throws:
SystemException
findAll
List<ResourceAction> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
List<ResourceAction> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByName
void removeByName(String name)
throws SystemException
- Throws:
SystemException
removeByN_A
void removeByN_A(String name,
String actionId)
throws NoSuchResourceActionException,
SystemException
- Throws:
NoSuchResourceActionException
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByName
int countByName(String name)
throws SystemException
- Throws:
SystemException
countByN_A
int countByN_A(String name,
String actionId)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException