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;
public com.liferay.portal.model.Lock lock(java.lang.String className,
<BUG>java.lang.String key, java.lang.String owner,

boolean retrieveFromCache, boolean replaceOldLock, boolean[] isNewLock,
java.lang.String oldOwner)
throws com.liferay.portal.kernel.exception.SystemException;</BUG>
public com.liferay.portal.model.Lock refresh(java.lang.String uuid,

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;
public com.liferay.portal.model.Lock lock(java.lang.String className,
java.lang.String key, java.lang.String oldOwner,
java.lang.String newOwner, boolean retrieveFromCache,
boolean replaceOldLock)
throws com.liferay.portal.kernel.exception.SystemException;
public com.liferay.portal.model.Lock refresh(java.lang.String uuid,
