Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This section shows how to use the Glossary Mechanism when defining mandatory fieldswhile creating business object classes.

 

Expand
titleMandatory fields example

keys used: key_website

 

Code Block
languagejava
titleCRMBOWebCustomerEventBean
@Override
protected LinkedHashMap<String, String> getMandatoryFields(CRMDO dto) throws Exception {
   		
	LinkedHashMap<String, String> mandatoryFields = new LinkedHashMap<String, String>();
   		
   	mandatoryFields.putAll(super.getMandatoryFields(dto));
   	mandatoryFields.put("key_website", "website");
   	return mandatoryFields;
}