public interface FileFinder extends BaseFinder<WfFile,Long>
| Modifier and Type | Method and Description |
|---|---|
CountedResult<WfFile> |
findByDocumentClassName(String documentClassName,
Integer start,
Integer limit)
Pobiera wszystkie pliki z podanej klasy dokumentów
|
List<WfFile> |
findByIndexes(Map<Long,Object> indexes,
Long documentClassId)
Wyszukuje pliki posiadające podane indeksy
|
List<WfFile> |
findByIndexes(Map<Long,Object> indexes,
Long documentClassId,
Integer start,
Integer limit)
Wyszukuje jedna strone plikow posiadających podane indeksy
|
CountedResult<WfFile> |
findByIndexesCounted(Map<Long,Object> indexes,
Long documentClassId,
Integer start,
Integer limit)
Wyszukuje dokumenty o podanych indeksach
|
List<WfFile> |
getAllDocumentsFromDocumentClass(String documentClassId)
Zwraca wszystkie dokumenty należące do podanej klasy dokumentów
|
List<WfFileVersion> |
getAllVersionsForFile(Long fileId)
Zwraca wszystkie wersje danego pliku
|
List<WfFile> |
getDocumentsFromActivity(String processId,
String activityId,
FileSorter sorter,
String... joins)
Pobiera dokumenty dla podanego zadania
|
List<WfFile> |
getDocumentsFromActivity(String processId,
String activityId,
String... joins)
Pobiera dokumenty dla podanego zadania
|
Long |
getDocumentsFromActivityCount(String processId,
String activityId)
Pobiera liczbę dokumentów dla podanego zadania
|
List<WfFile> |
getDocumentsFromOpenedActivities(String processId,
FileSorter sorter,
String... joins)
Pobiera dokumenty z podanego procesu podłączone do wszystkich otwartych zadań
|
List<WfFile> |
getDocumentsFromOpenedActivities(String processId,
String... joins)
Pobiera dokumenty z podanego procesu podłączone do wszystkich otwartych zadań
|
List<WfFile> |
getDocumentsFromProcess(String processId,
FileSorter sorter,
String... joins)
Pobiera dokumenty z procesu.
|
List<WfFile> |
getDocumentsFromProcess(String processId,
String... joins)
Pobiera dokumenty z procesu.
|
List<WfFile> |
getDocumentsFromProcessAndClass(String processId,
String docClassName,
String... joins)
Pobiera dokumenty z procesu z określonej klasy.
|
Long |
getDocumentsFromProcessCount(String processId)
Pobiera liczbę dokumentów z procesu.
|
WfFileVersion |
getFileVersion(Long versionId)
Pobiera obiekt wersji
|
WfFileVersion |
getVersionForFile(Long fileId)
Pobiera obiekt wersji dla pliku
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResultList<WfFile> findByIndexes(Map<Long,Object> indexes, Long documentClassId)
indexes - Mapa indeksów dokumentu. Klucz to id indeksu, typ wartości musi zgadzać się z
typem indeksu)documentClassId - Identyfikator klasy dokumentowList<WfFile> findByIndexes(Map<Long,Object> indexes, Long documentClassId, Integer start, Integer limit)
indexes - Mapa indeksów dokumentu. Klucz to id indeksu, typ wartości musi zgadzać się z
typem indeksu)documentClassId - Identyfikator klasy dokumentowstart - Poczatek stronylimit - Rozmiar stronyCountedResult<WfFile> findByIndexesCounted(Map<Long,Object> indexes, Long documentClassId, Integer start, Integer limit)
indexes - Mapa indeksówdocumentClassId - Id klasy dokumentówstart - Przesunięcie w zbiorze wynikówlimit - Maksymalna ilość wynikówCountedResult<WfFile> findByDocumentClassName(String documentClassName, Integer start, Integer limit)
docClassName - Nazwa klasy dokumentówWfFileVersion getVersionForFile(Long fileId)
fileId - Id pliku (z pm_files)WfFileVersion getFileVersion(Long versionId)
id - Id wersji plikuList<WfFile> getDocumentsFromActivity(String processId, String activityId, String... joins)
processId - Id procesuactivityId - Id zadaniajoins - List<WfFile> getDocumentsFromActivity(String processId, String activityId, FileSorter sorter, String... joins)
processId - Id procesuactivityId - Id zadaniasorter - Definicja pola po którym wyniki będą sortowane. Należy użyć wartości z klasy
FileSorterjoins - List<WfFile> getDocumentsFromProcess(String processId, String... joins)
processId - Id procesujoins - List<WfFile> getDocumentsFromProcess(String processId, FileSorter sorter, String... joins)
processId - Id procesusorter - Definicja pola po którym wyniki będą sortowane. Należy użyć wartości z klasy
FileSorterjoins - List<WfFile> getDocumentsFromProcessAndClass(String processId, String docClassName, String... joins)
processId - Id procesudocClassName - nazwa klasy dokumentówjoins - List<WfFile> getDocumentsFromOpenedActivities(String processId, String... joins)
processId - Id procesujoins - List<WfFile> getDocumentsFromOpenedActivities(String processId, FileSorter sorter, String... joins)
processId - Id procesusorter - Opcja sortowaniajoins - List<WfFileVersion> getAllVersionsForFile(Long fileId)
fileId - - identyfikator plikuList<WfFile> getAllDocumentsFromDocumentClass(String documentClassId)
documentClassId - - identyfikator klasy dokumentów@Beta Long getDocumentsFromProcessCount(String processId)
processId - Id procesuCopyright © 2023 Suncode. All rights reserved.