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

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

Introduction

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

Prototype

public int getRepositoryFileEntriesCount(long userId, long rootFolderId, String[] mimeTypes, int status)
            throws PortalException;

Source Link

Usage

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

License:Open Source License

public int getGroupFileEntriesCount(long groupId, long userId, long rootFolderId, String[] mimeTypes,
        int status) throws PortalException, SystemException {

    Repository repository = getRepository(groupId);

    return repository.getRepositoryFileEntriesCount(userId, rootFolderId, mimeTypes, status);
}