private List<LabelValueBean> getAllDepartments(List<Department> allDepartments) {
private List<LabelValueBean> getAllDepartments(Collection<Department> allDepartments) {
    private List<LabelValueBean> getAllDepartments(List<Department> allDepartments) {        List<LabelValueBean> departments = new ArrayList<LabelValueBean>();        for (Department department : allDepartments) {            LabelValueBean labelValueBean = new LabelValueBean();            labelValueBean.setValue(department.getIdInternal().toString());            labelValueBean.setLabel(department.getRealName());            departments.add(labelValueBean);        }        Collections.sort(departments, new BeanComparator("label"));        return departments;    }