List of usage examples for com.liferay.portal.kernel.repository DocumentRepository getFileEntriesAndFileShortcutsCount
public int getFileEntriesAndFileShortcutsCount(long folderId, int status) throws PortalException;
From source file:com.liferay.document.library.internal.trash.DLBaseTrashHandler.java
License:Open Source License
@Override public int getTrashContainedModelsCount(long classPK) throws PortalException { DocumentRepository documentRepository = getDocumentRepository(classPK); return documentRepository.getFileEntriesAndFileShortcutsCount(classPK, WorkflowConstants.STATUS_IN_TRASH); }
From source file:com.liferay.document.library.internal.trash.DLBaseTrashHandler.java
License:Open Source License
@Override public int getTrashModelsCount(long classPK) throws PortalException { DocumentRepository documentRepository = getDocumentRepository(classPK); return documentRepository.getFileEntriesAndFileShortcutsCount(classPK, WorkflowConstants.STATUS_IN_TRASH); }