Interface CompositionEndpoint
- All Known Implementing Classes:
DefaultRestCompositionEndpoint
public interface CompositionEndpoint
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(com.nedap.archie.rm.support.identification.ObjectVersionId precedingVersionUid) Deletes a Composition by preceding version uid.<T> Optional<T>Finds a Flat-Entity byOptional<com.nedap.archie.rm.composition.Composition><T> TmergeCompositionEntity(T entity) Save a Flat-Entity to remote systems.com.nedap.archie.rm.support.identification.ObjectVersionIdmergeRaw(com.nedap.archie.rm.composition.Composition composition)
-
Method Details
-
mergeCompositionEntity
<T> T mergeCompositionEntity(T entity) Save a Flat-Entity to remote systems.- Parameters:
entity- Flat-Entity to save. Has to be annotated withTemplate- Returns:
- CompositionId
- Throws:
ClientExceptionWrongStatusCodeException
-
mergeRaw
com.nedap.archie.rm.support.identification.ObjectVersionId mergeRaw(com.nedap.archie.rm.composition.Composition composition) -
find
Finds a Flat-Entity by- Parameters:
compositionId- CompositionId of the flat-Entity to retrieve.clazz- class of the flat-Entity to retrieve. Has to be annotated withTemplate- Returns:
- The Flat-Entity
- Throws:
ClientExceptionWrongStatusCodeException
-
findRaw
-
delete
void delete(com.nedap.archie.rm.support.identification.ObjectVersionId precedingVersionUid) Deletes a Composition by preceding version uid.- Parameters:
precedingVersionUid- identifier of the Composition to be deleted. This MUST be the last (most recent) version.- Throws:
ClientExceptionWrongStatusCodeException
-