Class VersionsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.VersionsResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.VersionsResource
public class VersionsResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.VersionsResource
-
-
Constructor Summary
Constructors Constructor Description VersionsResourceImpl(javax.ws.rs.client.WebTarget webTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.artisol.teneo.studio.api.models.VersionInfo>
getHistory(UUID solutionId, UUID documentId)
void
restore(UUID solutionId, UUID documentId, String version)
-
-
-
Method Detail
-
getHistory
public List<com.artisol.teneo.studio.api.models.VersionInfo> getHistory(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getHistory
in interfacecom.artisol.teneo.studio.api.resources.VersionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
restore
public void restore(UUID solutionId, UUID documentId, String version) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
restore
in interfacecom.artisol.teneo.studio.api.resources.VersionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-