List of usage examples for com.liferay.portal.kernel.repository LocalRepository getFileEntriesCount
public int getFileEntriesCount(long folderId) throws PortalException;
From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.java
License:Open Source License
/** * Returns the number of file entries in the folder. * * @param repositoryId the primary key of the file entry's repository * @param folderId the primary key of the file entry's folder * @return the number of file entries in the folder * @throws PortalException if the folder could not be found * @throws SystemException if a system exception occurred *///ww w . j av a 2s . co m public int getFileEntriesCount(long repositoryId, long folderId) throws PortalException, SystemException { LocalRepository localRepository = getLocalRepository(repositoryId); return localRepository.getFileEntriesCount(folderId); }