com.liferay.portal.service.persistence
Interface LockPersistence

All Superinterfaces:
BasePersistence<Lock>

public interface LockPersistence
extends BasePersistence<Lock>

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:
LockPersistenceImpl, LockUtil
Generated:

Method Summary
 void cacheResult(java.util.List<Lock> locks)
           
 void cacheResult(Lock lock)
           
 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)
           
 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 updateImpl(Lock lock, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(Lock lock)

cacheResult

void cacheResult(java.util.List<Lock> locks)

create

Lock create(long lockId)

remove

Lock remove(long lockId)
            throws NoSuchLockException,
                   com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

updateImpl

Lock updateImpl(Lock lock,
                boolean merge)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

Lock findByPrimaryKey(long lockId)
                      throws NoSuchLockException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

Lock fetchByPrimaryKey(long lockId)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<Lock> findByUuid(java.lang.String uuid)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<Lock> findByUuid(java.lang.String uuid,
                                int start,
                                int end)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

java.util.List<Lock> findByUuid(java.lang.String uuid,
                                int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid_First

Lock findByUuid_First(java.lang.String uuid,
                      com.liferay.portal.kernel.util.OrderByComparator obc)
                      throws NoSuchLockException,
                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

findByUuid_Last

Lock findByUuid_Last(java.lang.String uuid,
                     com.liferay.portal.kernel.util.OrderByComparator obc)
                     throws NoSuchLockException,
                            com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

findByUuid_PrevAndNext

Lock[] findByUuid_PrevAndNext(long lockId,
                              java.lang.String uuid,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws NoSuchLockException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

findByExpirationDate

java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByExpirationDate

java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByExpirationDate

java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByExpirationDate_First

Lock findByExpirationDate_First(java.util.Date expirationDate,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchLockException,
                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

findByExpirationDate_Last

Lock findByExpirationDate_Last(java.util.Date expirationDate,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws NoSuchLockException,
                                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

findByExpirationDate_PrevAndNext

Lock[] findByExpirationDate_PrevAndNext(long lockId,
                                        java.util.Date expirationDate,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws NoSuchLockException,
                                               com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

findByC_K

Lock findByC_K(java.lang.String className,
               java.lang.String key)
               throws NoSuchLockException,
                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

fetchByC_K

Lock fetchByC_K(java.lang.String className,
                java.lang.String key)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByC_K

Lock fetchByC_K(java.lang.String className,
                java.lang.String key,
                boolean retrieveFromCache)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Lock> findAll()
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Lock> findAll(int start,
                             int end)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<Lock> findAll(int start,
                             int end,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByExpirationDate

void removeByExpirationDate(java.util.Date expirationDate)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByC_K

void removeByC_K(java.lang.String className,
                 java.lang.String key)
                 throws NoSuchLockException,
                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchLockException
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByExpirationDate

int countByExpirationDate(java.util.Date expirationDate)
                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByC_K

int countByC_K(java.lang.String className,
               java.lang.String key)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException