final class DataDomainSyncFilterChain extends DataDomainFilterChain {
public GraphDiff onSync(final ObjectContext originatingContext, final GraphDiff changes, int syncType) {
DataChannelFilter filter = nextFilter();
return (filter != null) ? filter.onSync(originatingContext, changes, syncType, this) : onSyncNoFilters(
originatingContext, changes, syncType);
}
public QueryResponse onQuery(ObjectContext originatingContext, Query query) {
throw new UnsupportedOperationException("It is illegal to call 'onQuery' inside 'onSync' chain");