Class VersionItemLinkRepository

    • Constructor Detail

      • VersionItemLinkRepository

        public VersionItemLinkRepository()
    • Method Detail

      • getVersionItem

        public ItemRest getVersionItem​(@Nullable
                                       javax.servlet.http.HttpServletRequest request,
                                       Integer versionId,
                                       @Nullable
                                       org.springframework.data.domain.Pageable optionalPageable,
                                       Projection projection)
                                throws SQLException
        This method will return the ItemRest object constructed from the Item object which is found in the Version that will be found through the versionId parameter
        Parameters:
        request - The current request
        versionId - The ID for the Version to be used
        optionalPageable - The pageable if present
        projection - The current Projection
        Returns:
        The ItemRest object that is relevant for the Version
        Throws:
        SQLException - If something goes wrong