Class UpdateNonRdfSourceHeadersOperationImpl

All Implemented Interfaces:
org.fcrepo.kernel.api.operations.NonRdfSourceOperation, org.fcrepo.kernel.api.operations.RelaxableResourceOperation, org.fcrepo.kernel.api.operations.ResourceOperation, org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperation

public class UpdateNonRdfSourceHeadersOperationImpl extends AbstractRelaxableResourceOperation implements org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperation
Operation to update the headers of a non-rdf resource
Author:
bbpennel
  • Constructor Details

    • UpdateNonRdfSourceHeadersOperationImpl

      public UpdateNonRdfSourceHeadersOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId resourceId)
  • Method Details

    • getContentStream

      Specified by:
      getContentStream in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • getExternalHandling

      Specified by:
      getExternalHandling in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • getContentUri

      public URI getContentUri()
      Specified by:
      getContentUri in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • getMimeType

      public String getMimeType()
      Specified by:
      getMimeType in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • getFilename

      public String getFilename()
      Specified by:
      getFilename in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • getContentDigests

      Specified by:
      getContentDigests in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • getContentSize

      public long getContentSize()
      Specified by:
      getContentSize in interface org.fcrepo.kernel.api.operations.NonRdfSourceOperation
    • setMimeType

      protected void setMimeType(String mimeType)
      Parameters:
      mimeType - the mimeType to set
    • setFilename

      protected void setFilename(String filename)
      Parameters:
      filename - the filename to set