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
rootTopic
private final TopicModel rootTopic
topicIdCounter
private long topicIdCounter
publicationIdCounter
private long publicationIdCounter
commandLogDirectories
private transient java.lang.String[] commandLogDirectories
- Used by Prevayler 1.03.000 alpha
snapshotDirectory
private transient java.lang.String snapshotDirectory
persisting
private transient boolean persisting
prevayler
private transient prevayler.Prevayler prevayler
clock
private final prevayler.AlarmClock clock
ROLE
public static final java.lang.String ROLE
insightManager
private InsightManager insightManager
InsightModel
public InsightModel()
executeOperation
public void executeOperation(Operation operation)
throws java.lang.Exception
createTopicId
long createTopicId()
getRootTopicModel
public TopicModel getRootTopicModel()
createPublicationId
long createPublicationId()
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.
lookFor
private TopicModel lookFor(TopicModel parent,
long id)
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.