Liferay 6.0.3

com.liferay.portal.service.persistence
Interface LockPersistence

All Superinterfaces:
BasePersistence<Lock>
All Known Implementing Classes:
LockPersistenceImpl

public interface LockPersistence
extends BasePersistence<Lock>

See Also:
LockPersistenceImpl, LockUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(List<Lock> locks)
           
 void cacheResult(Lock lock)
           
 int countAll()
           
 int countByC_K(String className, String key)
           
 int countByLtExpirationDate(Date expirationDate)
           
 int countByUuid(String uuid)
           
 Lock create(long lockId)
           
 Lock fetchByC_K(String className, String key)
           
 Lock fetchByC_K(String className, String key, boolean retrieveFromCache)
           
 Lock fetchByPrimaryKey(long lockId)
           
 List<Lock> findAll()
           
 List<Lock> findAll(int start, int end)
           
 List<Lock> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Lock findByC_K(String className, String key)
           
 Lock findByLtExpirationDate_First(Date expirationDate, OrderByComparator orderByComparator)
           
 Lock findByLtExpirationDate_Last(Date expirationDate, OrderByComparator orderByComparator)
           
 Lock[] findByLtExpirationDate_PrevAndNext(long lockId, Date expirationDate, OrderByComparator orderByComparator)
           
 List<Lock> findByLtExpirationDate(Date expirationDate)
           
 List<Lock> findByLtExpirationDate(Date expirationDate, int start, int end)
           
 List<Lock> findByLtExpirationDate(Date expirationDate, int start, int end, OrderByComparator orderByComparator)
           
 Lock findByPrimaryKey(long lockId)
           
 Lock findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 Lock findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 Lock[] findByUuid_PrevAndNext(long lockId, String uuid, OrderByComparator orderByComparator)
           
 List<Lock> findByUuid(String uuid)
           
 List<Lock> findByUuid(String uuid, int start, int end)
           
 List<Lock> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
 Lock remove(long lockId)
           
 void removeAll()
           
 void removeByC_K(String className, String key)
           
 void removeByLtExpirationDate(Date expirationDate)
           
 void removeByUuid(String uuid)
           
 Lock updateImpl(Lock lock, 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
 

Method Detail

cacheResult

void cacheResult(Lock lock)

cacheResult

void cacheResult(List<Lock> locks)

create

Lock create(long lockId)

remove

Lock remove(long lockId)
            throws NoSuchLockException,
                   SystemException
Throws:
NoSuchLockException
SystemException

updateImpl

Lock updateImpl(Lock lock,
                boolean merge)
                throws SystemException
Throws:
SystemException

findByPrimaryKey

Lock findByPrimaryKey(long lockId)
                      throws NoSuchLockException,
                             SystemException
Throws:
NoSuchLockException
SystemException

fetchByPrimaryKey

Lock fetchByPrimaryKey(long lockId)
                       throws SystemException
Throws:
SystemException

findByUuid

List<Lock> findByUuid(String uuid)
                      throws SystemException
Throws:
SystemException

findByUuid

List<Lock> findByUuid(String uuid,
                      int start,
                      int end)
                      throws SystemException
Throws:
SystemException

findByUuid

List<Lock> findByUuid(String uuid,
                      int start,
                      int end,
                      OrderByComparator orderByComparator)
                      throws SystemException
Throws:
SystemException

findByUuid_First

Lock findByUuid_First(String uuid,
                      OrderByComparator orderByComparator)
                      throws NoSuchLockException,
                             SystemException
Throws:
NoSuchLockException
SystemException

findByUuid_Last

Lock findByUuid_Last(String uuid,
                     OrderByComparator orderByComparator)
                     throws NoSuchLockException,
                            SystemException
Throws:
NoSuchLockException
SystemException

findByUuid_PrevAndNext

Lock[] findByUuid_PrevAndNext(long lockId,
                              String uuid,
                              OrderByComparator orderByComparator)
                              throws NoSuchLockException,
                                     SystemException
Throws:
NoSuchLockException
SystemException

findByLtExpirationDate

List<Lock> findByLtExpirationDate(Date expirationDate)
                                  throws SystemException
Throws:
SystemException

findByLtExpirationDate

List<Lock> findByLtExpirationDate(Date expirationDate,
                                  int start,
                                  int end)
                                  throws SystemException
Throws:
SystemException

findByLtExpirationDate

List<Lock> findByLtExpirationDate(Date expirationDate,
                                  int start,
                                  int end,
                                  OrderByComparator orderByComparator)
                                  throws SystemException
Throws:
SystemException

findByLtExpirationDate_First

Lock findByLtExpirationDate_First(Date expirationDate,
                                  OrderByComparator orderByComparator)
                                  throws NoSuchLockException,
                                         SystemException
Throws:
NoSuchLockException
SystemException

findByLtExpirationDate_Last

Lock findByLtExpirationDate_Last(Date expirationDate,
                                 OrderByComparator orderByComparator)
                                 throws NoSuchLockException,
                                        SystemException
Throws:
NoSuchLockException
SystemException

findByLtExpirationDate_PrevAndNext

Lock[] findByLtExpirationDate_PrevAndNext(long lockId,
                                          Date expirationDate,
                                          OrderByComparator orderByComparator)
                                          throws NoSuchLockException,
                                                 SystemException
Throws:
NoSuchLockException
SystemException

findByC_K

Lock findByC_K(String className,
               String key)
               throws NoSuchLockException,
                      SystemException
Throws:
NoSuchLockException
SystemException

fetchByC_K

Lock fetchByC_K(String className,
                String key)
                throws SystemException
Throws:
SystemException

fetchByC_K

Lock fetchByC_K(String className,
                String key,
                boolean retrieveFromCache)
                throws SystemException
Throws:
SystemException

findAll

List<Lock> findAll()
                   throws SystemException
Throws:
SystemException

findAll

List<Lock> findAll(int start,
                   int end)
                   throws SystemException
Throws:
SystemException

findAll

List<Lock> findAll(int start,
                   int end,
                   OrderByComparator orderByComparator)
                   throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Throws:
SystemException

removeByLtExpirationDate

void removeByLtExpirationDate(Date expirationDate)
                              throws SystemException
Throws:
SystemException

removeByC_K

void removeByC_K(String className,
                 String key)
                 throws NoSuchLockException,
                        SystemException
Throws:
NoSuchLockException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(String uuid)
                throws SystemException
Throws:
SystemException

countByLtExpirationDate

int countByLtExpirationDate(Date expirationDate)
                            throws SystemException
Throws:
SystemException

countByC_K

int countByC_K(String className,
               String key)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3