public abstract class AbstractPersistentPostOperation extends AbstractPostTaxonOperation
bind()
method in the AbstractOperation.execute(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
,
AbstractOperation.undo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
and AbstractOperation.redo(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
methods so the correct persistence context gets bound.Modifier and Type | Field and Description |
---|---|
protected eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto |
parentNode |
parentNodeUuid, taxonNode
element, postOperationEnabled
Modifier | Constructor and Description |
---|---|
protected |
AbstractPersistentPostOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
IPostOperationEnabled postOperationEnabled,
eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled)
Constructor for AbstractPersistentPostOperation.
|
protected |
AbstractPersistentPostOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
IPostOperationEnabled postOperationEnabled,
eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled,
ICdmEntitySessionEnabled cdmEntitySessionEnabled)
Constructor for AbstractPersistentPostOperation.
|
|
AbstractPersistentPostOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
IPostOperationEnabled postOperationEnabled,
eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled,
ICdmEntitySessionEnabled cdmEntitySessionEnabled,
eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto parentNode)
Constructor for AbstractPersistentPostOperation.
|
|
AbstractPersistentPostOperation(java.lang.String label,
org.eclipse.core.commands.operations.IUndoContext undoContext,
eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto taxonNode,
IPostOperationEnabled postOperationEnabled,
eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled,
ICdmEntitySessionEnabled cdmEntitySessionEnabled)
Constructor for AbstractPersistentPostOperation.
|
Modifier and Type | Method and Description |
---|---|
void |
bind()
Binds the conversation that was attached to this operation.
|
protected org.eclipse.core.runtime.IStatus |
postExecute(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
This method will try to call the post operation on a possibly registered
IPostOperationEnabled implementor.
|
getSync, setSync
getCdmEntitySessionEnabled, getPostOperationEnabled
protected AbstractPersistentPostOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, IPostOperationEnabled postOperationEnabled, eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled)
Constructor for AbstractPersistentPostOperation.
label
- a String
object.undoContext
- a IUndoContext
object.postOperationEnabled
- a IPostOperationEnabled
object.conversationEnabled
- a IConversationEnabled
object.protected AbstractPersistentPostOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, IPostOperationEnabled postOperationEnabled, eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled, ICdmEntitySessionEnabled cdmEntitySessionEnabled)
Constructor for AbstractPersistentPostOperation.
label
- a String
object.undoContext
- a IUndoContext
object.postOperationEnabled
- a IPostOperationEnabled
object.conversationEnabled
- a IConversationEnabled
object.public AbstractPersistentPostOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto taxonNode, IPostOperationEnabled postOperationEnabled, eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled, ICdmEntitySessionEnabled cdmEntitySessionEnabled)
Constructor for AbstractPersistentPostOperation.
label
- a String
object.undoContext
- a IUndoContext
object.taxonNode
- a TaxonNode
object.postOperationEnabled
- a IPostOperationEnabled
object.conversationEnabled
- a IConversationEnabled
object.public AbstractPersistentPostOperation(java.lang.String label, org.eclipse.core.commands.operations.IUndoContext undoContext, IPostOperationEnabled postOperationEnabled, eu.etaxonomy.cdm.api.conversation.IConversationEnabled conversationEnabled, ICdmEntitySessionEnabled cdmEntitySessionEnabled, eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto parentNode)
Constructor for AbstractPersistentPostOperation.
label
- a String
object.undoContext
- a IUndoContext
object.postOperationEnabled
- a IPostOperationEnabled
object.conversationEnabled
- a IConversationEnabled
object.parentNode
- a ITaxonTreeNode
object.protected org.eclipse.core.runtime.IStatus postExecute(eu.etaxonomy.cdm.model.common.CdmBase objectAffectedByOperation)
postExecute
in class AbstractPostOperation<eu.etaxonomy.cdm.model.taxon.Taxon>
objectAffectedByOperation
- the affected object. Should be null
if not neededIStatus
object.public void bind()
Copyright © 2007-2018. All Rights Reserved.