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

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

Introduction

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

Prototype

public List<FileEntry> getRepositoryFileEntries(long userId, long rootFolderId, String[] mimeTypes, int status,
            int start, int end, OrderByComparator<FileEntry> obc) throws PortalException;

Source Link

Usage

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

License:Open Source License

public List<FileEntry> getGroupFileEntries(long groupId, long userId, long rootFolderId, String[] mimeTypes,
        int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException {

    Repository repository = getRepository(groupId);

    return repository.getRepositoryFileEntries(userId, rootFolderId, mimeTypes, status, start, end, obc);
}