Package org.fcrepo.kernel.impl.services
Class ReplacePropertiesServiceImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.services.AbstractService
-
- org.fcrepo.kernel.impl.services.ReplacePropertiesServiceImpl
-
- All Implemented Interfaces:
ReplacePropertiesService
@Component public class ReplacePropertiesServiceImpl extends AbstractService implements ReplacePropertiesService
This class mediates update operations between the kernel and persistent storage layers- Author:
- bseeger
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex
-
-
Constructor Summary
Constructors Constructor Description ReplacePropertiesServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods 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-
Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockArchivalGroupResourceFromParent, recordEvent, updateReferences
-
-
-
-
Constructor Detail
-
ReplacePropertiesServiceImpl
public ReplacePropertiesServiceImpl()
-
-
Method Detail
-
perform
public void perform(Transaction tx, String userPrincipal, FedoraId fedoraId, org.apache.jena.rdf.model.Model inputModel) throws MalformedRdfException
Description copied from interface:ReplacePropertiesService
Replace the properties of this object with the properties from the given model- Specified by:
perform
in interfaceReplacePropertiesService
- 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
-
-