org.bsf.smartValueObject.mediator
Interface Mediator

All Known Implementing Classes:
DemoMediator, EjbSvoMediator

public interface Mediator

The mediator interface.


Field Summary
static java.lang.String INDEXFIELD
           
 
Method Summary
 void deleteGraph(java.lang.Object graph)
          Deletes a graph.
 java.lang.Object getGraph(java.lang.Object prototype)
          Retrieves a graph based on given prototype.
 void updateGraph(java.lang.Object graph)
          Stores a graph.
 

Field Detail

INDEXFIELD

public static final java.lang.String INDEXFIELD
See Also:
Constant Field Values
Method Detail

getGraph

public java.lang.Object getGraph(java.lang.Object prototype)
                          throws MediatorException
Retrieves a graph based on given prototype.

Parameters:
prototype - a prototype to obtain a initialized graph.
Returns:
Throws:
MediatorException

updateGraph

public void updateGraph(java.lang.Object graph)
                 throws MediatorException
Stores a graph.

Parameters:
graph - the root element of the graph.
Throws:
MediatorException

deleteGraph

public void deleteGraph(java.lang.Object graph)
                 throws MediatorException
Deletes a graph.

Parameters:
graph - the root element of the graph.
Throws:
MediatorException