List of usage examples for com.liferay.portal.kernel.repository Repository verifyInheritableLock
public boolean verifyInheritableLock(long folderId, String lockUuid) throws PortalException;
From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.java
License:Open Source License
/** * Returns <code>true</code> if the inheritable lock exists. This method is * primarily used by WebDAV.//from w w w. j a v a 2 s .com * * @param repositoryId the primary key for the repository * @param folderId the primary key for the folder * @param lockUuid the lock's universally unique identifier * @return <code>true</code> if the inheritable lock exists; * <code>false</code> otherwise * @throws PortalException if the folder could not be found * @throws SystemException if a system exception occurred */ public boolean verifyInheritableLock(long repositoryId, long folderId, String lockUuid) throws PortalException, SystemException { Repository repository = getRepository(repositoryId); return repository.verifyInheritableLock(folderId, lockUuid); }