Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne
Interface DataChannelFilter

    public interface DataChannelFilter

An interface of a filter that allows to intercept DataChannel operations. Filters allow to implement chains of custom processors around a DataChannel, that can be used for security, monitoring, business logic, providing context to lifecycle event listeners, etc.

Since:
  3.1

Method Summary
`void` | `init(DataChannel channel)`
`QueryResponse` | `onQuery(ObjectContext originatingContext, Query query, DataChannelFilterChain filterChain)`
`GraphDiff` | `onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelFilterChain filterChain)`

Method Detail

### init

    void init(DataChannel channel)

### onQuery

    QueryResponse onQuery(ObjectContext originatingContext,
                          Query query,
                          DataChannelFilterChain filterChain)

### onSync

    GraphDiff onSync(ObjectContext originatingContext,
                     GraphDiff changes,
                     int syncType,
                     DataChannelFilterChain filterChain)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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