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
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
topicId
private final long topicId
importParameters
private final CreatePublicationOperation.MutableImportParameters importParameters
initialState
private java.lang.String initialState
contentPath
private java.lang.String contentPath
legendUserName
private java.lang.String legendUserName
legendUserPassword
private java.lang.String legendUserPassword
format
private java.lang.String format
result
private Publication result
importedResources
private ImportedResources importedResources
topic
private Topic topic
- Ugly variable for helping MutableImportParameters.
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.
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.