fr.paris5.shaman.insight.operation
Class RenameTopicOperation

java.lang.Object
  |
  +--fr.paris5.shaman.insight.service.Operation
        |
        +--fr.paris5.shaman.insight.operation.RenameTopicOperation
All Implemented Interfaces:
java.io.Serializable

public class RenameTopicOperation
extends Operation

Renames a Topic

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

Field Summary
private  java.lang.String newName
           
private  Topic renamedTopic
           
(package private) static long serialVersionUID
           
private  Topic topic
           
 
Fields inherited from class fr.paris5.shaman.insight.service.Operation
consumed, insightManager, insightModel
 
Constructor Summary
RenameTopicOperation(Topic topic, java.lang.String newName)
           
 
Method Summary
protected  void doExecute(InsightModel model)
           
 Topic getResult()
           
 
Methods inherited from class fr.paris5.shaman.insight.service.Operation
execute, getInsightManager, getInsightModel, isMutator
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID

topic

private final Topic topic

newName

private final java.lang.String newName

renamedTopic

private Topic renamedTopic
Constructor Detail

RenameTopicOperation

public RenameTopicOperation(Topic topic,
                            java.lang.String newName)
Method Detail

doExecute

protected void doExecute(InsightModel model)
                  throws java.lang.Exception
Overrides:
doExecute in class Operation

getResult

public Topic getResult()
Returns:
The renamed Topic object.


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