@Override
protected void execute(OperationContext operationContext, ResultHandler resultHandler, Navigation navigation)
throws ResourceNotFoundException, OperationException {
List<String> filterAttributes = operationContext.getAttributes().getValues("filter");
PathTemplateFilter filter;
try {
filter = PathTemplateFilter.parse(filterAttributes);
} catch (ParseException e) {
throw new OperationException(operationContext.getOperationName(), "Could not parse filter attributes.", e);
}
if (filter.hasPathTemplate("nav-uri")) {
filtered.execute(operationContext, resultHandler, filter);
} else {
Site site = navigation.getSite();
String navUri = operationContext.getAddress().resolvePathTemplate("nav-uri");
SiteKey siteKey = getSiteKey(site);