public interface DocumentClassAssociationService extends BaseFinder<DocumentClassAssociation,Long>
Modifier and Type | Method and Description |
---|---|
void |
createDocumentClassAssociation(DocumentClassAssociation documentClassAssociation)
Zapisuje powiązanie między klasami dokumentów w bazie danych.
|
void |
deleteDocumentClassAssociation(DocumentClassAssociation documentClassAssociation)
Usuwa powiązanie między klasami dokumentów w bazie danych.
|
void |
deleteDocumentClassAssociationById(Long associationId)
Usuwa powiązanie między klasami dokumentów w bazie danych.
|
List<WfDocument> |
getAllAssociatedDocumentsForClass(Long documentClassId,
Long documentId,
String userName)
Pobiera listę wszystkich dokumentów powiązanych dla dokumentu o Id przekazanym w parametrze
documentId |
CountedResult<WfDocument> |
getAssociatedDocumentsFromClass(Long documentClassId,
Long documentId,
Long childDocumentClassId,
Integer start,
Integer limit,
String sort,
String dir,
String userName)
Pobiera listę dokumentów powiązanych należących do klasy przekazanej w parametrze
childDocumentClassId |
List<DocumentClassAssociation> |
getDocClassAssociationsForChildDocClass(Long documentClassId)
Pobiera listę powiązań między klasami dokumentów dla podanej klasy dokumentów, gdzie podana klasa dokumentów jest dzieckiem relacji
|
List<DocumentClassAssociation> |
getDocClassAssociationsForParentDocClass(Long documentClassId)
Pobiera listę powiązań między klasami dokumentów dla podanej klasy dokumentów, gdzie podana klasa dokumentów jest rodzicem relacji
|
void |
updateDocumentClassAssociation(Long id,
DocumentClassAssociation documentClassAssociation)
Modyfikuje powiązanie między klasami dokumentów w bazie danych.
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult
void createDocumentClassAssociation(DocumentClassAssociation documentClassAssociation)
documentClassAssociation
- Definicja powiązania między klasami dokumentówvoid deleteDocumentClassAssociation(DocumentClassAssociation documentClassAssociation)
documentClassAssociation
- Definicja powiązania między klasami dokumentówvoid deleteDocumentClassAssociationById(Long associationId)
associationId
- Identyfikator powiązania między klasami dokumentówvoid updateDocumentClassAssociation(Long id, DocumentClassAssociation documentClassAssociation)
id
- Id aktualizowanego powiązaniadocumentClassAssociation
- Zaktualizowana definicja powiązania między klasami dokumentówCountedResult<WfDocument> getAssociatedDocumentsFromClass(Long documentClassId, Long documentId, Long childDocumentClassId, Integer start, Integer limit, String sort, String dir, String userName)
childDocumentClassId
documentClassId
- Id klasy dokumentu dla którego szukamy powiązańdocumentId
- Id dokumentu dla którego szukamy powiązańchildDocumentClassId
- Klasa dokumentów w której szukamy powiązanych dokumentówstart
- Wartość początkowa zbioru wynikowegolimit
- Wartość końcowa zbioru wynikowegosort
- Parametr po którym posortowany zostanie zbiór wynikowydir
- Kierunek sortowania - 'ASC' lub 'DESC'userName
- Login użytkownika wyszukującego powiązaniaList<WfDocument> getAllAssociatedDocumentsForClass(Long documentClassId, Long documentId, String userName)
documentId.
documentClassId
- Id klasy dokumentu dla którego szukamy powiązańdocumentId
- Id dokumentu dla którego szukamy powiązańuserName
- Login użytkownika wyszukującego powiązaniaList<DocumentClassAssociation> getDocClassAssociationsForParentDocClass(Long documentClassId)
documentClassId
- Id klasy dokumentów (rodzica)List<DocumentClassAssociation> getDocClassAssociationsForChildDocClass(Long documentClassId)
documentClassId
- Id klasy dokumentów (dziecka)Copyright © 2023 Suncode. All rights reserved.