fr.paris5.shaman.insight.model
Class InsightModel

fr.paris5.shaman.insight.model.InsightModel
All Implemented Interfaces:
InsightConfigurationConstants

public class InsightModel
implements InsightConfigurationConstants

The root object for accessing all persistent objects of the Model.

Version:
$Id: InsightModel.java,v 1.6 2002/07/10 13:12:43 caillette Exp $
Author:
Laurent Caillette

Field Summary
static java.lang.String ROLE
           
 
Fields inherited from interface fr.paris5.shaman.insight.component.InsightConfigurationConstants
CLASS_ATTRIBUTE, COMMANDLOGS_ELEMENT, DEFAULT_PREVALENCEBASE_DIR, DIR_ELEMENT, EXPOSEDAS_ATTRIBUTE, LOGKITCONFIGURATION_DEFAULT_RESOURCE, PERSISTING_ATTRIBUTE, ROLE_ATTRIBUTE, SNAPSHOTDIR_ELEMENT, SYSTEMCONFIGURATIONURL_ATTRIBUTE
 
Constructor Summary
InsightModel()
           
 
Method Summary
 prevayler.AlarmClock clock()
           
 void compose(org.apache.avalon.framework.component.ComponentManager parentCM)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void executeOperation(Operation operation)
           
 PublicationModel getPublicationModel(Publication publication)
           
 TopicModel getRootTopicModel()
           
 TopicModel getTopicModel(long id)
           
 TopicModel getTopicModel(java.lang.String fqn)
          Not tested at all, may not work.
 TopicModel getTopicModel(Topic topic)
           
 void initialize()
           
 

Field Detail

ROLE

public static final java.lang.String ROLE
Constructor Detail

InsightModel

public InsightModel()
Method Detail

executeOperation

public void executeOperation(Operation operation)
                      throws java.lang.Exception

getRootTopicModel

public TopicModel getRootTopicModel()

getTopicModel

public TopicModel getTopicModel(Topic topic)
                         throws InvalidIdException

getTopicModel

public TopicModel getTopicModel(java.lang.String fqn)
                         throws InvalidTopicPathException
Not tested at all, may not work.

getTopicModel

public TopicModel getTopicModel(long id)
                         throws InvalidIdException

getPublicationModel

public PublicationModel getPublicationModel(Publication publication)
                                     throws InvalidIdException,
                                            PublicationNotOwnedException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException

clock

public prevayler.AlarmClock clock()

initialize

public void initialize()
                throws java.lang.Exception

compose

public void compose(org.apache.avalon.framework.component.ComponentManager parentCM)
             throws org.apache.avalon.framework.component.ComponentException


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