Class CreateNonRdfSourceOperation
java.lang.Object
org.fcrepo.kernel.impl.operations.AbstractResourceOperation
org.fcrepo.kernel.impl.operations.AbstractNonRdfSourceOperation
org.fcrepo.kernel.impl.operations.CreateNonRdfSourceOperation
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.CreateResourceOperation,org.fcrepo.kernel.api.operations.NonRdfSourceOperation,org.fcrepo.kernel.api.operations.ResourceOperation
public class CreateNonRdfSourceOperation
extends AbstractNonRdfSourceOperation
implements org.fcrepo.kernel.api.operations.CreateResourceOperation
Operation for creating a new non-rdf source
- Author:
- bbpennel
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, InputStream content) Constructor for internal binaries.protectedCreateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, URI externalContentURI, String externalHandling) Constructor for external content. -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.kernel.api.identifiers.FedoraIdbooleanvoidsetParentId(org.fcrepo.kernel.api.identifiers.FedoraId parentId) Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractNonRdfSourceOperation
getContent, getContentDigests, getContentSize, getContentStream, getContentUri, getDigests, getExternalHandling, getExternalHandlingType, getExternalHandlingURI, getFilename, getMimeType, setContent, setContentSize, setDigests, setExternalHandlingType, setExternalHandlingURI, setFilename, setMimeTypeMethods 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.CreateResourceOperation
getTypeMethods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperation
getResourceId, getTransaction, getUserPrincipal
-
Constructor Details
-
CreateNonRdfSourceOperation
protected CreateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, URI externalContentURI, String externalHandling) Constructor for external content.- Parameters:
rescId- the internal identifier.externalContentURI- the URI of the external content.externalHandling- the type of external content handling (REDIRECT, PROXY)
-
CreateNonRdfSourceOperation
protected CreateNonRdfSourceOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, InputStream content) Constructor for internal binaries.- Parameters:
transaction- the transactionrescId- the internal identifier.content- the stream of the content.
-
-
Method Details
-
getInteractionModel
- Specified by:
getInteractionModelin interfaceorg.fcrepo.kernel.api.operations.CreateResourceOperation
-
isArchivalGroup
- Specified by:
isArchivalGroupin interfaceorg.fcrepo.kernel.api.operations.CreateResourceOperation
-
getParentId
- Specified by:
getParentIdin interfaceorg.fcrepo.kernel.api.operations.CreateResourceOperation
-
setParentId
- Parameters:
parentId- the parentId to set
-