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.StableVersions
getStableVersions(UUID solutionId)
Set<String>
getStableVersionsForDocument(UUID solutionId, UUID documentId)
void
setDocumentStable(UUID solutionId, UUID documentId)
void
setDocumentStable(UUID solutionId, UUID documentId, String version)
void
setFolderStable(UUID solutionId, UUID folderId, boolean deep)
void
setSolutionFolderStable(UUID solutionId, boolean deep)
void
setSolutionStable(UUID solutionId, long revision)
void
unsetDocumentStable(UUID solutionId, UUID documentId)
void
unsetFolderStable(UUID solutionId, UUID folderId, boolean deep)
void
unsetSolutionFolderStable(UUID solutionId, boolean deep)
void
unsetSolutionStable(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:
getStableVersions
in 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:
setDocumentStable
in 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:
setDocumentStable
in 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:
setFolderStable
in 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:
setSolutionFolderStable
in 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:
setSolutionStable
in 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:
unsetDocumentStable
in 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:
unsetFolderStable
in 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:
unsetSolutionFolderStable
in 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:
unsetSolutionStable
in 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:
getStableVersionsForDocument
in interfacecom.artisol.teneo.studio.api.resources.StableVersionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-