Interface GenericRevisionedRepository<E,​ID extends Serializable>

    • Method Detail

      • getRevisionHistoryMetadata

        default List<com.devonfw.module.basic.common.api.RevisionMetadata> getRevisionHistoryMetadata​(ID id)
        Parameters:
        id - the primary key.
        Returns:
        the List of RevisionMetadata for the historic revisions of the entity with the given id. In case no such history exists, an empty List is returned.
      • getRevisionHistoryMetadata

        List<com.devonfw.module.basic.common.api.RevisionMetadata> getRevisionHistoryMetadata​(ID id,
                                                                                              boolean lazy)
        Parameters:
        id - the primary key.
        lazy - - true to load the RevisionMetadata lazily, false otherwise (eager loading).
        Returns:
        the List of RevisionMetadata for the historic revisions of the entity with the given id. In case no such history exists, an empty List is returned.
      • getLastRevisionHistoryMetadata

        com.devonfw.module.basic.common.api.RevisionMetadata getLastRevisionHistoryMetadata​(ID id)
        Parameters:
        id - the primary key.
        Returns:
        the RevisionMetadata of the last historic revision of the entity with the given id. Will be null if no such history exists.