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:
- CreateRdfSourceOperation,- CreateResourceOperation,- RdfSourceOperation,- RelaxableResourceOperation,- ResourceOperation
 
 public class CreateRdfSourceOperationImpl extends AbstractRdfSourceOperation implements CreateRdfSourceOperation Operation to create an RDF source.- Author:
- bbpennel
 
- 
- 
Field Summary- 
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperationtriples
 - 
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperationcreatedBy, createdDate, lastModifiedBy, lastModifiedDate
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedCreateRdfSourceOperationImpl(Transaction transaction, FedoraId rescId, String interactionModel, RdfStream triples)Constructor for creation operation
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInteractionModel()Get the interaction model of the resource being createdFedoraIdgetParentId()Get the identifier of the parent of the resource being createdbooleanisArchivalGroup()A flag indicating whether or the new resource should be created as an archival group.voidsetArchivalGroup(boolean flag)voidsetParentId(FedoraId parentId)- 
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperationgetTriples
 - 
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperationgetCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate
 - 
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractResourceOperationgetResourceId, getTransaction, getUserPrincipal, setUserPrincipal
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.fcrepo.kernel.api.operations.CreateResourceOperationgetType
 - 
Methods inherited from interface org.fcrepo.kernel.api.operations.RdfSourceOperationgetTriples
 - 
Methods inherited from interface org.fcrepo.kernel.api.operations.RelaxableResourceOperationgetCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate
 - 
Methods inherited from interface org.fcrepo.kernel.api.operations.ResourceOperationgetResourceId, getTransaction, getUserPrincipal
 
- 
 
- 
- 
- 
Constructor Detail- 
CreateRdfSourceOperationImplprotected CreateRdfSourceOperationImpl(Transaction transaction, FedoraId rescId, String interactionModel, RdfStream triples) Constructor for creation operation- Parameters:
- transaction- the transaction
- rescId- the internal identifier.
- interactionModel- interaction model for the resource
- triples- triples stream for the resource
 
 
- 
 - 
Method Detail- 
getInteractionModelpublic String getInteractionModel() Description copied from interface:CreateResourceOperationGet the interaction model of the resource being created- Specified by:
- getInteractionModelin interface- CreateResourceOperation
- Returns:
- interaction model
 
 - 
isArchivalGrouppublic boolean isArchivalGroup() Description copied from interface:CreateResourceOperationA flag indicating whether or the new resource should be created as an archival group.- Specified by:
- isArchivalGroupin interface- CreateResourceOperation
- Returns:
- true if archival group
 
 - 
getParentIdpublic FedoraId getParentId() Description copied from interface:CreateResourceOperationGet the identifier of the parent of the resource being created- Specified by:
- getParentIdin interface- CreateResourceOperation
- Returns:
- identifer of parent
 
 - 
setParentIdpublic void setParentId(FedoraId parentId) - Parameters:
- parentId- the parentId to set
 
 - 
setArchivalGrouppublic void setArchivalGroup(boolean flag) - Parameters:
- flag- flag indicating whether resource is an Archival Group
 
 
- 
 
-