org.apache.cayenne.lifecycle.relationship
Class ObjectIdRelationshipFilter

java.lang.Object
  extended by org.apache.cayenne.lifecycle.relationship.ObjectIdRelationshipFilter
All Implemented Interfaces:
DataChannelFilter

public class ObjectIdRelationshipFilter
extends Object
implements DataChannelFilter

A DataChannelFilter that implements ObjectId relationships read functionality.

Since:
3.1

Constructor Summary
ObjectIdRelationshipFilter()
           
 
Method Summary
protected  ObjectIdRelationshipFaultingStrategy createFaultingStrategy()
           
 void init(DataChannel channel)
           
 QueryResponse onQuery(ObjectContext context, Query query, DataChannelFilterChain chain)
           
 GraphDiff onSync(ObjectContext context, GraphDiff diff, int syncType, DataChannelFilterChain chain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIdRelationshipFilter

public ObjectIdRelationshipFilter()
Method Detail

init

public void init(DataChannel channel)
Specified by:
init in interface DataChannelFilter

createFaultingStrategy

protected ObjectIdRelationshipFaultingStrategy createFaultingStrategy()

onSync

public GraphDiff onSync(ObjectContext context,
                        GraphDiff diff,
                        int syncType,
                        DataChannelFilterChain chain)
Specified by:
onSync in interface DataChannelFilter

onQuery

public QueryResponse onQuery(ObjectContext context,
                             Query query,
                             DataChannelFilterChain chain)
Specified by:
onQuery in interface DataChannelFilter


Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.