Package org.fcrepo.kernel.api.services
Interface UpdatePropertiesService
public interface UpdatePropertiesService
- Since:
- 6.0.0
- Author:
- peichman
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdateProperties(Transaction tx, String userPrincipal, FedoraId fedoraId, String sparqlUpdateStatement) Update the provided properties with a SPARQL Update query.
-
Method Details
-
updateProperties
void updateProperties(Transaction tx, String userPrincipal, FedoraId fedoraId, String sparqlUpdateStatement) throws MalformedRdfException, AccessDeniedException Update the provided properties with a SPARQL Update query. The updated properties may be serialized to the persistence layer.- Parameters:
tx- the TransactionuserPrincipal- the user performing the servicefedoraId- the internal Id of the fedora resource to updatesparqlUpdateStatement- sparql update statement- Throws:
MalformedRdfException- if malformed rdf exception occurredAccessDeniedException- if access denied in updating properties
-