Class CreateRdfSourceOperationImpl
java.lang.Object
org.fcrepo.kernel.impl.operations.AbstractResourceOperation
org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperation
org.fcrepo.kernel.impl.operations.CreateRdfSourceOperationImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.operations.CreateRdfSourceOperation,org.fcrepo.kernel.api.operations.CreateResourceOperation,org.fcrepo.kernel.api.operations.RdfSourceOperation,org.fcrepo.kernel.api.operations.RelaxableResourceOperation,org.fcrepo.kernel.api.operations.ResourceOperation
- Direct Known Subclasses:
OverwriteRdfTombstoneOperation
public class CreateRdfSourceOperationImpl
extends AbstractRdfSourceOperation
implements org.fcrepo.kernel.api.operations.CreateRdfSourceOperation
Operation to create an RDF source.
- Author:
- bbpennel
-
Field Summary
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperation
triplesFields inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
createdBy, createdDate, lastModifiedBy, lastModifiedDate -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreateRdfSourceOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String interactionModel, org.fcrepo.kernel.api.RdfStream triples) Constructor for creation operation -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.kernel.api.identifiers.FedoraIdbooleanvoidsetArchivalGroup(boolean flag) voidsetParentId(org.fcrepo.kernel.api.identifiers.FedoraId parentId) Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperation
getTriplesMethods 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.CreateResourceOperation
getTypeMethods inherited from interface org.fcrepo.kernel.api.operations.RdfSourceOperation
getTriplesMethods inherited from interface org.fcrepo.kernel.api.operations.RelaxableResourceOperation
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDateMethods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperation
getResourceId, getTransaction, getUserPrincipal
-
Constructor Details
-
CreateRdfSourceOperationImpl
protected CreateRdfSourceOperationImpl(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId rescId, String interactionModel, org.fcrepo.kernel.api.RdfStream triples) Constructor for creation operation- Parameters:
transaction- the transactionrescId- the internal identifier.interactionModel- interaction model for the resourcetriples- triples stream for the resource
-
-
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
-
setArchivalGroup
- Parameters:
flag- flag indicating whether resource is an Archival Group
-