// Convenience methods to help filter returned data
protected JsonFilter getFilter(String include, String exclude) throws Exception {
return new JsonFilter(getLocale(), include, exclude);
}
protected JsonFilter getFilter(String include, String exclude, String identityAttr) throws Exception {
return new JsonFilter(getLocale(), include, exclude, identityAttr);
}