Class 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 Detail

      • MetadataDefinitionsResourceImpl

        public MetadataDefinitionsResourceImpl​(javax.ws.rs.client.WebTarget webTarget)
    • 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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.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 interface com.artisol.teneo.studio.api.resources.MetadataDefinitionsResource
        Throws:
        com.artisol.teneo.studio.api.exceptions.ResourceException