return getByPage(pageUrl, true);
}
private List<PageAttributeEntity> getByPage(final String pageUrl,
Boolean inherited) {
Query q = newQuery();
q.addFilter("pageUrl", EQUAL, pageUrl);
if (inherited != null) {
q.addFilter("inherited", EQUAL, inherited);
}
return select(q, "getByPage", params(pageUrl, inherited));
}