Example usage for com.liferay.portal.kernel.repository Repository unlockFolder

List of usage examples for com.liferay.portal.kernel.repository Repository unlockFolder

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.repository Repository unlockFolder.

Prototype

public void unlockFolder(long folderId, String lockUuid) throws PortalException;

Source Link

Usage

From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.java

License:Open Source License

/**
 * Unlocks the folder. This method is primarily used by WebDAV.
 *
 * @param  repositoryId the primary key of the repository
 * @param  folderId the primary key of the folder
 * @param  lockUuid the lock's universally unique identifier
 * @throws PortalException if the repository or folder could not be found
 * @throws SystemException if a system exception occurred
 *///from  w  w w.  j a v a  2  s .  com
public void unlockFolder(long repositoryId, long folderId, String lockUuid)
        throws PortalException, SystemException {

    Repository repository = getRepository(repositoryId);

    repository.unlockFolder(folderId, lockUuid);
}