It's just filter definition but what about filter implementation?
External users want to work with the same objects graphs.
It should always owner.getCats() - but in some situations it should return only black cat or all cat or green eyes cats. So these filters are created by external users and also removed by them.
anirudhvyas010 wrote:
Hey,
Yea you can;
Code:
Configuration cfg;
FilterDefinition definition = new FilterDefinition("baba-black-sheep-filter","defaultCondition",null); // last arg is a Map of param types
cfg.addFilterDefinition(definition);
PS : Why do you want to use it ? ( or more of "where" do you want to use it ? )
Regards
Vyas, Anirudh