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_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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
UUID
disable(UUID solutionId, boolean deep)
UUID
disable(UUID solutionId, UUID folderId, boolean deep)
UUID
enable(UUID solutionId, boolean deep)
UUID
enable(UUID solutionId, UUID folderId, boolean deep)
UUID
exclude(UUID solutionId)
UUID
exclude(UUID solutionId, UUID folderId)
Collection<com.artisol.teneo.studio.api.models.SuccessReport>
getDisableResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.SuccessReport>
getEnableResult(UUID taskId)
Collection<com.artisol.teneo.studio.api.models.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.SuccessReport>
getIncludeResult(UUID taskId)
UUID
include(UUID solutionId, boolean deep)
UUID
include(UUID solutionId, UUID folderId, boolean deep)
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
-
enable
public UUID enable(UUID solutionId, boolean deep) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
enable
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.artisol.teneo.studio.api.resources.FoldersResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-