Class FoldersResourceImpl

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

    public class FoldersResourceImpl
    extends AbstractResource
    implements com.artisol.teneo.studio.api.resources.FoldersResource
    • Field Summary

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

        DELETE_FOLDER_PATH, DELETE_FOLDER_SUMMARY, GET_COPY_RESULT_PATH, GET_COPY_RESULT_SUMMARY, GET_DISABLE_RESULT_PATH, GET_DISABLE_RESULT_SUMMARY, GET_ENABLE_RESULT_PATH, GET_ENABLE_RESULT_SUMMARY, GET_EXCLUDE_RESULT_PATH, GET_EXCLUDE_RESULT_SUMMARY, GET_FOLDER_PATH, GET_FOLDER_SUMMARY, GET_FOLDER_VERSION_PATH, GET_FOLDER_VERSION_SUMMARY, GET_INCLUDE_RESULT_PATH, GET_INCLUDE_RESULT_SUMMARY, GET_ROOT_FOLDER_PATH, GET_ROOT_FOLDER_SUMMARY, PATH, POST_COPY_BEGIN_PATH, POST_COPY_BEGIN_SUMMARY, POST_DISABLE_FOLDER_BEGIN_PATH, POST_DISABLE_FOLDER_BEGIN_SUMMARY, POST_DISABLE_SOLUTION_BEGIN_PATH, POST_DISABLE_SOLUTION_BEGIN_SUMMARY, POST_ENABLE_FOLDER_BEGIN_PATH, POST_ENABLE_FOLDER_BEGIN_SUMMARY, POST_ENABLE_SOLUTION_BEGIN_PATH, POST_ENABLE_SOLUTION_BEGIN_SUMMARY, POST_EXCLUDE_FOLDER_BEGIN_PATH, POST_EXCLUDE_FOLDER_BEGIN_SUMMARY, POST_EXCLUDE_SOLUTION_BEGIN_PATH, POST_EXCLUDE_SOLUTION_BEGIN_SUMMARY, POST_FOLDER_PATH, POST_FOLDER_SUMMARY, POST_INCLUDE_FOLDER_BEGIN_PATH, POST_INCLUDE_FOLDER_BEGIN_SUMMARY, POST_INCLUDE_SOLUTION_BEGIN_PATH, POST_INCLUDE_SOLUTION_BEGIN_SUMMARY, POST_MOVE_PATH, POST_MOVE_SUMMARY, POST_RENAME_FOLDER_PATH, POST_RENAME_FOLDER_SUMMARY, PUT_FOLDER_PATH, PUT_FOLDER_SUMMARY
    • Constructor Summary

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

      • FoldersResourceImpl

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

      • getFolder

        public com.artisol.teneo.studio.api.models.Folder getFolder​(UUID solutionId)
                                                             throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getFolder in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getFolder

        public com.artisol.teneo.studio.api.models.Folder getFolder​(UUID solutionId,
                                                                    UUID folderId)
                                                             throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getFolder in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getFolderVersion

        public com.artisol.teneo.studio.api.models.Folder getFolderVersion​(UUID solutionId,
                                                                           UUID folderId,
                                                                           String version)
                                                                    throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getFolderVersion in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • createFolder

        public com.artisol.teneo.studio.api.models.Folder createFolder​(UUID solutionId,
                                                                       com.artisol.teneo.studio.api.models.Folder folder)
                                                                throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        createFolder in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • updateFolder

        public com.artisol.teneo.studio.api.models.Folder updateFolder​(UUID solutionId,
                                                                       UUID folderId,
                                                                       com.artisol.teneo.studio.api.models.Folder folder)
                                                                throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        updateFolder in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • deleteFolder

        public void deleteFolder​(UUID solutionId,
                                 UUID folderId,
                                 boolean force)
                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        deleteFolder in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginEnable

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

        public UUID beginEnable​(UUID solutionId,
                                UUID folderId,
                                boolean deep)
                         throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginEnable in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginDisable

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

        public UUID beginDisable​(UUID solutionId,
                                 UUID folderId,
                                 boolean deep)
                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginDisable in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getEnableResult

        public Collection<com.artisol.teneo.studio.api.models.reports.Report> getEnableResult​(UUID taskId)
                                                                                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getEnableResult in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getDisableResult

        public Collection<com.artisol.teneo.studio.api.models.reports.Report> getDisableResult​(UUID taskId)
                                                                                        throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getDisableResult in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginInclude

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

        public UUID beginInclude​(UUID solutionId,
                                 UUID folderId,
                                 boolean deep)
                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginInclude in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginExclude

        public UUID beginExclude​(UUID solutionId)
                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginExclude in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • beginExclude

        public UUID beginExclude​(UUID solutionId,
                                 UUID folderId)
                          throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginExclude in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getIncludeResult

        public Collection<com.artisol.teneo.studio.api.models.reports.Report> getIncludeResult​(UUID taskId)
                                                                                        throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getIncludeResult in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getExcludeResult

        public Collection<com.artisol.teneo.studio.api.models.reports.Report> getExcludeResult​(UUID taskId)
                                                                                        throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getExcludeResult in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • move

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

        public UUID beginCopy​(UUID solutionId,
                              UUID folderId,
                              UUID targetSolutionId,
                              UUID targetFolderId)
                       throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        beginCopy in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • getCopyResult

        public Collection<com.artisol.teneo.studio.api.models.reports.Report> getCopyResult​(UUID taskId)
                                                                                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        getCopyResult in interface com.artisol.teneo.studio.api.resources.FoldersResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException
      • rename

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