Package org.fcrepo.kernel.api.services
Interface ReplaceBinariesService
-
public interface ReplaceBinariesService
Interface for service to replace existing binaries- Author:
- mohideen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidperform(Transaction tx, String userPrincipal, FedoraId fedoraId, String filename, String contentType, Collection<URI> digests, InputStream contentBody, long size, ExternalContent externalContent)Replace an existing binary.
-
-
-
Method Detail
-
perform
void perform(Transaction tx, String userPrincipal, FedoraId fedoraId, String filename, String contentType, Collection<URI> digests, InputStream contentBody, long size, ExternalContent externalContent)
Replace an existing binary.- Parameters:
tx- The transaction for the request.userPrincipal- the user performing the servicefedoraId- The internal identifier of the parent.filename- The filename of the binary.contentType- The content-type header or null if none.digests- The binary digest or null if none.size- The binary size.contentBody- The request body or null if none.externalContent- The external content handler or null if none.
-
-