public Map<String, Integer> getDocumentTypesForSelect() { if (documentTypesForSelect == null || documentTypesForSelect.isEmpty()) { documentTypesForSelect = new LinkedHashMap<String, Integer>(); List<DocumentType> l = documentService.getAllType(); documentTypesForSelect.put(ParameterModel.PLEASE_SELECT, null); for (DocumentType c : l) { documentTypesForSelect.put(c.getDocumentType(), c.getId()); } } return documentTypesForSelect; }