public interface DocumentFinder
| Modifier and Type | Method and Description |
|---|---|
WfDocument |
findByFileId(Long fileId,
Long documentClassId)
Pobiera dokument po id pliku
|
CountedResult<WfDocument> |
findByIndexes(Long documentClassId,
List<IndexFilter> indexFilters,
List<Sorter> sorters,
Integer start,
Integer limit,
String... joins)
Wyszukuje dokumenty o podanych parametrach.
|
CountedResult<WfDocument> |
findByIndexes(Long documentClassId,
Map<Long,Object> indexes,
List<Sorter> sorters,
Integer start,
Integer limit,
String... joins)
Wyszukuje dokumenty o podanych indeksach
|
CountedResult<WfDocument> |
findByIndexesForUser(String username,
Long documentClassId,
List<IndexFilter> indexFilters,
List<Sorter> sorters,
Integer start,
Integer limit,
String... joins)
Wyszukuje dokumenty o podanych parametrach.
|
CountedResult<WfDocument> |
findByIndexesForUser(String username,
Long documentClassId,
Map<Long,Object> indexes,
List<Sorter> sorters,
Integer start,
Integer limit,
String... joins)
Wyszukuje dokumenty o podanych parametrach.
|
List<WfDocument> |
findExpiredDocuments()
Wyszukuje dokumenty, których termin ważności się zakończył
|
WfDocument |
findOneByIndexes(Long documentClassId,
List<IndexFilter> indexFilters)
Wyszukuje dokument o podanych parametrach.
|
WfDocument |
getDocument(Long documentId,
Long documentClassId)
Pobiera dokument po id
|
List<WfDocument> |
getDocumentsFromActivity(String processId,
String activityId,
String... joins)
Pobiera dokumenty dla podanego zadania
|
List<WfDocument> |
getDocumentsFromOpenedActivities(String processId,
String... joins)
Pobiera dokumenty z podanego procesu podłączone do wszystkich otwartych zadań
|
List<WfDocument> |
getDocumentsFromProcess(String processId,
String... joins)
Pobiera dokumenty z procesu.
|
List<WfDocument> |
getDocumentsFromProcessAndClass(String processId,
String docClassName,
String... joins)
Pobiera dokumenty z procesu, należące do określonej klasy.
|
WfDocument getDocument(Long documentId, Long documentClassId)
documentId - Id dokumentu ( z tabeli pm_idx000x )documentClassId - Id klasy dokuemntówWfDocument findByFileId(Long fileId, Long documentClassId)
fileId - Id pliku (z tabeli pm_files)documentClassId - Id klasy dokumentówWfDocument findOneByIndexes(Long documentClassId, List<IndexFilter> indexFilters)
documentClassId - Id klasy dokumentówindexFilters - Lista filtrów.CountedResult<WfDocument> findByIndexes(Long documentClassId, List<IndexFilter> indexFilters, List<Sorter> sorters, Integer start, Integer limit, String... joins)
documentClassId - Id klasy dokumentówindexFilters - Lista filtrów.sorters - Sortowaniestart - Przesunięcie w zbiorze wynikówlimit - Maksymalna ilość wynikówCountedResult<WfDocument> findByIndexesForUser(String username, Long documentClassId, List<IndexFilter> indexFilters, List<Sorter> sorters, Integer start, Integer limit, String... joins)
documentClassId - Id klasy dokumentówindexFilters - Lista filtrów.sorters - Sortowaniestart - Przesunięcie w zbiorze wynikówlimit - Maksymalna ilość wynikówusername - Login użytkownikaCountedResult<WfDocument> findByIndexes(Long documentClassId, Map<Long,Object> indexes, List<Sorter> sorters, Integer start, Integer limit, String... joins)
documentClassId - Id klasy dokumentówindexes - Wartości indeksów - klucz to id indeksusorters - Sortowaniestart - Przesunięcie w zbiorze wynikówlimit - Maksymalna ilość wynikówCountedResult<WfDocument> findByIndexesForUser(String username, Long documentClassId, Map<Long,Object> indexes, List<Sorter> sorters, Integer start, Integer limit, String... joins)
documentClassId - Id klasy dokumentówindexes - Wartości indeksów - klucz to id indeksusorters - Sortowaniestart - Przesunięcie w zbiorze wynikówlimit - Maksymalna ilość wynikówusername - Login użytkownikaList<WfDocument> getDocumentsFromActivity(String processId, String activityId, String... joins)
activityId - Id zadaniaList<WfDocument> getDocumentsFromProcess(String processId, String... joins)
processId - Id procesuList<WfDocument> getDocumentsFromProcessAndClass(String processId, String docClassName, String... joins)
processId - Id procesudocClassName - nazwa klasy dokumentówList<WfDocument> getDocumentsFromOpenedActivities(String processId, String... joins)
processId - Id procesuList<WfDocument> findExpiredDocuments()
Copyright © 2023 Suncode. All rights reserved.