Interface CompositionEndpoint

    • Method Detail

      • mergeCompositionEntity

        <T> T mergeCompositionEntity​(T entity)
        Save a Flat-Entity to remote systems.
        Parameters:
        entity - Flat-Entity to save. Has to be annotated with Template
        Returns:
        CompositionId
        Throws:
        ClientException
        WrongStatusCodeException
      • find

        <T> Optional<T> find​(UUID compositionId,
                             Class<T> clazz)
        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 with Template
        Returns:
        The Flat-Entity
        Throws:
        ClientException
        WrongStatusCodeException