public abstract class RemotingCdmOperation
extends org.eclipse.core.commands.operations.AbstractOperation
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class |
entityType |
Constructor and Description |
---|
RemotingCdmOperation(java.lang.String label,
CdmChangeEvent.Action action,
java.lang.Object source,
boolean async) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
doExecute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
execute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
protected void |
fireDataChangeEvent(eu.etaxonomy.cdm.model.common.CdmBase cdmBase) |
protected void |
fireDataChangeEvent(java.util.Set<eu.etaxonomy.cdm.model.common.CdmBase> changedObjects) |
protected void |
fireDataChangeEvent(eu.etaxonomy.cdm.api.service.UpdateResult updateResult) |
protected abstract org.eclipse.core.runtime.IStatus |
onComplete(boolean success) |
protected void |
postExecute(boolean success) |
org.eclipse.core.runtime.IStatus |
redo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
undo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
public RemotingCdmOperation(java.lang.String label, CdmChangeEvent.Action action, java.lang.Object source, boolean async)
public org.eclipse.core.runtime.IStatus execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
execute
in interface org.eclipse.core.commands.operations.IUndoableOperation
execute
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
protected abstract boolean doExecute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info)
protected void postExecute(boolean success)
protected abstract org.eclipse.core.runtime.IStatus onComplete(boolean success)
protected void fireDataChangeEvent(java.util.Set<eu.etaxonomy.cdm.model.common.CdmBase> changedObjects)
protected void fireDataChangeEvent(eu.etaxonomy.cdm.api.service.UpdateResult updateResult)
protected void fireDataChangeEvent(eu.etaxonomy.cdm.model.common.CdmBase cdmBase)
public org.eclipse.core.runtime.IStatus redo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
redo
in interface org.eclipse.core.commands.operations.IUndoableOperation
redo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
public org.eclipse.core.runtime.IStatus undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
undo
in interface org.eclipse.core.commands.operations.IUndoableOperation
undo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
Copyright © 2007-2018. All Rights Reserved.