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
ConstructorsConstructorDescriptionUpdateNonRdfSourceHeadersOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId resourceId) -
Method Summary
Modifier and TypeMethodDescriptionlongprotected voidsetFilename(String filename) protected voidsetMimeType(String mimeType) Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDateMethods inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperation
getResourceId, getTransaction, getUserPrincipal, setUserPrincipalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.kernel.api.operations.RelaxableResourceOperation
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDateMethods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperation
getResourceId, getTransaction, getUserPrincipalMethods inherited from interface org.fcrepo.kernel.api.operations.UpdateNonRdfSourceHeadersOperation
getType
-
Constructor Details
-
UpdateNonRdfSourceHeadersOperationImpl
public UpdateNonRdfSourceHeadersOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId resourceId)
-
-
Method Details
-
getContentStream
- Specified by:
getContentStreamin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getExternalHandling
- Specified by:
getExternalHandlingin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getContentUri
- Specified by:
getContentUriin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getMimeType
- Specified by:
getMimeTypein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getFilename
- Specified by:
getFilenamein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getContentDigests
- Specified by:
getContentDigestsin interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
getContentSize
- Specified by:
getContentSizein interfaceorg.fcrepo.kernel.api.operations.NonRdfSourceOperation
-
setMimeType
- Parameters:
mimeType- the mimeType to set
-
setFilename
- Parameters:
filename- the filename to set
-