Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.persistence.persistencemanager.common
Interface StateHandler


public interface StateHandler

Method Summary
 oracle.dss.persistence.state.StateAgent createStateAgentForPersistable(HandlerRegistry registry, Persistable persistable,  manager, java.lang.Object clientInfo, boolean isTopComponent)
          Creates a StateAgent for the persistable instance.
 Persistable recreatePersistableFromStateAgent(HandlerRegistry registry, oracle.dss.persistence.state.StateAgent agent,  manager, ObjectFactory factory, java.lang.Object clientInfo, boolean isTopComponent)
          Creates a Persistable instance based on the StateAgent.

 

Method Detail

createStateAgentForPersistable

public oracle.dss.persistence.state.StateAgent createStateAgentForPersistable(HandlerRegistry registry,
Persistable persistable,
                                                                               manager,
                                                                              java.lang.Object clientInfo,
                                                                              boolean isTopComponent)
                                                                       throws java.lang.Exception
Creates a StateAgent for the persistable instance.
Parameters:
registry - The StateHandler registry
persistable - The persistable instance
manager - The StateObjectManager user can store their XML in memory
clientInfo - Additional information from client
isTopComponent - true if the persistable instance is the top component in the hierarchy false otherwise
Returns:
a StateAgent for this persistable object
See Also:
StateAgent

recreatePersistableFromStateAgent

public Persistable recreatePersistableFromStateAgent(HandlerRegistry registry,
                                                     oracle.dss.persistence.state.StateAgent agent,
                                                      manager,
ObjectFactory factory,
                                                     java.lang.Object clientInfo,
                                                     boolean isTopComponent)
                                              throws java.lang.Exception
Creates a Persistable instance based on the StateAgent.
Parameters:
registry - The StateHandler registry
agent - The StateAgent
manager - The StateObject manager to store XML in memory
factory - The factory used to re-create the persistable instance
clientInfo - Additional information from client
isTopComponent - true if the persistable instance is the top component in the hierarchy false otherwise
Returns:
a Persistable instance
See Also:
StateAgent

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.