Class UpdateNonRdfSourceHeadersOperationBuilderImpl

  • All Implemented Interfaces:
    org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder, org.fcrepo.kernel.api.operations.RelaxableResourceOperationBuilder, org.fcrepo.kernel.api.operations.ResourceOperationBuilder, org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperationBuilder

    public class UpdateNonRdfSourceHeadersOperationBuilderImpl
    extends AbstractRelaxableResourceOperationBuilder
    implements org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperationBuilder
    Builder for an operation for updating headers of non-rdf sources
    Author:
    mikejritter, bbpennel
    • Constructor Detail

      • UpdateNonRdfSourceHeadersOperationBuilderImpl

        public UpdateNonRdfSourceHeadersOperationBuilderImpl​(org.fcrepo.kernel.api.Transaction transaction,
                                                             org.fcrepo.kernel.api.identifiers.FedoraId resourceId,
                                                             org.fcrepo.config.ServerManagedPropsMode serverManagedPropsMode)
        Constructor
        Parameters:
        transaction - the transaction
        resourceId - the fedora identifier
        serverManagedPropsMode - server managed properties mode
    • Method Detail

      • mimeType

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

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

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

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

        public org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperationBuilder 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
        Overrides:
        userPrincipal in class AbstractResourceOperationBuilder
      • relaxedProperties

        public org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperationBuilder relaxedProperties​(org.apache.jena.rdf.model.Model model)
        Specified by:
        relaxedProperties in interface org.fcrepo.kernel.api.operations.RelaxableResourceOperationBuilder
        Specified by:
        relaxedProperties in interface org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperationBuilder
        Overrides:
        relaxedProperties in class AbstractRelaxableResourceOperationBuilder
      • build

        public org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperation build()
        Specified by:
        build in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperationBuilder
        Specified by:
        build in interface org.fcrepo.kernel.api.operations.ResourceOperationBuilder
        Specified by:
        build in interface org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperationBuilder