Package org.fcrepo.kernel.impl.services
Class UpdatePropertiesServiceImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.services.AbstractService
-
- org.fcrepo.kernel.impl.services.UpdatePropertiesServiceImpl
-
- All Implemented Interfaces:
UpdatePropertiesService
@Component public class UpdatePropertiesServiceImpl extends AbstractService implements UpdatePropertiesService
This class implements the update properties operation.- Author:
- dbernstein
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex, userTypesCache
-
-
Constructor Summary
Constructors Constructor Description UpdatePropertiesServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockParent, recordEvent, updateReferences
-
-
-
-
Constructor Detail
-
UpdatePropertiesServiceImpl
public UpdatePropertiesServiceImpl()
-
-
Method Detail
-
updateProperties
public void updateProperties(Transaction tx, String userPrincipal, FedoraId fedoraId, String sparqlUpdateStatement) throws MalformedRdfException, AccessDeniedException
Description copied from interface:UpdatePropertiesService
Update the provided properties with a SPARQL Update query. The updated properties may be serialized to the persistence layer.- Specified by:
updateProperties
in interfaceUpdatePropertiesService
- 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
-
-