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

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

Introduction

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

Prototype

public List<RepositoryEntry> getFoldersAndFileEntriesAndFileShortcuts(long folderId, int status,
            String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator<?> obc)
            throws PortalException;

Source Link

Usage

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

License:Open Source License

public List<Object> getFoldersAndFileEntriesAndFileShortcuts(long repositoryId, long folderId, int status,
        String[] mimeTypes, boolean includeMountFolders, int start, int end, OrderByComparator obc)
        throws PortalException, SystemException {

    Repository repository = getRepository(repositoryId);

    return repository.getFoldersAndFileEntriesAndFileShortcuts(folderId, status, mimeTypes, includeMountFolders,
            start, end, obc);//from www  .jav a 2s  . c om
}