Class FoldersResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
beginCopy(UUID solutionId, UUID folderId, UUID targetSolutionId, UUID targetFolderId)
UUID
beginDisable(UUID solutionId, boolean deep)
UUID
beginDisable(UUID solutionId, UUID folderId, boolean deep)
UUID
beginEnable(UUID solutionId, boolean deep)
UUID
beginEnable(UUID solutionId, UUID folderId, boolean deep)
UUID
beginExclude(UUID solutionId)
UUID
beginExclude(UUID solutionId, UUID folderId)
UUID
beginInclude(UUID solutionId, boolean deep)
UUID
beginInclude(UUID solutionId, UUID folderId, boolean deep)
com.artisol.teneo.studio.api.models.Folder
createFolder(UUID solutionId, com.artisol.teneo.studio.api.models.Folder folder)
void
deleteFolder(UUID solutionId, UUID folderId, boolean force)
Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport>
getCopyResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport>
getDisableResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport>
getEnableResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport>
getExcludeResult(UUID taskId)
com.artisol.teneo.studio.api.models.Folder
getFolder(UUID solutionId)
com.artisol.teneo.studio.api.models.Folder
getFolder(UUID solutionId, UUID folderId)
com.artisol.teneo.studio.api.models.Folder
getFolderVersion(UUID solutionId, UUID folderId, String version)
Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport>
getIncludeResult(UUID taskId)
void
move(UUID solutionId, UUID folderId, UUID targetFolderId)
void
rename(UUID solutionId, UUID folderId, String newName)
com.artisol.teneo.studio.api.models.Folder
updateFolder(UUID solutionId, UUID folderId, com.artisol.teneo.studio.api.models.Folder folder)
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getEnableResult
public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getEnableResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getEnableResult
in interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getDisableResult
public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getDisableResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getDisableResult
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getIncludeResult
public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getIncludeResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getIncludeResult
in interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getExcludeResult
public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getExcludeResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getExcludeResult
in interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getCopyResult
public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getCopyResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getCopyResult
in interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-