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
    • 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