Class AbstractNonRdfSourceOperationBuilder

    • Constructor Detail

      • AbstractNonRdfSourceOperationBuilder

        protected AbstractNonRdfSourceOperationBuilder​(org.fcrepo.kernel.api.Transaction transaction,
                                                       org.fcrepo.kernel.api.identifiers.FedoraId rescId,
                                                       String handling,
                                                       URI externalUri)
        Constructor for external binary.
        Parameters:
        transaction - the transaction
        rescId - the internal identifier
        handling - the external content handling type.
        externalUri - the external content URI.
      • AbstractNonRdfSourceOperationBuilder

        protected AbstractNonRdfSourceOperationBuilder​(org.fcrepo.kernel.api.Transaction transaction,
                                                       org.fcrepo.kernel.api.identifiers.FedoraId rescId,
                                                       InputStream stream)
        Constructor for internal binary.
        Parameters:
        transaction - the transaction
        rescId - the internal identifier.
        stream - the content stream.
    • Method Detail

      • mimeType

        public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder mimeType​(String mimetype)
        Specified by:
        mimeType in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
      • filename

        public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder filename​(String filename)
        Specified by:
        filename in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
      • contentDigests

        public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder contentDigests​(Collection<URI> digests)
        Specified by:
        contentDigests in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
      • contentSize

        public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder contentSize​(long size)
        Specified by:
        contentSize in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
      • userPrincipal

        public org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder userPrincipal​(String userPrincipal)
        Specified by:
        userPrincipal in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
        Specified by:
        userPrincipal in interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder