com.liferay.portal.service.persistence
Class LockUtil
java.lang.Object
com.liferay.portal.service.persistence.LockUtil
public class LockUtil
- extends java.lang.Object
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:
LockPersistence
,
LockPersistenceImpl
- Generated:
Method Summary |
static void |
cacheResult(java.util.List<Lock> locks)
|
static void |
cacheResult(Lock lock)
|
static void |
clearCache()
|
static void |
clearCache(Lock lock)
|
static int |
countAll()
|
static int |
countByC_K(java.lang.String className,
java.lang.String key)
|
static int |
countByExpirationDate(java.util.Date expirationDate)
|
static int |
countByUuid(java.lang.String uuid)
|
long |
countWithDynamicQuery(DynamicQuery dynamicQuery)
|
static Lock |
create(long lockId)
|
static Lock |
fetchByC_K(java.lang.String className,
java.lang.String key)
|
static Lock |
fetchByC_K(java.lang.String className,
java.lang.String key,
boolean retrieveFromCache)
|
static Lock |
fetchByPrimaryKey(long lockId)
|
static java.util.List<Lock> |
findAll()
|
static java.util.List<Lock> |
findAll(int start,
int end)
|
static java.util.List<Lock> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
static Lock |
findByC_K(java.lang.String className,
java.lang.String key)
|
static Lock |
findByExpirationDate_First(java.util.Date expirationDate,
OrderByComparator orderByComparator)
|
static Lock |
findByExpirationDate_Last(java.util.Date expirationDate,
OrderByComparator orderByComparator)
|
static Lock[] |
findByExpirationDate_PrevAndNext(long lockId,
java.util.Date expirationDate,
OrderByComparator orderByComparator)
|
static java.util.List<Lock> |
findByExpirationDate(java.util.Date expirationDate)
|
static java.util.List<Lock> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
|
static java.util.List<Lock> |
findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
OrderByComparator orderByComparator)
|
static Lock |
findByPrimaryKey(long lockId)
|
static Lock |
findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
|
static Lock |
findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
|
static Lock[] |
findByUuid_PrevAndNext(long lockId,
java.lang.String uuid,
OrderByComparator orderByComparator)
|
static java.util.List<Lock> |
findByUuid(java.lang.String uuid)
|
static java.util.List<Lock> |
findByUuid(java.lang.String uuid,
int start,
int end)
|
static java.util.List<Lock> |
findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
static java.util.List<Lock> |
findWithDynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List<Lock> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static LockPersistence |
getPersistence()
|
static Lock |
remove(Lock lock)
|
static Lock |
remove(long lockId)
|
static void |
removeAll()
|
static void |
removeByC_K(java.lang.String className,
java.lang.String key)
|
static void |
removeByExpirationDate(java.util.Date expirationDate)
|
static void |
removeByUuid(java.lang.String uuid)
|
void |
setPersistence(LockPersistence persistence)
|
static Lock |
update(Lock lock,
boolean merge)
|
static Lock |
updateImpl(Lock lock,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockUtil
public LockUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
clearCache
public static void clearCache(Lock lock)
- See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Lock)
countWithDynamicQuery
public long countWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<Lock> findWithDynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<Lock> findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Lock remove(Lock lock)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Lock update(Lock lock,
boolean merge)
throws SystemException
- Throws:
SystemException
- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Lock lock)
cacheResult
public static void cacheResult(java.util.List<Lock> locks)
create
public static Lock create(long lockId)
remove
public static Lock remove(long lockId)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
updateImpl
public static Lock updateImpl(Lock lock,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
public static Lock findByPrimaryKey(long lockId)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
fetchByPrimaryKey
public static Lock fetchByPrimaryKey(long lockId)
throws SystemException
- Throws:
SystemException
findByUuid
public static java.util.List<Lock> findByUuid(java.lang.String uuid)
throws SystemException
- Throws:
SystemException
findByUuid
public static java.util.List<Lock> findByUuid(java.lang.String uuid,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByUuid
public static java.util.List<Lock> findByUuid(java.lang.String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByUuid_First
public static Lock findByUuid_First(java.lang.String uuid,
OrderByComparator orderByComparator)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
findByUuid_Last
public static Lock findByUuid_Last(java.lang.String uuid,
OrderByComparator orderByComparator)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
findByUuid_PrevAndNext
public static Lock[] findByUuid_PrevAndNext(long lockId,
java.lang.String uuid,
OrderByComparator orderByComparator)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
findByExpirationDate
public static java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate)
throws SystemException
- Throws:
SystemException
findByExpirationDate
public static java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByExpirationDate
public static java.util.List<Lock> findByExpirationDate(java.util.Date expirationDate,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByExpirationDate_First
public static Lock findByExpirationDate_First(java.util.Date expirationDate,
OrderByComparator orderByComparator)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
findByExpirationDate_Last
public static Lock findByExpirationDate_Last(java.util.Date expirationDate,
OrderByComparator orderByComparator)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
findByExpirationDate_PrevAndNext
public static Lock[] findByExpirationDate_PrevAndNext(long lockId,
java.util.Date expirationDate,
OrderByComparator orderByComparator)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
findByC_K
public static Lock findByC_K(java.lang.String className,
java.lang.String key)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
fetchByC_K
public static Lock fetchByC_K(java.lang.String className,
java.lang.String key)
throws SystemException
- Throws:
SystemException
fetchByC_K
public static Lock fetchByC_K(java.lang.String className,
java.lang.String key,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<Lock> findAll()
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<Lock> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
public static java.util.List<Lock> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByUuid
public static void removeByUuid(java.lang.String uuid)
throws SystemException
- Throws:
SystemException
removeByExpirationDate
public static void removeByExpirationDate(java.util.Date expirationDate)
throws SystemException
- Throws:
SystemException
removeByC_K
public static void removeByC_K(java.lang.String className,
java.lang.String key)
throws NoSuchLockException,
SystemException
- Throws:
NoSuchLockException
SystemException
removeAll
public static void removeAll()
throws SystemException
- Throws:
SystemException
countByUuid
public static int countByUuid(java.lang.String uuid)
throws SystemException
- Throws:
SystemException
countByExpirationDate
public static int countByExpirationDate(java.util.Date expirationDate)
throws SystemException
- Throws:
SystemException
countByC_K
public static int countByC_K(java.lang.String className,
java.lang.String key)
throws SystemException
- Throws:
SystemException
countAll
public static int countAll()
throws SystemException
- Throws:
SystemException
getPersistence
public static LockPersistence getPersistence()
setPersistence
public void setPersistence(LockPersistence persistence)