From 4a7e12928010374d76e677c8ec3ea4f5e63e9487 Mon Sep 17 00:00:00 2001 From: Purodha Date: Wed, 20 Feb 2013 10:43:13 +0000 Subject: [PATCH] Add DomainOptionvalues which was accidentally forgotten last time. --- .../hsadmin/mods/dom/DomainOptionValues.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java b/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java new file mode 100644 index 0000000..0deef16 --- /dev/null +++ b/hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java @@ -0,0 +1,25 @@ +package de.hsadmin.mods.dom; + +import java.util.ArrayList; +import java.util.List; + +import de.hsadmin.core.model.BooleanListValue; +import de.hsadmin.core.model.DefaultSelectableValues; +import de.hsadmin.core.model.SelectableValue; + +public class DomainOptionValues extends DefaultSelectableValues { + + @Override + public List get() { + ArrayList list = new ArrayList(); + list.add(new BooleanListValue("backupmxforexternalmx")); + list.add(new BooleanListValue("greylisting")); + list.add(new BooleanListValue("htdocsfallback")); + list.add(new BooleanListValue("includes")); + list.add(new BooleanListValue("indexes")); + list.add(new BooleanListValue("multiviews")); + list.add(new BooleanListValue("php")); + return list; + } + +}