Class MetadataDefinitionsResourceImpl
- java.lang.Object
-
- com.artisol.teneo.studio.client.resources.AbstractResource
-
- com.artisol.teneo.studio.client.resources.MetadataDefinitionsResourceImpl
-
- All Implemented Interfaces:
com.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
public class MetadataDefinitionsResourceImpl extends AbstractResource implements com.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
-
-
Field Summary
-
Fields inherited from interface com.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
DELETE_METADATA_DEFINITION_PATH, DELETE_METADATA_DEFINITION_SUMMARY, GET_METADATA_DEFINITION_PATH, GET_METADATA_DEFINITION_SUMMARY, GET_METADATA_DEFINITION_VERSION_PATH, GET_METADATA_DEFINITION_VERSION_SUMMARY, GET_METADATA_DEFINITIONS_PATH, GET_METADATA_DEFINITIONS_SUMMARY, PATH, POST_METADATA_DEFINITION_PATH, POST_METADATA_DEFINITION_SUMMARY, PUT_METADATA_DEFINITION_PATH, PUT_METADATA_DEFINITION_SUMMARY
-
-
Constructor Summary
Constructors Constructor Description MetadataDefinitionsResourceImpl(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.MetadataDefinition
createMetadataDefinition(UUID solutionId, com.artisol.teneo.studio.api.models.MetadataDefinition metadataDefinition)
void
deleteMetadataDefinition(UUID solutionId, UUID metadataDefinitionId, boolean force)
com.artisol.teneo.studio.api.models.MetadataDefinition
getMetadataDefinition(UUID solutionId, UUID metadataDefinitionId)
List<com.artisol.teneo.studio.api.models.MetadataDefinition>
getMetadataDefinitions(UUID solutionId)
com.artisol.teneo.studio.api.models.MetadataDefinition
getMetadataDefinitionVersion(UUID solutionId, UUID metadataDefinitionId, String version)
com.artisol.teneo.studio.api.models.MetadataDefinition
updateMetadataDefinition(UUID solutionId, UUID metadataDefinitionId, com.artisol.teneo.studio.api.models.MetadataDefinition metadataDefinition)
-
-
-
Method Detail
-
getMetadataDefinitions
public List<com.artisol.teneo.studio.api.models.MetadataDefinition> getMetadataDefinitions(UUID solutionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getMetadataDefinitions
in interfacecom.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getMetadataDefinition
public com.artisol.teneo.studio.api.models.MetadataDefinition getMetadataDefinition(UUID solutionId, UUID metadataDefinitionId) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getMetadataDefinition
in interfacecom.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
getMetadataDefinitionVersion
public com.artisol.teneo.studio.api.models.MetadataDefinition getMetadataDefinitionVersion(UUID solutionId, UUID metadataDefinitionId, String version) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
getMetadataDefinitionVersion
in interfacecom.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
createMetadataDefinition
public com.artisol.teneo.studio.api.models.MetadataDefinition createMetadataDefinition(UUID solutionId, com.artisol.teneo.studio.api.models.MetadataDefinition metadataDefinition) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
createMetadataDefinition
in interfacecom.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
updateMetadataDefinition
public com.artisol.teneo.studio.api.models.MetadataDefinition updateMetadataDefinition(UUID solutionId, UUID metadataDefinitionId, com.artisol.teneo.studio.api.models.MetadataDefinition metadataDefinition) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
updateMetadataDefinition
in interfacecom.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
deleteMetadataDefinition
public void deleteMetadataDefinition(UUID solutionId, UUID metadataDefinitionId, boolean force) throws com.artisol.teneo.studio.api.exceptions.ResourceException
- Specified by:
deleteMetadataDefinition
in interfacecom.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
- Throws:
com.artisol.teneo.studio.api.exceptions.ResourceException
-
-