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