Class MasterLocalResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.MasterLocalResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.MasterLocalResource
public class MasterLocalResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.MasterLocalResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.MasterLocalResource
GET_MASTER_CHANGES_PATH, GET_MASTER_CHANGES_RESULT_PATH, GET_MASTER_CHANGES_RESULT_SUMMARY, GET_MASTER_CHANGES_SUMMARY, GET_UPDATE_RESULT_PATH, GET_UPDATE_RESULT_SUMMARY, PATH, POST_MASTER_CHANGES_BEGIN_PATH, POST_MASTER_CHANGES_BEGIN_SUMMARY, POST_RESET_LOCAL_PATH, POST_RESET_LOCAL_SUMMARY, POST_UPDATE_BEGIN_PATH, POST_UPDATE_BEGIN_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description MasterLocalResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UUID
beginGetMasterChanges(UUID solutionId)
UUID
beginUpdateLocalSolution(UUID solutionId, List<String> changeJobIds)
List<com.artisol.teneo.studio.api.models.headers.ChangeDocumentHeader>
getGetMasterChangesResult(UUID taskId)
List<com.artisol.teneo.studio.api.models.headers.ChangeDocumentHeader>
getMasterChanges(UUID solutionId, UUID documentId)
List<com.artisol.teneo.studio.api.models.reports.Report>
getUpdateLocalSolutionResult(UUID taskId)
void
resetLocalDocumentToMasterState(UUID solutionId, UUID documentId)
-
-
-
Method Detail
-
getMasterChanges
public List<com.artisol.teneo.studio.api.models.headers.ChangeDocumentHeader> getMasterChanges(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getMasterChanges
in interfacecom.artisol.teneo.studio.api.resources.MasterLocalResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginGetMasterChanges
public UUID beginGetMasterChanges(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginGetMasterChanges
in interfacecom.artisol.teneo.studio.api.resources.MasterLocalResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getGetMasterChangesResult
public List<com.artisol.teneo.studio.api.models.headers.ChangeDocumentHeader> getGetMasterChangesResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getGetMasterChangesResult
in interfacecom.artisol.teneo.studio.api.resources.MasterLocalResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
beginUpdateLocalSolution
public UUID beginUpdateLocalSolution(UUID solutionId, List<String> changeJobIds) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
beginUpdateLocalSolution
in interfacecom.artisol.teneo.studio.api.resources.MasterLocalResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getUpdateLocalSolutionResult
public List<com.artisol.teneo.studio.api.models.reports.Report> getUpdateLocalSolutionResult(UUID taskId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getUpdateLocalSolutionResult
in interfacecom.artisol.teneo.studio.api.resources.MasterLocalResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
resetLocalDocumentToMasterState
public void resetLocalDocumentToMasterState(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
resetLocalDocumentToMasterState
in interfacecom.artisol.teneo.studio.api.resources.MasterLocalResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-