DataChannelQueryFilter and DataChannelSyncFilter@Deprecated public interface DataChannelFilter extends DataChannelSyncFilter, DataChannelQueryFilter
| Modifier and Type | Method and Description |
|---|---|
void |
init(DataChannel channel)
Deprecated.
|
QueryResponse |
onQuery(ObjectContext originatingContext,
Query query,
DataChannelFilterChain filterChain)
Deprecated.
|
default QueryResponse |
onQuery(ObjectContext originatingContext,
Query query,
DataChannelQueryFilterChain filterChain)
Deprecated.
Adapter method that allows to use old DataChannelFilter as new query filter
|
GraphDiff |
onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType,
DataChannelFilterChain filterChain)
Deprecated.
|
default GraphDiff |
onSync(ObjectContext originatingContext,
GraphDiff changes,
int syncType,
DataChannelSyncFilterChain filterChain)
Deprecated.
Adapter method that allows to use old DataChannelFilter as new sync filter
|
void init(DataChannel channel)
QueryResponse onQuery(ObjectContext originatingContext, Query query, DataChannelFilterChain filterChain)
GraphDiff onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelFilterChain filterChain)
default QueryResponse onQuery(ObjectContext originatingContext, Query query, DataChannelQueryFilterChain filterChain)
onQuery in interface DataChannelQueryFilteroriginatingContext - originating context of queryquery - that is processedfilterChain - chain of query filters to invoke after this filterdefault GraphDiff onSync(ObjectContext originatingContext, GraphDiff changes, int syncType, DataChannelSyncFilterChain filterChain)
onSync in interface DataChannelSyncFilteroriginatingContext - originating context of changeschanges - diff that is being processedsyncType - type of sync; possible values: DataChannel.FLUSH_NOCASCADE_SYNC,
DataChannel.FLUSH_CASCADE_SYNC,
DataChannel.ROLLBACK_CASCADE_SYNCfilterChain - chain of sync filters to invoke after this filterDataChannel.FLUSH_NOCASCADE_SYNC,
DataChannel.FLUSH_CASCADE_SYNC,
DataChannel.ROLLBACK_CASCADE_SYNCCopyright © 2001–2019 Apache Cayenne. All rights reserved.