fr.paris5.shaman.insight.service
Class Operation

java.lang.Object
  |
  +--fr.paris5.shaman.insight.service.Operation
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AbstractTopicOperation, CreatePublicationOperation, CreateTopicOperation, GetPublicationFragmentsOperation, GetRootTopicOperation, GetTopicDefaultPublicationOperation, GetTopicPublicationsOperation, GetTopicTreeOperation, RenameTopicOperation, SetTopicDefaultPublicationOperation, UpdatePublicationStateOperation

public abstract class Operation
extends java.lang.Object
implements java.io.Serializable

Defines an operation to perform on the server model, and carries in-out parameters as well.

Version:
$Id: Operation.java,v 1.2 2002/07/04 10:05:16 caillette Exp $
Author:
Laurent Caillette
See Also:
Serialized Form

Constructor Summary
Operation()
           
 
Method Summary
protected abstract  void doExecute(InsightModel model)
           
 void execute(InsightManager insightManager)
           
protected  InsightManager getInsightManager()
           
protected  InsightModel getInsightModel()
           
 boolean isMutator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operation

public Operation()
Method Detail

isMutator

public boolean isMutator()

getInsightManager

protected final InsightManager getInsightManager()

getInsightModel

protected final InsightModel getInsightModel()
                                      throws org.apache.avalon.framework.component.ComponentException

execute

public final void execute(InsightManager insightManager)
                   throws java.lang.Exception

doExecute

protected abstract void doExecute(InsightModel model)
                           throws java.lang.Exception


Copyright © 2002 Laurent Caillette and l'Université René Descartes, Paris 5. All rights reserved.