| com.versant.core.server.StateReceiver
All known Subclasses: com.versant.core.server.FalseStateReceiver,
StateReceiver | public interface StateReceiver (Code) | | Classes that can receive extra states from a DataStore implement this.
|
Method Summary | |
public void | addState(OID oid, State state) This is a callback for DataStore instances to use when they have
additional data they want to provide. | public boolean | isStateRequired(OID oid, FetchGroup fetchGroup) This is a callback for DataStore instances to use when they have
additional data above that requested.
Parameters: fetchGroup - This is relative to the class of oid True if the receiver may accept a State for the oid. |
isStateRequired | public boolean isStateRequired(OID oid, FetchGroup fetchGroup)(Code) | | This is a callback for DataStore instances to use when they have
additional data above that requested.
Parameters: fetchGroup - This is relative to the class of oid True if the receiver may accept a State for the oid. The storeshould construct a State and call addState. If this is false thenthe store should discard its extra data. This two step process preventsthe construction of unecessary State objects. See Also: StateReceiver.addState |
|
|