Class VersionHistoryLinkRepository

    • Constructor Detail

      • VersionHistoryLinkRepository

        public VersionHistoryLinkRepository()
    • Method Detail

      • getVersionHistory

        public VersionHistoryRest getVersionHistory​(@Nullable
                                                    javax.servlet.http.HttpServletRequest request,
                                                    Integer versionId,
                                                    @Nullable
                                                    org.springframework.data.domain.Pageable optionalPageable,
                                                    Projection projection)
                                             throws SQLException
        This method will retrieve the VersionHistoryRest object from the Version that is found by the associated versionId parameter
        Parameters:
        request - The current request
        versionId - The ID for the Version object
        optionalPageable - The pageable if present
        projection - The current Projection
        Returns:
        The VersionHistoryRest object that is constructed from the VersionHistory object that is linked to the Version found by the versionId parameter
        Throws:
        SQLException - If something goes wrong