Interface ReplacePropertiesService


public interface ReplacePropertiesService
Since:
6.0.0
Author:
peichman
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    perform(Transaction tx, String userPrincipal, FedoraId fedoraId, org.apache.jena.rdf.model.Model inputModel)
    Replace the properties of this object with the properties from the given model
  • Method Details

    • perform

      void perform(Transaction tx, String userPrincipal, FedoraId fedoraId, org.apache.jena.rdf.model.Model inputModel) throws MalformedRdfException
      Replace the properties of this object with the properties from the given model
      Parameters:
      tx - the Transaction
      userPrincipal - the user performing the service
      fedoraId - the internal Id of the fedora resource to update
      inputModel - the model built from the body of the request
      Throws:
      MalformedRdfException - if malformed rdf exception occurred