Class StableVersionsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.StableVersionsResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.StableVersionsResource
public class StableVersionsResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.StableVersionsResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.StableVersionsResource
GET_DOCUMENT_VERSIONS_PATH, GET_DOCUMENT_VERSIONS_SUMMARY, GET_PATH, GET_SUMMARY, PATH, POST_SET_DOCUMENT_LATEST_PATH, POST_SET_DOCUMENT_LATEST_SUMMARY, POST_SET_DOCUMENT_VERSION_PATH, POST_SET_DOCUMENT_VERSION_SUMMARY, POST_SET_FOLDER_PATH, POST_SET_FOLDER_SUMMARY, POST_SET_SOLUTION_FOLDER_PATH, POST_SET_SOLUTION_FOLDER_SUMMARY, POST_SET_SOLUTION_REVISION_PATH, POST_SET_SOLUTION_REVISION_SUMMARY, POST_UNSET_DOCUMENT_PATH, POST_UNSET_DOCUMENT_SUMMARY, POST_UNSET_FOLDER_PATH, POST_UNSET_FOLDER_SUMMARY, POST_UNSET_SOLUTION_FOLDER_PATH, POST_UNSET_SOLUTION_FOLDER_SUMMARY, POST_UNSET_SOLUTION_PATH, POST_UNSET_SOLUTION_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description StableVersionsResourceImpl(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.StableVersionsgetStableVersions(UUID solutionId)Set<String>getStableVersionsForDocument(UUID solutionId, UUID documentId)voidsetDocumentStable(UUID solutionId, UUID documentId)voidsetDocumentStable(UUID solutionId, UUID documentId, String version)voidsetFolderStable(UUID solutionId, UUID folderId, boolean deep)voidsetSolutionFolderStable(UUID solutionId, boolean deep)voidsetSolutionStable(UUID solutionId, long revision)voidunsetDocumentStable(UUID solutionId, UUID documentId)voidunsetFolderStable(UUID solutionId, UUID folderId, boolean deep)voidunsetSolutionFolderStable(UUID solutionId, boolean deep)voidunsetSolutionStable(UUID solutionId)
-
-
-
Method Detail
-
getStableVersions
public com.artisol.teneo.studio.api.models.StableVersions getStableVersions(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getStableVersionsin interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
setDocumentStable
public void setDocumentStable(UUID solutionId, UUID documentId, String version) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
setDocumentStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
setDocumentStable
public void setDocumentStable(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
setDocumentStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
setFolderStable
public void setFolderStable(UUID solutionId, UUID folderId, boolean deep) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
setFolderStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
setSolutionFolderStable
public void setSolutionFolderStable(UUID solutionId, boolean deep) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
setSolutionFolderStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
setSolutionStable
public void setSolutionStable(UUID solutionId, long revision) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
setSolutionStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
unsetDocumentStable
public void unsetDocumentStable(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
unsetDocumentStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
unsetFolderStable
public void unsetFolderStable(UUID solutionId, UUID folderId, boolean deep) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
unsetFolderStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
unsetSolutionFolderStable
public void unsetSolutionFolderStable(UUID solutionId, boolean deep) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
unsetSolutionFolderStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
unsetSolutionStable
public void unsetSolutionStable(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
unsetSolutionStablein interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getStableVersionsForDocument
public Set<String> getStableVersionsForDocument(UUID solutionId, UUID documentId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getStableVersionsForDocumentin interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-