fr.paris5.shaman.insight.operation
Class CreatePublicationOperation

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

public class CreatePublicationOperation
extends Operation

Creates a new Publication, by performing a resource import from active Legend repository.

Version:
$Id: CreatePublicationOperation.java,v 1.3 2002/07/25 13:18:08 caillette Exp $
Author:
Laurent Caillette
See Also:
Serialized Form

Constructor Summary
CreatePublicationOperation(long topicId)
          Creates a new Publication for a given Topic.
CreatePublicationOperation(Topic topic)
           
 
Method Summary
 void addContentPath(java.lang.String contentPath)
          Only 1 contentPath value currently supported.
protected  void doExecute(InsightModel insightModel)
           
 ImportedResources getImportedResources()
           
 Publication getResult()
           
 void setFormat(java.lang.String format)
           
 void setInitialState(java.lang.String initialState)
           
 void setLegendUserName(java.lang.String legendUserName)
           
 void setLegendUserPassword(java.lang.String legendUserPassword)
           
 
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, toString, wait, wait, wait
 

Constructor Detail

CreatePublicationOperation

public CreatePublicationOperation(Topic topic)

CreatePublicationOperation

public CreatePublicationOperation(long topicId)
Creates a new Publication for a given Topic.
Parameters:
topic - The Topic owning the Publication.
impactStore - Update content store from Legend repository.
Method Detail

setInitialState

public void setInitialState(java.lang.String initialState)

addContentPath

public void addContentPath(java.lang.String contentPath)
Only 1 contentPath value currently supported.
Parameters:
contentPath -  

setLegendUserName

public void setLegendUserName(java.lang.String legendUserName)

setLegendUserPassword

public void setLegendUserPassword(java.lang.String legendUserPassword)

setFormat

public void setFormat(java.lang.String format)

getResult

public Publication getResult()

getImportedResources

public ImportedResources getImportedResources()

doExecute

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


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