Interface MetadataApiService

    • Method Detail

      • createEntityType

        void createEntityType​(EntityType entityType)
      • deleteAttributeAsync

        MetadataUpsertJobExecution deleteAttributeAsync​(String entityTypeId,
                                                        String attributeId)
        Deletes an Attribute asynchronously.
        Parameters:
        entityTypeId - identifier of the Attribute's EntityType
        attributeId - identifier of the Attribute to delete
        Returns:
        a JobExecution describing the status of the job
        Throws:
        UnknownEntityTypeException - if no EntityType exists for the given identifier
        UnknownAttributeException - if no Attribute exists for the given identifier or if the Attribute does not belong to the given EntityType
      • deleteAttributesAsync

        MetadataUpsertJobExecution deleteAttributesAsync​(String entityTypeId,
                                                         Query query)
        Deletes one or more Attributes asynchronously based on a query.
        Parameters:
        entityTypeId - identifier of the Attribute's EntityType
        query - a query that selects attributes
        Returns:
        a JobExecution describing the status of the job
        Throws:
        UnknownEntityTypeException - if no EntityType exists for the given identifier
      • deleteEntityTypeAsync

        MetadataDeleteJobExecution deleteEntityTypeAsync​(String entityTypeId)
        Deletes an EntityType asynchronously.
        Parameters:
        entityTypeId - identifier of the Attribute's EntityType
        Returns:
        a JobExecution describing the status of the job
        Throws:
        UnknownEntityTypeException - if no EntityType exists for the given identifier
      • deleteEntityTypesAsync

        MetadataDeleteJobExecution deleteEntityTypesAsync​(Query query)
        Deletes one or more EntityTypes asynchronously based on a query.
        Returns:
        a JobExecution describing the status of the job
      • updateEntityTypeAsync

        MetadataUpsertJobExecution updateEntityTypeAsync​(EntityType entityType)
        Updates an EntityType asynchronously.
        Parameters:
        entityType - updated EntityType
        Returns:
        a JobExecution describing the status of the job