List of usage examples for com.liferay.portal.kernel.repository Repository getFoldersFileEntriesCount
public int getFoldersFileEntriesCount(List<Long> folderIds, int status) throws PortalException;
From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.java
License:Open Source License
/** * Returns the number of immediate subfolders and file entries across the * folders.// w ww . j a v a 2s .com * * @param repositoryId the primary key of the repository * @param folderIds the primary keys of folders from which to count * immediate subfolders and file entries * @param status the workflow status * @return the number of immediate subfolders and file entries across the * folders * @throws PortalException if the repository could not be found * @throws SystemException if a system exception occurred */ public int getFoldersFileEntriesCount(long repositoryId, List<Long> folderIds, int status) throws PortalException, SystemException { Repository repository = getRepository(repositoryId); return repository.getFoldersFileEntriesCount(folderIds, status); }