List of usage examples for com.liferay.portal.kernel.repository Repository getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long folderId, int status) throws PortalException;
From source file:com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.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/*from w w w . j a va 2 s . c o m*/ * @return the number of file entries and shortcuts in the folder * @throws PortalException if the folder ould not be found * @throws SystemException if a system exception occurred */ public int getFileEntriesAndFileShortcutsCount(long repositoryId, long folderId, int status) throws PortalException, SystemException { Repository repository = getRepository(repositoryId); return repository.getFileEntriesAndFileShortcutsCount(folderId, status); }