fr.paris5.shaman.insight.operation
Class GetTopicPublicationsOperation

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

public class GetTopicPublicationsOperation
extends Operation

Retrieves Topic's Publications, optionally statisfying a set of constraints (defined as filters), and, optionally, recursively from the given Topic.

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

Constructor Summary
GetTopicPublicationsOperation(long topicId)
           
GetTopicPublicationsOperation(Topic topic)
           
 
Method Summary
 void addFilter(PublicationFilter filter)
           
protected  void doExecute(InsightModel insightModel)
           
 Publication[] getResult()
           
 boolean isMutator()
           
 void setRecurse(boolean recurse)
          Set recursive behavior.
 
Methods inherited from class fr.paris5.shaman.insight.service.Operation
execute, getInsightManager, getInsightModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTopicPublicationsOperation

public GetTopicPublicationsOperation(Topic topic)

GetTopicPublicationsOperation

public GetTopicPublicationsOperation(long topicId)
Method Detail

setRecurse

public void setRecurse(boolean recurse)
Set recursive behavior. Default is false.
Parameters:
recurse - true if recursive exploration of sub-Topics needed, false otherwise.
Returns:
 

addFilter

public void addFilter(PublicationFilter filter)

doExecute

protected void doExecute(InsightModel insightModel)
                  throws InvalidIdException
Overrides:
doExecute in class Operation

getResult

public Publication[] getResult()

isMutator

public boolean isMutator()
Overrides:
isMutator in class Operation


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