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_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_DISABLE_FOLDER_PATH, POST_DISABLE_FOLDER_SUMMARY, POST_DISABLE_SOLUTION_PATH, POST_DISABLE_SOLUTION_SUMMARY, POST_ENABLE_FOLDER_PATH, POST_ENABLE_FOLDER_SUMMARY, POST_ENABLE_SOLUTION_PATH, POST_ENABLE_SOLUTION_SUMMARY, POST_EXCLUDE_FOLDER_PATH, POST_EXCLUDE_FOLDER_SUMMARY, POST_EXCLUDE_SOLUTION_PATH, POST_EXCLUDE_SOLUTION_SUMMARY, POST_FOLDER_PATH, POST_FOLDER_SUMMARY, POST_INCLUDE_FOLDER_PATH, POST_INCLUDE_FOLDER_SUMMARY, POST_INCLUDE_SOLUTION_PATH, POST_INCLUDE_SOLUTION_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
      • enable

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

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

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

        public UUID disable​(UUID solutionId,
                            UUID folderId,
                            boolean deep)
                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        disable 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.SuccessReport> 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.SuccessReport> 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
      • include

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

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

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

        public UUID exclude​(UUID solutionId,
                            UUID folderId)
                     throws com.artisol.teneo.studio.api.exceptions.ResourceException
        Specified by:
        exclude 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.SuccessReport> 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.SuccessReport> 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