public CalendarModelConfigurationImpl( Collection<String> selected, Collection<RaplaType> idTypeList, boolean resourceRootSelected, ClassificationFilter[] filter, boolean defaultResourceTypes, boolean defaultEventTypes, String title, Date startDate, Date endDate, Date selectedDate, String view, Map<String, String> extensionMap) { if (selected != null) { this.selected = Collections.unmodifiableList(new ArrayList<String>(selected)); typeList = new ArrayList<String>(); for (RaplaType type : idTypeList) { typeList.add(type.getLocalName()); } } else { this.selected = Collections.emptyList(); typeList = Collections.emptyList(); } this.view = view; this.resourceRootSelected = resourceRootSelected; this.defaultEventTypes = defaultEventTypes; this.defaultResourceTypes = defaultResourceTypes; this.title = title; this.startDate = startDate; this.endDate = endDate; this.selectedDate = selectedDate; List<ClassificationFilterImpl> filterList = new ArrayList<ClassificationFilterImpl>(); if (filter != null) { for (ClassificationFilter f : filter) { filterList.add((ClassificationFilterImpl) f); } } super.setClassificationFilter(filterList); Map<String, String> map = new LinkedHashMap<String, String>(); if (extensionMap != null) { map.putAll(extensionMap); } this.optionMap = Collections.unmodifiableMap(map); }
public void setResolver(EntityResolver resolver) { super.setResolver(resolver); }