Package org.fcrepo.kernel.api.services
Interface UpdatePropertiesService
-
- All Known Implementing Classes:
UpdatePropertiesServiceImpl
public interface UpdatePropertiesService
- Since:
- 6.0.0
- Author:
- peichman
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
updateProperties(Transaction tx, String userPrincipal, FedoraId fedoraId, String sparqlUpdateStatement)
Update the provided properties with a SPARQL Update query.
-
-
-
Method Detail
-
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
-
-