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

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

Introduction

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

Prototype

public int getFoldersAndFileEntriesAndFileShortcutsCount(long folderId, int status, String[] mimeTypes,
            boolean includeMountFolders) throws PortalException;

Source Link

Usage

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

License:Open Source License

public int getFoldersAndFileEntriesAndFileShortcutsCount(long repositoryId, long folderId, int status,
        String[] mimeTypes, boolean includeMountFolders) throws PortalException, SystemException {

    Repository repository = getRepository(repositoryId);

    return repository.getFoldersAndFileEntriesAndFileShortcutsCount(folderId, status, mimeTypes,
            includeMountFolders);/* w  ww.ja v a  2 s  .  c om*/
}