Class SolutionsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.SolutionsResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.SolutionsResource
public class SolutionsResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.SolutionsResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.SolutionsResource
DELETE_SOLUTION_PATH, DELETE_SOLUTION_SUMMARY, GET_EXPORT_RESULT_PATH, GET_EXPORT_RESULT_SUMMARY, GET_OWNERS_PATH, GET_OWNERS_SUMMARY, GET_PROPERTIES_PATH, GET_PROPERTIES_SUMMARY, GET_PROPERTIES_VERSION_PATH, GET_PROPERTIES_VERSION_SUMMARY, GET_SOLUTION_PATH, GET_SOLUTION_SUMMARY, GET_SOLUTION_TASK_RESULT_PATH, GET_SOLUTION_TASK_RESULT_SUMMARY, GET_SOLUTIONS_PATH, GET_SOLUTIONS_SUMMARY, GET_STATISTICS_PATH, GET_STATISTICS_SUMMARY, PATH, POST_EXPORT_BEGIN_PATH, POST_EXPORT_BEGIN_SUMMARY, POST_SOLUTION_PATH, POST_SOLUTION_SUMMARY, PUT_OWNERS_PATH, PUT_OWNERS_SUMMARY, PUT_PROPERTIES_PATH, PUT_PROPERTIES_SUMMARY, PUT_SOLUTION_PATH, PUT_SOLUTION_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description SolutionsResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUIDbeginCreateSolution(InputStream inputStream, com.artisol.teneo.studio.api.models.Solution solution, boolean keepId, UUID templateId)UUIDbeginExportSolution(UUID solutionId)UUIDbeginUpdateSolution(UUID solutionId, InputStream inputStream, com.artisol.teneo.studio.api.models.Solution solution)voiddeleteSolution(UUID solutionId)InputStreamgetExportSolutionResult(UUID taskId)com.artisol.teneo.studio.api.models.SolutionPropertiesgetProperties(UUID solutionId)com.artisol.teneo.studio.api.models.SolutionPropertiesgetPropertiesVersion(UUID solutionId, String version)com.artisol.teneo.studio.api.models.SolutiongetSolution(UUID solutionId)List<com.artisol.teneo.studio.api.models.User>getSolutionOwners(UUID solutionId)List<com.artisol.teneo.studio.api.models.Solution>getSolutions(boolean owned)com.artisol.teneo.studio.api.models.SolutionStatisticsgetSolutionStatistics(UUID solutionId)Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport>getSolutionTaskResult(UUID taskId)com.artisol.teneo.studio.api.models.SolutionPropertiesupdateProperties(UUID solutionId, com.artisol.teneo.studio.api.models.SolutionProperties solutionProperties)List<com.artisol.teneo.studio.api.models.User>updateSolutionOwners(UUID solutionId, List<UUID> solutionOwners)
-
-
-
Method Detail
-
getSolutions
public List<com.artisol.teneo.studio.api.models.Solution> getSolutions(boolean owned) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getSolutionsin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getSolution
public com.artisol.teneo.studio.api.models.Solution getSolution(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getSolutionin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginCreateSolution
public UUID beginCreateSolution(InputStream inputStream, com.artisol.teneo.studio.api.models.Solution solution, boolean keepId, UUID templateId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginCreateSolutionin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getSolutionTaskResult
public Collection<com.artisol.teneo.studio.api.models.reports.SuccessReport> getSolutionTaskResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getSolutionTaskResultin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginUpdateSolution
public UUID beginUpdateSolution(UUID solutionId, InputStream inputStream, com.artisol.teneo.studio.api.models.Solution solution) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginUpdateSolutionin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deleteSolution
public void deleteSolution(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deleteSolutionin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getProperties
public com.artisol.teneo.studio.api.models.SolutionProperties getProperties(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPropertiesin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getPropertiesVersion
public com.artisol.teneo.studio.api.models.SolutionProperties getPropertiesVersion(UUID solutionId, String version) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getPropertiesVersionin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateProperties
public com.artisol.teneo.studio.api.models.SolutionProperties updateProperties(UUID solutionId, com.artisol.teneo.studio.api.models.SolutionProperties solutionProperties) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updatePropertiesin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getSolutionStatistics
public com.artisol.teneo.studio.api.models.SolutionStatistics getSolutionStatistics(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getSolutionStatisticsin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getSolutionOwners
public List<com.artisol.teneo.studio.api.models.User> getSolutionOwners(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getSolutionOwnersin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateSolutionOwners
public List<com.artisol.teneo.studio.api.models.User> updateSolutionOwners(UUID solutionId, List<UUID> solutionOwners) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updateSolutionOwnersin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginExportSolution
public UUID beginExportSolution(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginExportSolutionin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getExportSolutionResult
public InputStream getExportSolutionResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getExportSolutionResultin interfacecom.artisol.teneo.studio.api.resources.SolutionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-