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

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

Introduction

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

Prototype

public boolean verifyFileEntryLock(long fileEntryId, String lockUuid) throws PortalException;

Source Link

Usage

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

License:Open Source License

public boolean verifyFileEntryLock(long repositoryId, long fileEntryId, String lockUuid)
        throws PortalException, SystemException {

    Repository repository = getRepository(repositoryId);

    return repository.verifyFileEntryLock(fileEntryId, lockUuid);
}