Example usage for com.liferay.portal.kernel.repository.capabilities TemporaryFileEntriesScope getCallerUuid

List of usage examples for com.liferay.portal.kernel.repository.capabilities TemporaryFileEntriesScope getCallerUuid

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.repository.capabilities TemporaryFileEntriesScope getCallerUuid.

Prototype

public UUID getCallerUuid() 

Source Link

Usage

From source file:com.liferay.document.library.internal.repository.capabilities.TemporaryFileEntriesCapabilityImpl.java

License:Open Source License

private String _getFolderPath(TemporaryFileEntriesScope temporaryFileEntriesScope) {

    StringBundler sb = new StringBundler(7);

    sb.append(_FOLDER_NAME_TEMP);/*from w w w. j  a v a 2  s. c  o m*/
    sb.append(StringPool.SLASH);
    sb.append(temporaryFileEntriesScope.getCallerUuid());
    sb.append(StringPool.SLASH);
    sb.append(temporaryFileEntriesScope.getUserId());
    sb.append(StringPool.SLASH);
    sb.append(temporaryFileEntriesScope.getFolderPath());

    return sb.toString();
}