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