Package org.fcrepo.kernel.impl.services
Class ReplaceBinariesServiceImpl
java.lang.Object
org.fcrepo.kernel.impl.services.AbstractService
org.fcrepo.kernel.impl.services.ReplaceBinariesServiceImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.services.ReplaceBinariesService
@Component
public class ReplaceBinariesServiceImpl
extends AbstractService
implements org.fcrepo.kernel.api.services.ReplaceBinariesService
Implementation of a service for replacing/updating binary resources
- Author:
- bbpennel
-
Field Summary
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex, userTypesCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidperform(org.fcrepo.kernel.api.Transaction tx, String userPrincipal, org.fcrepo.kernel.api.identifiers.FedoraId fedoraId, String filename, String contentType, Collection<URI> digests, InputStream contentBody, long contentSize, org.fcrepo.kernel.api.models.ExternalContent externalContent) Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockParent, recordEvent, updateReferences
-
Constructor Details
-
ReplaceBinariesServiceImpl
public ReplaceBinariesServiceImpl()
-
-
Method Details
-
perform
public void perform(org.fcrepo.kernel.api.Transaction tx, String userPrincipal, org.fcrepo.kernel.api.identifiers.FedoraId fedoraId, String filename, String contentType, Collection<URI> digests, InputStream contentBody, long contentSize, org.fcrepo.kernel.api.models.ExternalContent externalContent) - Specified by:
performin interfaceorg.fcrepo.kernel.api.services.ReplaceBinariesService
-