Package org.fcrepo.kernel.api.services
Interface ReplacePropertiesService
public interface ReplacePropertiesService
- Since:
- 6.0.0
- Author:
- peichman
-
Method Summary
Modifier and TypeMethodDescriptionvoidperform(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 TransactionuserPrincipal- the user performing the servicefedoraId- the internal Id of the fedora resource to updateinputModel- the model built from the body of the request- Throws:
MalformedRdfException- if malformed rdf exception occurred
-