com.liferay.portal.service
Interface LockLocalService
- All Known Implementing Classes:
- LockLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface LockLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.LockLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
LockLocalServiceUtil
- Generated:
Method Summary |
Lock |
addLock(Lock lock)
|
void |
clear()
|
Lock |
createLock(long lockId)
|
void |
deleteLock(Lock lock)
|
void |
deleteLock(long lockId)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
Lock |
getLock(long lockId)
|
Lock |
getLock(java.lang.String className,
long key)
|
Lock |
getLock(java.lang.String className,
java.lang.String key)
|
java.util.List<Lock> |
getLocks(int start,
int end)
|
int |
getLocksCount()
|
boolean |
hasLock(long userId,
java.lang.String className,
long key)
|
boolean |
hasLock(long userId,
java.lang.String className,
java.lang.String key)
|
boolean |
isLocked(java.lang.String className,
long key)
|
boolean |
isLocked(java.lang.String className,
java.lang.String key)
|
Lock |
lock(long userId,
java.lang.String className,
long key,
java.lang.String owner,
boolean inheritable,
long expirationTime)
|
Lock |
lock(long userId,
java.lang.String className,
java.lang.String key,
java.lang.String owner,
boolean inheritable,
long expirationTime)
|
Lock |
refresh(java.lang.String uuid,
long expirationTime)
|
void |
unlock(java.lang.String className,
long key)
|
void |
unlock(java.lang.String className,
java.lang.String key)
|
Lock |
updateLock(Lock lock)
|
Lock |
updateLock(Lock lock,
boolean merge)
|
addLock
Lock addLock(Lock lock)
throws SystemException
- Throws:
SystemException
createLock
Lock createLock(long lockId)
deleteLock
void deleteLock(long lockId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteLock
void deleteLock(Lock lock)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getLock
@Transactional(propagation=SUPPORTS,
readOnly=true)
Lock getLock(long lockId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLocks
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Lock> getLocks(int start,
int end)
throws SystemException
- Throws:
SystemException
getLocksCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLocksCount()
throws SystemException
- Throws:
SystemException
updateLock
Lock updateLock(Lock lock)
throws SystemException
- Throws:
SystemException
updateLock
Lock updateLock(Lock lock,
boolean merge)
throws SystemException
- Throws:
SystemException
clear
void clear()
throws SystemException
- Throws:
SystemException
getLock
@Transactional(propagation=SUPPORTS,
readOnly=true)
Lock getLock(java.lang.String className,
long key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getLock
@Transactional(propagation=SUPPORTS,
readOnly=true)
Lock getLock(java.lang.String className,
java.lang.String key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasLock
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasLock(long userId,
java.lang.String className,
long key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasLock
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasLock(long userId,
java.lang.String className,
java.lang.String key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isLocked
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean isLocked(java.lang.String className,
long key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
isLocked
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean isLocked(java.lang.String className,
java.lang.String key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
lock
Lock lock(long userId,
java.lang.String className,
long key,
java.lang.String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
lock
Lock lock(long userId,
java.lang.String className,
java.lang.String key,
java.lang.String owner,
boolean inheritable,
long expirationTime)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
refresh
Lock refresh(java.lang.String uuid,
long expirationTime)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unlock
void unlock(java.lang.String className,
long key)
throws SystemException
- Throws:
SystemException
unlock
void unlock(java.lang.String className,
java.lang.String key)
throws SystemException
- Throws:
SystemException