com.liferay.portal.service
Class LockLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.LockLocalServiceWrapper
All Implemented Interfaces:
LockLocalService

public class LockLocalServiceWrapper
extends java.lang.Object
implements LockLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for LockLocalService.

Author:
Brian Wing Shun Chan
See Also:
LockLocalService
Generated:

Constructor Summary
LockLocalServiceWrapper(LockLocalService lockLocalService)
           
 
Method Summary
 Lock addLock(Lock lock)
           
 void clear()
           
 Lock createLock(long lockId)
           
 void deleteLock(Lock lock)
           
 void deleteLock(long lockId)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 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()
           
 LockLocalService getWrappedLockLocalService()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockLocalServiceWrapper

public LockLocalServiceWrapper(LockLocalService lockLocalService)
Method Detail

addLock

public Lock addLock(Lock lock)
             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
addLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

createLock

public Lock createLock(long lockId)
Specified by:
createLock in interface LockLocalService

deleteLock

public void deleteLock(long lockId)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

deleteLock

public void deleteLock(Lock lock)
                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
deleteLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

dynamicQuery

public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                     int start,
                                                     int end)
                                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
dynamicQuery in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getLock

public Lock getLock(long lockId)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
getLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getLocks

public java.util.List<Lock> getLocks(int start,
                                     int end)
                              throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getLocks in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getLocksCount

public int getLocksCount()
                  throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getLocksCount in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLock

public Lock updateLock(Lock lock)
                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

updateLock

public Lock updateLock(Lock lock,
                       boolean merge)
                throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

clear

public void clear()
           throws com.liferay.portal.kernel.exception.SystemException
Specified by:
clear in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getLock

public Lock getLock(java.lang.String className,
                    long key)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
getLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getLock

public Lock getLock(java.lang.String className,
                    java.lang.String key)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
getLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

hasLock

public boolean hasLock(long userId,
                       java.lang.String className,
                       long key)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException
Specified by:
hasLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

hasLock

public boolean hasLock(long userId,
                       java.lang.String className,
                       java.lang.String key)
                throws com.liferay.portal.kernel.exception.PortalException,
                       com.liferay.portal.kernel.exception.SystemException
Specified by:
hasLock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

isLocked

public boolean isLocked(java.lang.String className,
                        long key)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
isLocked in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

isLocked

public boolean isLocked(java.lang.String className,
                        java.lang.String key)
                 throws com.liferay.portal.kernel.exception.PortalException,
                        com.liferay.portal.kernel.exception.SystemException
Specified by:
isLocked in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

lock

public Lock lock(long userId,
                 java.lang.String className,
                 long key,
                 java.lang.String owner,
                 boolean inheritable,
                 long expirationTime)
          throws com.liferay.portal.kernel.exception.PortalException,
                 com.liferay.portal.kernel.exception.SystemException
Specified by:
lock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

lock

public Lock lock(long userId,
                 java.lang.String className,
                 java.lang.String key,
                 java.lang.String owner,
                 boolean inheritable,
                 long expirationTime)
          throws com.liferay.portal.kernel.exception.PortalException,
                 com.liferay.portal.kernel.exception.SystemException
Specified by:
lock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

refresh

public Lock refresh(java.lang.String uuid,
                    long expirationTime)
             throws com.liferay.portal.kernel.exception.PortalException,
                    com.liferay.portal.kernel.exception.SystemException
Specified by:
refresh in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

unlock

public void unlock(java.lang.String className,
                   long key)
            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
unlock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

unlock

public void unlock(java.lang.String className,
                   java.lang.String key)
            throws com.liferay.portal.kernel.exception.SystemException
Specified by:
unlock in interface LockLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getWrappedLockLocalService

public LockLocalService getWrappedLockLocalService()