Class ReplaceBinariesServiceImpl

    • Method Detail

      • perform

        public void perform​(Transaction tx,
                            String userPrincipal,
                            FedoraId fedoraId,
                            String filename,
                            String contentType,
                            Collection<URI> digests,
                            InputStream contentBody,
                            long contentSize,
                            ExternalContent externalContent)
        Description copied from interface: ReplaceBinariesService
        Replace an existing binary.
        Specified by:
        perform in interface ReplaceBinariesService
        Parameters:
        tx - The transaction for the request.
        userPrincipal - the user performing the service
        fedoraId - 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.
        contentBody - The request body or null if none.
        contentSize - The binary size.
        externalContent - The external content handler or null if none.