Class StableVersionsResourceImpl

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

    public class StableVersionsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.StableVersionsResource
    • Constructor Detail

      • StableVersionsResourceImpl

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

      • getStableVersions

        public com.artisol.teneo.studio.api.models.StableVersions getStableVersions​(UUID solutionId)
                                                                             throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getStableVersions in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • setDocumentStable

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

        public void setDocumentStable​(UUID solutionId,
                                      UUID documentId)
                               throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        setDocumentStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • setFolderStable

        public void setFolderStable​(UUID solutionId,
                                    UUID folderId,
                                    boolean deep)
                             throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        setFolderStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • setSolutionFolderStable

        public void setSolutionFolderStable​(UUID solutionId,
                                            boolean deep)
                                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        setSolutionFolderStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • setSolutionStable

        public void setSolutionStable​(UUID solutionId,
                                      long revision)
                               throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        setSolutionStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • unsetDocumentStable

        public void unsetDocumentStable​(UUID solutionId,
                                        UUID documentId)
                                 throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        unsetDocumentStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • unsetFolderStable

        public void unsetFolderStable​(UUID solutionId,
                                      UUID folderId,
                                      boolean deep)
                               throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        unsetFolderStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • unsetSolutionFolderStable

        public void unsetSolutionFolderStable​(UUID solutionId,
                                              boolean deep)
                                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        unsetSolutionFolderStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • unsetSolutionStable

        public void unsetSolutionStable​(UUID solutionId)
                                 throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        unsetSolutionStable in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getStableVersionsForDocument

        public Set<String> getStableVersionsForDocument​(UUID solutionId,
                                                        UUID documentId)
                                                 throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getStableVersionsForDocument in interface com.artisol.teneo.studio.api.resources.StableVersionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException