diff --git a/hsarback/src/de/hsadmin/mods/dom/Domain.java b/hsarback/src/de/hsadmin/mods/dom/Domain.java index aa4de48..49d5c83 100644 --- a/hsarback/src/de/hsadmin/mods/dom/Domain.java +++ b/hsarback/src/de/hsadmin/mods/dom/Domain.java @@ -64,7 +64,7 @@ public class Domain extends AbstractEntity { @AnnFieldIO(validation="([a-z0-9\\-]+\\,)*[a-z0-9\\-]+|\\*", rw=ReadWriteAccess.READWRITE) @Column(name = "valid_subdomain_names", columnDefinition = "character varying(512)") - private String validSubdomainNames; + private String validsubdomainnames; public Domain() { } @@ -183,16 +183,16 @@ public class Domain extends AbstractEntity { this.domainoptions = domainOptions; } - public String getValidSubdomainNames() { - return validSubdomainNames; + public String getValidsubdomainnames() { + return validsubdomainnames; } - public void setValidSubdomainNames(String validSubdomainNames) { - this.validSubdomainNames = validSubdomainNames; + public void setValidsubdomainnames(String validSubdomainNames) { + this.validsubdomainnames = validSubdomainNames; } public String getServeraliases() { - String[] subs = validSubdomainNames.split(","); + String[] subs = validsubdomainnames.split(","); StringBuffer aliases = new StringBuffer(); for (String sub : subs) { aliases.append(' '); diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java index 16788dd..8450d7a 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainModuleImpl.java @@ -181,8 +181,8 @@ public class DomainModuleImpl extends AbstractModuleImpl { } dom.setDomainoptions(domainOptions); } - if (dom.getValidSubdomainNames() == null) { - dom.setValidSubdomainNames("www"); + if (dom.getValidsubdomainnames() == null) { + dom.setValidsubdomainnames("www"); } if (dom.isPacDomain()) { em.persist(new EMailAddress("owner", "", dom, dom.getUser().getPac().getCustomer().getName().substring(6) + "@hostsharing.net")); diff --git a/hsarback/src/de/hsadmin/remote/DomainRemote.java b/hsarback/src/de/hsadmin/remote/DomainRemote.java index be2b215..e85477b 100644 --- a/hsarback/src/de/hsadmin/remote/DomainRemote.java +++ b/hsarback/src/de/hsadmin/remote/DomainRemote.java @@ -47,7 +47,7 @@ public class DomainRemote extends AbstractRemote { domainOptionsList.add(opt.getName()); } } - final String validsubdomains = dom.getValidSubdomainNames(); + final String validsubdomains = dom.getValidsubdomainnames(); resultMap.put("validsubdomains", validsubdomains); } @@ -77,7 +77,7 @@ public class DomainRemote extends AbstractRemote { } final Object validsubdomains = setParams.get("validsubdomains"); if (validsubdomains != null && validsubdomains instanceof String) { - dom.setValidSubdomainNames((String) validsubdomains); + dom.setValidsubdomainnames((String) validsubdomains); } }