HSAdmin Backend Domains, E-Mail, Datenbanken
Purodha
2013-02-20 4a7e12928010374d76e677c8ec3ea4f5e63e9487
Add DomainOptionvalues which was accidentally forgotten last time.
1 files added
25 ■■■■■ changed files
hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java 25 ●●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/DomainOptionValues.java
New file
@@ -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<SelectableValue> get() {
        ArrayList<SelectableValue> list = new ArrayList<SelectableValue>();
        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;
    }
}