fr.paris5.shaman.insight.operation
Class CreateTopicOperation

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

public class CreateTopicOperation
extends Operation

Creates a Topic.

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

Field Summary
private  java.lang.String name
           
private  java.lang.String parentFQN
           
private  long parentId
           
private  Topic result
           
(package private) static long serialVersionUID
           
 
Fields inherited from class fr.paris5.shaman.insight.service.Operation
consumed, insightManager, insightModel
 
Constructor Summary
CreateTopicOperation(long parentId, java.lang.String name)
           
CreateTopicOperation(java.lang.String parentFQN, java.lang.String name)
           
CreateTopicOperation(Topic parent, java.lang.String name)
           
 
Method Summary
 void doExecute(InsightModel insightModel)
           
 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

parentId

private final long parentId

parentFQN

private final java.lang.String parentFQN

name

private final java.lang.String name

result

private Topic result
Constructor Detail

CreateTopicOperation

public CreateTopicOperation(Topic parent,
                            java.lang.String name)

CreateTopicOperation

public CreateTopicOperation(java.lang.String parentFQN,
                            java.lang.String name)

CreateTopicOperation

public CreateTopicOperation(long parentId,
                            java.lang.String name)
Method Detail

getResult

public Topic getResult()

doExecute

public void doExecute(InsightModel insightModel)
               throws InvalidIdException,
                      InvalidTopicPathException
Overrides:
doExecute in class Operation


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