public interface DocumentService
| Modifier and Type | Method and Description |
|---|---|
WfDocument |
addDocument(DocumentDefinition definition)
Dodaje dokument do systemu
|
AddDocumentResultMeta |
addDocumentWithMetaResult(DocumentDefinition definition)
Dodaje dokument do systemu
|
void |
attachDocumentToProcess(Long documentId,
Long documentClassId,
String userName,
String processId,
String activityId)
Dołącza dokument istniejący w archiwum do procesu
|
void |
attachDocumentToProcess(WfDocument document,
String userName,
String processId,
String activityId)
Dołącza dokument istniejący w archiwum do procesu
|
void |
attachDocumentToProcess(WfDocument document,
String userName,
String processId,
String activityId,
boolean acceptClosed)
Dołącza dokument istniejący w archiwum do procesu
|
void |
deleteAllDocumentVersions(WfDocument document) |
void |
deleteDocument(Long documentId,
Long documentClassId)
Usuwa dokument z systemu
|
void |
deleteDocument(WfDocument document)
Usuwa dokument z systemu
|
void |
detachDocumentFromActivity(WfDocument document,
String processId,
String activityId)
Odłącza dokument od zadania.
|
void |
detachDocumentFromProcess(Long documentId,
Long documentClassId,
String processId)
Odłącza dokument od procesu.
|
void |
detachDocumentFromProcess(WfDocument document,
String processId)
Odłącza dokument od procesu.
|
WfDocument |
getDocument(Long fileId)
Pobiera dokument za pomocą fileId(z pm_files)
|
WfDocument |
getDocument(Long documentId,
Long documentClassId)
Pobiera dokument po id
|
void |
updateDocument(WfDocument document)
Modyfikuje dokument (aktualnie zmienia wyłącznie indeksy dokumnetu)
|
WfDocument addDocument(DocumentDefinition definition)
definition - Definicja dokumentuAddDocumentResultMeta addDocumentWithMetaResult(DocumentDefinition definition)
definition - WfDocument getDocument(Long documentId, Long documentClassId)
documentId - Id dokumentu(z pm_idx000x)void updateDocument(WfDocument document)
document - Definicja dokumentuvoid deleteDocument(Long documentId, Long documentClassId)
documentId - Id dokumentu(z pm_idx000x)void deleteDocument(WfDocument document)
Definicja - dokumentuvoid deleteAllDocumentVersions(WfDocument document)
void detachDocumentFromProcess(Long documentId, Long documentClassId, String processId)
documentId - Id dokumentu(z pm_idx000x)processId - Id procesuactivityId - Id zadaniavoid detachDocumentFromProcess(WfDocument document, String processId)
document - Definicja dokumentuprocessId - id procesuvoid detachDocumentFromActivity(WfDocument document, String processId, String activityId)
document - Definicja dokumentuprocessId - Id procesuactivityId - Id zadaniavoid attachDocumentToProcess(Long documentId, Long documentClassId, String userName, String processId, String activityId)
documentId - Id dokumentudocumentClassId - Id klasy dokumentówuserName - Login użytkownika dołączającego dokumentprocessId - Id procesuactivityId - Id zadaniavoid attachDocumentToProcess(WfDocument document, String userName, String processId, String activityId)
document - Definicja dokumentuuserName - Login użytkownika dołączającego dokumentprocessId - Id procesuactivityId - Id zadaniaWfDocument getDocument(Long fileId)
fileId - Id plikuvoid attachDocumentToProcess(WfDocument document, String userName, String processId, String activityId, boolean acceptClosed)
document - Definicja dokumentuuserName - Login użytkownika dołączającego dokumentprocessId - Id procesuactivityId - Id zadaniaacceptClosed - Pozwolenie na dołączenie do zamkniętego procesuCopyright © 2023 Suncode. All rights reserved.