public interface DocumentClassService extends BaseFinder<DocumentClass,Long>
| Modifier and Type | Method and Description |
|---|---|
void |
addActionToDocumentClass(Long docClassId,
DocumentClassAction action)
Dodaje akcje do klasy dokumentów
|
Long |
addDocumentClassIndexTranslation(Long documentClassIndexId,
DocumentClassIndexTranslation documentClassIndexTranslation)
Zapisuje tłumaczenie indeksu klasy dokumentów w bazie danych
|
Long |
addDocumentClassTranslation(Long docClassId,
DocumentClassTranslation docClassTranslation)
Zapisuje tłumaczenie klasy dokumentów w bazie danych
|
void |
addIndexToDocumentClass(Long docClassId,
DocumentClassIndex index)
Dodaje indeks do klasy dokumentów
|
void |
createDocumentClass(DocumentClass dc)
Zapisuje klasa dokumentów w bazie danych.
|
void |
deleteDocumentClass(Long documentClassId)
Usuwa klasę dokumentów
|
void |
deleteDocumentClass(String name)
Usuwa klasę dokumentów
|
void |
deleteDocumentClassAction(Long id)
Usuwa akcję klasy dokumentów o podanym id
|
void |
deleteDocumentClassIndex(Long id)
Usuwa indeks klasy dokumentów o podanym id
|
void |
deleteDocumentClassIndexTranslation(Long id)
Usuwa tłumaczenie indeksu klasy dokumentów o podanym id
|
void |
deleteDocumentClassIndexTranslationsForLocale(Locale locale)
Usuwa wszystkie nadpisane tłumaczenia indeksów klas dokumentów w podanym języku
|
void |
deleteDocumentClassTranslation(Long id)
Usuwa tłumaczenie klasy dokumentów o podanym id
|
void |
deleteDocumentClassTranslationsForLocale(Locale locale)
Usuwa wszystkie nadpisane tłumaczenia klas dokumentów w podanym języku
|
Map<Long,Object> |
executePatterns(Map<Long,Object> indexes)
Aktualizuje indeksy względem przypisanych wzorców.
|
CountedResult<DocumentClass> |
getAll(Integer start,
Integer limit,
String sortBy,
SortDirection sortDirection)
Pobiera stronnicowaną listę przetłumaczonych klas dokumentów
|
CountedResult<DocumentClass> |
getAll(Locale locale,
Integer start,
Integer limit,
String sortBy,
SortDirection sortDirection)
Pobiera stronnicowaną listę przetłumaczonych we wskazanym języku klas dokumentów
|
DocumentClass |
getDocumentClass(String name,
String... joins)
Pobiera obiekt klasy dokumentów
|
File |
getDocumentClassDirectory(Long docClassId)
Pobiera katalog klasy dokumentów (dla dynamicznie tworzonych nazw katalogów nazwa generowana jest na podstawie aktualnej daty)
|
List<DocumentClass> |
getDocumentClassesForProcess(String processDefId)
Pobiera klasy dokumentów przypisane do procesu
|
List<DocumentClass> |
getDocumentClassesForUser(String userName)
Pobiera listę klas dokumentów do których podany użytkownik może dodawać dokumenty
|
List<DocumentClass> |
getDocumentClassesForUser(String userName,
boolean withAddingRight)
Pobiera listę klas dokumentów do których podany użytkownik ma uprawnienia do odczytu lub dodawania dokumentów (w zależności od parametru)
|
List<DocumentClass> |
getDocumentClassesForUser(String userName,
DocumentUploadSource uploadSource)
Pobiera listę klas dokumentów do których użytkownik może dodawać dokumentu na konkretnym poziomie
(archiwum lub proces)
|
List<DocumentClass> |
getDocumentClassesForUserAndProcess(String userName,
String processDefId)
Pobiera listę klas dokumentów do których użytkownik może dodawać dokument w konkretnym procesie
|
List<DocumentClass> |
getDocumentClassesForUserAndProcess(String userName,
String processDefId,
boolean withAddingRight)
Pobiera listę klas dokumentów do których podany użytkownik ma uprawnienia do odczytu lub
dodawania dokumentów (w zależności od parametru) w konkretnym procesie
|
String |
getDocumentClassIndexTranslation(Long entityId,
TranslatedFieldType fieldType)
Zwraca tłumaczenie dla konkretnego pola indeksu klasy dokumentów o podanym id
|
String |
getDocumentClassIndexTranslation(Long entityId,
TranslatedFieldType fieldType,
Locale locale)
Zwraca tłumaczenie dla konkretnego pola indeksu klasy dokumentów o podanym id
|
String |
getDocumentClassTranslation(Long entityId,
TranslatedFieldType fieldType)
Zwraca tłumaczenie dla konkretnego pola klasy dokumentów o podanym id
|
String |
getDocumentClassTranslation(Long entityId,
TranslatedFieldType fieldType,
Locale locale)
Zwraca tłumaczenie dla konkretnego pola klasy dokumentów o podanym id
|
List<DocumentClassTranslation> |
getDocumentClassTranslationsForLocale(Locale locale,
String... joins)
Pobiera listę wszystkich tłumaczeń powiązanych z klasami dokumentów w podanym języku
|
String |
getFullPathForDocClass(Long docClassId)
Pobiera ścieżkę do katalogu klasy dokumentów (dla dynamicznie tworzonych nazw katalogów nazwa generowana jest na podstawie aktualnej daty)
|
void |
moveUpDocumentClass(Long documentClassId)
Zmienia kolejność klasy dokumentów o podanym id
|
void |
moveUpDocumentClassIndex(Long id)
Zmienia kolejność indeksu klasy dokumentów o podanym id
|
void |
removeIndexFromDocumentClass(Long docClassId,
String indexName)
Usuwa indeks z klasy dokumentów
|
void |
updateDocumentClass(DocumentClass dc)
Modyfikuje klasę dokumentów
|
void |
updateDocumentClassAction(DocumentClassAction documentClassAction)
Modyfikuje akcję klasy dokumentów
|
void |
updateDocumentClassIndexTranslation(Long id,
String newValue)
Aktualizuje tekst tłumaczenia indeksu klasy dokumentów
|
void |
updateDocumentClassTranslation(Long id,
String newValue)
Aktualizuje tekst tłumaczenia klasy dokumentów
|
DocumentClassIndex |
updateIndexInDocumentClass(Long docClassId,
DocumentClassIndex index)
Aktualizuje indeks klasy dokumentów
|
void |
validateDocumentClassIndexCanBeEdited(DocumentClassIndex documentClassIndex)
Sprawdza, czy indeks klasy dokumentów może być edytowany
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResultvoid createDocumentClass(DocumentClass dc)
dc - Definicja klasy dokumentówvoid deleteDocumentClass(String name)
name - Nazwa klasy dokumentówvoid deleteDocumentClass(Long documentClassId)
documentClassId - Id klasy dokumentówvoid addIndexToDocumentClass(Long docClassId, DocumentClassIndex index)
docClassId - Id klasy dokumentówindex - Definicja indeksuDocumentClassIndex updateIndexInDocumentClass(Long docClassId, DocumentClassIndex index)
docClassId - id klasy dokumentówindex - definicja indeksuvoid removeIndexFromDocumentClass(Long docClassId, String indexName)
docClassId - Id klasy dokumentówindexName - Nazwa indeksuvoid addActionToDocumentClass(Long docClassId, DocumentClassAction action)
docClassId - Id klasy dokumentówaction - Definicja akcjiDocumentClass getDocumentClass(String name, String... joins)
name - Nazwa klasy dokumentówjoins - Określa, które elementy mamy dołączyć do obiektu klasy dokumentów.String getFullPathForDocClass(Long docClassId)
docClassId - Id klasy dokumentówFile getDocumentClassDirectory(Long docClassId)
docClassId - Id klasy dokumentówvoid updateDocumentClass(DocumentClass dc)
dc - Obiekt klasy dokumentówList<DocumentClass> getDocumentClassesForUser(String userName)
userName - Login użytkownikaList<DocumentClass> getDocumentClassesForUser(String userName, boolean withAddingRight)
userName - Login użytkownikawithAddingRight - określa, czy użytkownik musi mieć uprawnienia do dodawania dokumentów do tych klasList<DocumentClass> getDocumentClassesForUserAndProcess(String userName, String processDefId, boolean withAddingRight)
userName - login użytkownikaprocessDefId - definicja procesuwithAddingRight - określa, czy użytkownik musi mieć uprawnienia do dodawania dokumentów
do tych klasList<DocumentClass> getDocumentClassesForUser(String userName, DocumentUploadSource uploadSource)
userName - login użytkownikauploadSource - poziom dodawania dokumentuList<DocumentClass> getDocumentClassesForProcess(String processDefId)
processDefId - Definicja procesuList<DocumentClass> getDocumentClassesForUserAndProcess(String userName, String processDefId)
userName - login użytkownikaprocessDefId - definicja procesuMap<Long,Object> executePatterns(Map<Long,Object> indexes)
indexes - mapa indeksówvoid moveUpDocumentClass(Long documentClassId)
documentClassId - Id klasy dokumentówvoid deleteDocumentClassIndex(Long id)
id - Id indeksu klasy dokumentówvoid moveUpDocumentClassIndex(Long id)
id - Id indeksu klasy dokumentówList<DocumentClassTranslation> getDocumentClassTranslationsForLocale(Locale locale, String... joins)
locale - Językjoins - Określa, które z powiązanych elementów chcemy dołączyć do pobieranych obiektówvoid deleteDocumentClassTranslationsForLocale(Locale locale)
locale - Językvoid deleteDocumentClassIndexTranslationsForLocale(Locale locale)
locale - JęzykLong addDocumentClassTranslation(Long docClassId, DocumentClassTranslation docClassTranslation)
docClassId - Id tłumaczonej klasy dokumentówdocClassTranslation - Tłumaczenie do dodaniaLong addDocumentClassIndexTranslation(Long documentClassIndexId, DocumentClassIndexTranslation documentClassIndexTranslation)
documentClassIndexId - Id tłumaczonego indeksu klasy dokumentówdocumentClassIndexTranslation - Tłumaczenie do dodaniavoid updateDocumentClassTranslation(Long id, String newValue)
id - Id tłumaczenia klasy dokumentównewValue - Nowy tekst tłumaczeniavoid updateDocumentClassIndexTranslation(Long id, String newValue)
id - Id tłumaczenia indeksu klasy dokumentównewValue - Nowy tekst tłumaczeniavoid deleteDocumentClassTranslation(Long id)
id - Id tłumaczeniavoid deleteDocumentClassIndexTranslation(Long id)
id - Id tłumaczeniaString getDocumentClassTranslation(Long entityId, TranslatedFieldType fieldType)
entityId - Id elementufieldType - Typ polaString getDocumentClassTranslation(Long entityId, TranslatedFieldType fieldType, Locale locale)
entityId - Id elementufieldType - Typ polalocale - JęzykString getDocumentClassIndexTranslation(Long entityId, TranslatedFieldType fieldType)
entityId - Id elementufieldType - Typ polaString getDocumentClassIndexTranslation(Long entityId, TranslatedFieldType fieldType, Locale locale)
entityId - Id elementufieldType - Typ polalocale - Językvoid validateDocumentClassIndexCanBeEdited(DocumentClassIndex documentClassIndex)
documentClassIndex - Obiekt indeksu klasy dokumentówvoid deleteDocumentClassAction(Long id)
id - Id akcji klasy dokumentówvoid updateDocumentClassAction(DocumentClassAction documentClassAction)
documentClassAction - Obiekt akcji klasy dokumentówCountedResult<DocumentClass> getAll(Integer start, Integer limit, String sortBy, SortDirection sortDirection)
start - Przesunięcie w zbiorze wynikówlimit - Maksymalna liczba wynikówsortBy - Nazwa kolumny, po której ma wystąpić sortowaniesortDirection - Kierunek sortowaniaCountedResult<DocumentClass> getAll(Locale locale, Integer start, Integer limit, String sortBy, SortDirection sortDirection)
locale - Język tłumaczeniastart - Przesunięcie w zbiorze wynikówlimit - Maksymalna liczba wynikówsortBy - Nazwa kolumny, po której ma wystąpić sortowaniesortDirection - Kierunek sortowaniaCopyright © 2023 Suncode. All rights reserved.