* @param presentationModel
*/
void setCategoryList(PresentationModel presentationModel) {
JobFunctionManager jobFunctionManager = (JobFunctionManager) ModelUtil
.getBean("jobFunctionManager");
JobFunction deviationFunction = (JobFunction) presentationModel
.getBufferedValue(DeviationModel.PROPERTY_DEVIATION_FUNCTION);
jobFunctionManager.lazyLoad(deviationFunction, new LazyLoadEnum[][] { {
LazyLoadEnum.FUNCTION_CATEGORIES, LazyLoadEnum.NONE } });
if (deviationFunction != null) {
functionCategoryList.clear();
functionCategoryList.addAll(deviationFunction
.getFunctionCategories());
functionCategoryList.add(0, null);
}
}