Class UpdateNonRdfSourceHeadersOperationImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.operations.AbstractResourceOperation
-
- org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
-
- org.fcrepo.kernel.impl.operations.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
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
createdBy, createdDate, lastModifiedBy, lastModifiedDate
-
-
Constructor Summary
Constructors Constructor Description UpdateNonRdfSourceHeadersOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId resourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<URI>getContentDigests()longgetContentSize()InputStreamgetContentStream()URIgetContentUri()StringgetExternalHandling()StringgetFilename()StringgetMimeType()protected voidsetFilename(String filename)protected voidsetMimeType(String mimeType)-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate
-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperation
getResourceId, getTransaction, getUserPrincipal, setUserPrincipal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.kernel.api.operations.RelaxableResourceOperation
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate
-
-
-
-
Constructor Detail
-
UpdateNonRdfSourceHeadersOperationImpl
public UpdateNonRdfSourceHeadersOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId resourceId)
-
-
Method Detail
-
getContentStream
public InputStream getContentStream()
- Specified by:
getContentStreamin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getExternalHandling
public String getExternalHandling()
- Specified by:
getExternalHandlingin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getContentUri
public URI getContentUri()
- Specified by:
getContentUriin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getMimeType
public String getMimeType()
- Specified by:
getMimeTypein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getFilename
public String getFilename()
- Specified by:
getFilenamein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getContentDigests
public Collection<URI> getContentDigests()
- Specified by:
getContentDigestsin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getContentSize
public long getContentSize()
- Specified by:
getContentSizein interfaceorg.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
-
-