Class DocumentsResourceImpl

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

    public class DocumentsResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.DocumentsResource
    • Field Summary

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

        PATH, POST_COPY_PATH, POST_COPY_SUMMARY, POST_DISABLE_PATH, POST_DISABLE_SUMMARY, POST_ENABLE_PATH, POST_ENABLE_SUMMARY, POST_EXCLUDE_PATH, POST_EXCLUDE_SUMMARY, POST_INCLUDE_PATH, POST_INCLUDE_SUMMARY, POST_MOVE_PATH, POST_MOVE_SUMMARY, POST_RENAME_PATH, POST_RENAME_SUMMARY
    • Constructor Summary

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

      • DocumentsResourceImpl

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

      • include

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

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

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

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

        public void move​(UUID solutionId,
                         UUID documentId,
                         UUID targetFolderId)
                  throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        move in interface com.artisol.teneo.studio.api.resources.DocumentsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • copy

        public com.artisol.teneo.studio.api.models.reports.CopyOrRestoreSuccessReport copy​(UUID solutionId,
                                                                                           UUID documentId,
                                                                                           UUID targetSolutionId,
                                                                                           UUID targetFolderId)
                                                                                    throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        copy in interface com.artisol.teneo.studio.api.resources.DocumentsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • rename

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