property names in lowercase
This commit is contained in:
parent
b83ca0d33f
commit
0c5e4774b8
@ -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(' ');
|
||||
|
@ -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"));
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user