|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LockPersistence
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
LockPersistenceImpl
,
LockUtil
Method Summary | |
---|---|
void |
cacheResult(java.util.List<Lock> locks)
|
void |
cacheResult(Lock lock)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_K(java.lang.String className,
java.lang.String key)
|
int |
countByExpirationDate(java.util.Date expirationDate)
|
int |
countByUuid(java.lang.String uuid)
|
Lock |
create(long lockId)
|
Lock |
fetchByC_K(java.lang.String className,
java.lang.String key)
|
Lock |
fetchByC_K(java.lang.String className,
java.lang.String key,
boolean retrieveFromCache)
|
Lock |
fetchByPrimaryKey(long lockId)
|
java.util.List<Lock> |
findAll()
|
java.util.List<Lock> |
findAll(int start,
int end)
|
java.util.List<Lock> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Lock |
findByC_K(java.lang.String className,
java.lang.String key)
|
Lock |
findByExpirationDate_First(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Lock |
findByExpirationDate_Last(java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Lock[] |
findByExpirationDate_PrevAndNext(long lockId,
java.util.Date expirationDate,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Lock> |
findByExpirationDate(java.util.Date expirationDate)
|
java.util.List<Lock> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
|
java.util.List<Lock> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Lock |
findByPrimaryKey(long lockId)
|
Lock |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Lock |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
Lock[] |
findByUuid_PrevAndNext(long lockId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<Lock> |
findByUuid(java.lang.String uuid)
|
java.util.List<Lock> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
java.util.List<Lock> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
Lock |
remove(Lock lock)
|
Lock |
remove(long lockId)
|
void |
removeAll()
|
void |
removeByC_K(java.lang.String className,
java.lang.String key)
|
void |
removeByExpirationDate(java.util.Date expirationDate)
|
void |
removeByUuid(java.lang.String uuid)
|
Lock |
update(Lock lock)
Deprecated. Use update(Lock, boolean merge) . |
Lock |
update(Lock lock,
boolean merge)
Add, update, or merge, the entity. |
Lock |
updateImpl(Lock lock,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
getListeners, registerListener, unregisterListener |
Method Detail |
---|
void cacheResult(Lock lock)
void cacheResult(java.util.List<Lock> locks)
void clearCache()
clearCache
in interface BasePersistence
Lock create(long lockId)
Lock remove(long lockId) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock remove(Lock lock) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Lock update(Lock lock) throws com.liferay.portal.SystemException
update(Lock, boolean merge)
.
com.liferay.portal.SystemException
Lock update(Lock lock, boolean merge) throws com.liferay.portal.SystemException
lock
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The default
value is false. Setting merge to true is more expensive and
should only be true when lock is transient. See
LEP-5473 for a detailed discussion of this method.
com.liferay.portal.SystemException
Lock updateImpl(Lock lock, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Lock findByPrimaryKey(long lockId) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock fetchByPrimaryKey(long lockId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findByUuid(java.lang.String uuid) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findByUuid(java.lang.String uuid, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Lock findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock[] findByUuid_PrevAndNext(long lockId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Lock findByExpirationDate_First(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock findByExpirationDate_Last(java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock[] findByExpirationDate_PrevAndNext(long lockId, java.util.Date expirationDate, com.liferay.portal.kernel.util.OrderByComparator obc) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock findByC_K(java.lang.String className, java.lang.String key) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
Lock fetchByC_K(java.lang.String className, java.lang.String key) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
Lock fetchByC_K(java.lang.String className, java.lang.String key, boolean retrieveFromCache) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<Lock> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByUuid(java.lang.String uuid) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByExpirationDate(java.util.Date expirationDate) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByC_K(java.lang.String className, java.lang.String key) throws NoSuchLockException, com.liferay.portal.SystemException
NoSuchLockException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByUuid(java.lang.String uuid) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByExpirationDate(java.util.Date expirationDate) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByC_K(java.lang.String className, java.lang.String key) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |