processFilter = new AndOperation(processFilter, fc);
}
}
if (contextVariable.length() > 0) {
FilterCriterion fc
= new ContextVariableEquality
(contextVariable, contextValue);
if (processFilter == null) {
processFilter = fc;
} else {
processFilter = new AndOperation(processFilter, fc);
}
}
FacesContext fc = FacesContext.getCurrentInstance();
PortletEnvironment portletEnv = (PortletEnvironment)
fc.getApplication().getVariableResolver().resolveVariable
(fc, "processPortletEnv");
Integer chunk = (Integer)
portletEnv.getPreferencesAsIntegers().get("displayedRows");
processesAsModel = new PaginatedDataModel
(pd.processes(processFilter, sortCriterion),