Class VersionsResourceImpl

  • All Implemented Interfaces:
    com.artisol.teneo.studio.api.resources.VersionsResource

    public class VersionsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.VersionsResource
    • Field Summary

      • Fields inherited from interface com.artisol.teneo.studio.api.resources.VersionsResource

        DOCUMENT_ID, DOCUMENT_ID_DESCRIPTION, GET_HISTORY_PATH, GET_HISTORY_SUMMARY, PATH, POST_RESTORE_PATH, POST_RESTORE_SUMMARY, SOLUTION_ID, SOLUTION_ID_DESCRIPTION, VERSION, VERSION_DESCRIPTION
    • Constructor Summary

      Constructors 
      Constructor Description
      VersionsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)  
    • Constructor Detail

      • VersionsResourceImpl

        public VersionsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • Method Detail

      • getHistory

        public List<com.artisol.teneo.studio.api.models.VersionInfo> getHistory​(UUID solutionId,
                                                                                UUID documentId)
                                                                         throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getHistory in interface com.artisol.teneo.studio.api.resources.VersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • restore

        public void restore​(UUID solutionId,
                            UUID documentId,
                            String version)
                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        restore in interface com.artisol.teneo.studio.api.resources.VersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException