private LocalisationBundleLoader _genericLoader = new LocalisationBundleLoader(WGUtils.getPackagePath(GenericPersonalisationDatabaseModuleDefinition.class) + "/genericpers", getClass().getClassLoader());
public OptionDefinitionsMap getOptionDefinitions() {
OptionDefinitionsMap options = new OptionDefinitionsMap();
PredefinedValuesOptionType csVersionType = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_CONTENT_STORE_VERSION);
csVersionType.addValue(String.valueOf(WGDatabase.CSVERSION_WGA3));
csVersionType.addValue(String.valueOf(WGDatabase.CSVERSION_WGA5));
LocalizedOptionDefinition csVersion = new LocalizedOptionDefinition(WGDatabase.COPTION_CONTENT_STORE_VERSION, csVersionType, _genericLoader);
csVersion.setOptional(true);
csVersion.setExpert(true);
options.addOption(csVersion);
LocalizedOptionDefinition deletionCheck = new LocalizedOptionDefinition(WGDatabase.COPTION_DELETIONCHECK, BooleanOptionType.INSTANCE, _genericLoader);
deletionCheck.setOptional(true);
deletionCheck.setExpert(true);
deletionCheck.setDefaultValue(Boolean.FALSE.toString());
options.addOption(deletionCheck);
LocalizedOptionDefinition caching = new LocalizedOptionDefinition(WGDatabase.COPTION_CACHING_ENABLED, BooleanOptionType.INSTANCE, _genericLoader);
caching.setOptional(true);
caching.setExpert(true);
caching.setDefaultValue(Boolean.TRUE.toString());
options.addOption(caching);
PredefinedValuesOptionType noItemBehaviourProvider = new PredefinedValuesOptionType(_genericLoader, WGDatabase.COPTION_NOITEMBEHAVIOUR);
noItemBehaviourProvider.addValue("default");
noItemBehaviourProvider.addValue("compatible");
LocalizedOptionDefinition noItemBehaviour = new LocalizedOptionDefinition(WGDatabase.COPTION_NOITEMBEHAVIOUR, noItemBehaviourProvider, _genericLoader);
noItemBehaviour.setOptional(true);
noItemBehaviour.setExpert(true);
noItemBehaviour.setDefaultValue("default");
options.addOption(noItemBehaviour);