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 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()
           
 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 SystemException
Specified by:
addLock in interface LockLocalService
Throws:
SystemException

createLock

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

deleteLock

public void deleteLock(long lockId)
                throws PortalException,
                       SystemException
Specified by:
deleteLock in interface LockLocalService
Throws:
PortalException
SystemException

deleteLock

public void deleteLock(Lock lock)
                throws SystemException
Specified by:
deleteLock in interface LockLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Specified by:
dynamicQuery in interface LockLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
dynamicQuery in interface LockLocalService
Throws:
SystemException

dynamicQuery

public java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   OrderByComparator orderByComparator)
                            throws SystemException
Specified by:
dynamicQuery in interface LockLocalService
Throws:
SystemException

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Specified by:
dynamicQueryCount in interface LockLocalService
Throws:
SystemException

getLock

public Lock getLock(long lockId)
             throws PortalException,
                    SystemException
Specified by:
getLock in interface LockLocalService
Throws:
PortalException
SystemException

getLocks

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

getLocksCount

public int getLocksCount()
                  throws SystemException
Specified by:
getLocksCount in interface LockLocalService
Throws:
SystemException

updateLock

public Lock updateLock(Lock lock)
                throws SystemException
Specified by:
updateLock in interface LockLocalService
Throws:
SystemException

updateLock

public Lock updateLock(Lock lock,
                       boolean merge)
                throws SystemException
Specified by:
updateLock in interface LockLocalService
Throws:
SystemException

clear

public void clear()
           throws SystemException
Specified by:
clear in interface LockLocalService
Throws:
SystemException

getLock

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

getLock

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

hasLock

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

hasLock

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

isLocked

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

isLocked

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

lock

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

lock

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

refresh

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

unlock

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

unlock

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

getWrappedLockLocalService

public LockLocalService getWrappedLockLocalService()