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
|
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
|
Map<Long,Object> |
executePatterns(Map<Long,Object> indexes)
Aktualizuje indeksy względem przypisanych wzorców.
|
DocumentClass |
getDocumentClass(String name,
String... joins)
Pobiera obiekt klasy dokumentów
|
File |
getDocumentClassDirectory(Long docClassId)
Pobiera katalogu klasy dokumentów
|
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 |
getFullPathForDocClass(Long docClassId)
Pobiera ścieżkę do katalogu klasy dokumentów
|
void |
removeActionFromDocumentClass(Long docClassId,
String actionName)
Usuwa akcje z klasy dokumentów
|
void |
removeIndexFromDocumentClass(Long docClassId,
String indexName)
Usuwa indeks z klasy dokumentów
|
void |
updateDocumentClass(DocumentClass dc)
Modyfikuje klasę dokumentów
|
DocumentClassIndex |
updateIndexInDocumentClass(Long docClassId,
DocumentClassIndex index)
Aktualizuje indeks klasy dokumentów
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult
void 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 akcjivoid removeActionFromDocumentClass(Long docClassId, String actionName)
docClassId
- Id klasy dokumentówactionName
- Nazwa 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 procesuCopyright © 2019 Suncode. All rights reserved.