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
triples
-
Fields inherited from class org.fcrepo.kernel.impl.operations.AbstractRelaxableResourceOperation
createdBy, createdDate, lastModifiedBy, lastModifiedDate
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCreateRdfSourceOperationImpl(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInteractionModel()org.fcrepo.kernel.api.identifiers.FedoraIdgetParentId()booleanisArchivalGroup()voidsetArchivalGroup(boolean flag)voidsetParentId(org.fcrepo.kernel.api.identifiers.FedoraId parentId)-
Methods inherited from class org.fcrepo.kernel.impl.operations.AbstractRdfSourceOperation
getTriples
-
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
-
-
-
-
Constructor Detail
-
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 Detail
-
getInteractionModel
public String getInteractionModel()
- Specified by:
getInteractionModelin interfaceorg.fcrepo.kernel.api.operations.CreateResourceOperation
-
isArchivalGroup
public boolean isArchivalGroup()
- Specified by:
isArchivalGroupin interfaceorg.fcrepo.kernel.api.operations.CreateResourceOperation
-
getParentId
public org.fcrepo.kernel.api.identifiers.FedoraId getParentId()
- Specified by:
getParentIdin interfaceorg.fcrepo.kernel.api.operations.CreateResourceOperation
-
setParentId
public void setParentId(org.fcrepo.kernel.api.identifiers.FedoraId parentId)
- Parameters:
parentId- the parentId to set
-
setArchivalGroup
public void setArchivalGroup(boolean flag)
- Parameters:
flag- flag indicating whether resource is an Archival Group
-
-