#461 : add ldap attributes
This commit is contained in:
parent
25c5a9bbfe
commit
9d955d17d9
9 changed files with 7655 additions and 201 deletions
|
@ -17,10 +17,6 @@
|
|||
"enabled" : false
|
||||
},
|
||||
"properties" : {
|
||||
"groups" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"name" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
|
@ -37,6 +33,144 @@
|
|||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"employeeNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"mail" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"telephoneNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"homePhone" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"homePostalAddress" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"labeledURI" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"roomNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"description" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"title" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"pager" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"street" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"postalCode" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"physicalDeliveryOfficeName" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"destinationIndicator" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"internationaliSDNNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"state" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"employeeType" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"facsimileTelephoneNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"postOfficeBox" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"initials" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"carLicense" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"mobile" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"postalAddress" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"city" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"teletexTerminalIdentifier" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"x121Address" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"businessCategory" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"registeredAddress" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"displayName" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"preferredLanguage" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"departmentNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"uidNumber" : {
|
||||
"type" : "long"
|
||||
},
|
||||
"gidNumber" : {
|
||||
"type" : "long"
|
||||
},
|
||||
"homeDirectory" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"groups" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"roles" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
|
|
|
@ -74,11 +74,45 @@ public abstract class BsUserBhv extends EsAbstractBehavior<User, UserCB> {
|
|||
protected <RESULT extends User> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
|
||||
try {
|
||||
final RESULT result = entityType.newInstance();
|
||||
result.setGroups(toStringArray(source.get("groups")));
|
||||
result.setName(DfTypeUtil.toString(source.get("name")));
|
||||
result.setPassword(DfTypeUtil.toString(source.get("password")));
|
||||
result.setSurname(DfTypeUtil.toString(source.get("surname")));
|
||||
result.setGivenName(DfTypeUtil.toString(source.get("givenName")));
|
||||
result.setEmployeeNumber(DfTypeUtil.toString(source.get("employeeNumber")));
|
||||
result.setMail(DfTypeUtil.toString(source.get("mail")));
|
||||
result.setTelephoneNumber(DfTypeUtil.toString(source.get("telephoneNumber")));
|
||||
result.setHomePhone(DfTypeUtil.toString(source.get("homePhone")));
|
||||
result.setHomePostalAddress(DfTypeUtil.toString(source.get("homePostalAddress")));
|
||||
result.setLabeledURI(DfTypeUtil.toString(source.get("labeledURI")));
|
||||
result.setRoomNumber(DfTypeUtil.toString(source.get("roomNumber")));
|
||||
result.setDescription(DfTypeUtil.toString(source.get("description")));
|
||||
result.setTitle(DfTypeUtil.toString(source.get("title")));
|
||||
result.setPager(DfTypeUtil.toString(source.get("pager")));
|
||||
result.setStreet(DfTypeUtil.toString(source.get("street")));
|
||||
result.setPostalCode(DfTypeUtil.toString(source.get("postalCode")));
|
||||
result.setPhysicalDeliveryOfficeName(DfTypeUtil.toString(source.get("physicalDeliveryOfficeName")));
|
||||
result.setDestinationIndicator(DfTypeUtil.toString(source.get("destinationIndicator")));
|
||||
result.setInternationaliSDNNumber(DfTypeUtil.toString(source.get("internationaliSDNNumber")));
|
||||
result.setState(DfTypeUtil.toString(source.get("state")));
|
||||
result.setEmployeeType(DfTypeUtil.toString(source.get("employeeType")));
|
||||
result.setFacsimileTelephoneNumber(DfTypeUtil.toString(source.get("facsimileTelephoneNumber")));
|
||||
result.setPostOfficeBox(DfTypeUtil.toString(source.get("postOfficeBox")));
|
||||
result.setInitials(DfTypeUtil.toString(source.get("initials")));
|
||||
result.setCarLicense(DfTypeUtil.toString(source.get("carLicense")));
|
||||
result.setMobile(DfTypeUtil.toString(source.get("mobile")));
|
||||
result.setPostalAddress(DfTypeUtil.toString(source.get("postalAddress")));
|
||||
result.setCity(DfTypeUtil.toString(source.get("city")));
|
||||
result.setTeletexTerminalIdentifier(DfTypeUtil.toString(source.get("teletexTerminalIdentifier")));
|
||||
result.setX121Address(DfTypeUtil.toString(source.get("x121Address")));
|
||||
result.setBusinessCategory(DfTypeUtil.toString(source.get("businessCategory")));
|
||||
result.setRegisteredAddress(DfTypeUtil.toString(source.get("registeredAddress")));
|
||||
result.setDisplayName(DfTypeUtil.toString(source.get("displayName")));
|
||||
result.setPreferredLanguage(DfTypeUtil.toString(source.get("preferredLanguage")));
|
||||
result.setDepartmentNumber(DfTypeUtil.toString(source.get("departmentNumber")));
|
||||
result.setUidNumber(DfTypeUtil.toLong(source.get("uidNumber")));
|
||||
result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber")));
|
||||
result.setHomeDirectory(DfTypeUtil.toString(source.get("homeDirectory")));
|
||||
result.setGroups(toStringArray(source.get("groups")));
|
||||
result.setRoles(toStringArray(source.get("roles")));
|
||||
return result;
|
||||
} catch (InstantiationException | IllegalAccessException e) {
|
||||
|
|
|
@ -37,9 +37,6 @@ public class BsUser extends EsAbstractEntity {
|
|||
// ===================================================================================
|
||||
// Attribute
|
||||
// =========
|
||||
/** groups */
|
||||
protected String[] groups;
|
||||
|
||||
/** name */
|
||||
protected String name;
|
||||
|
||||
|
@ -52,6 +49,111 @@ public class BsUser extends EsAbstractEntity {
|
|||
/** givenName */
|
||||
protected String givenName;
|
||||
|
||||
/** employeeNumber */
|
||||
protected String employeeNumber;
|
||||
|
||||
/** mail */
|
||||
protected String mail;
|
||||
|
||||
/** telephoneNumber */
|
||||
protected String telephoneNumber;
|
||||
|
||||
/** homePhone */
|
||||
protected String homePhone;
|
||||
|
||||
/** homePostalAddress */
|
||||
protected String homePostalAddress;
|
||||
|
||||
/** labeledURI */
|
||||
protected String labeledURI;
|
||||
|
||||
/** roomNumber */
|
||||
protected String roomNumber;
|
||||
|
||||
/** description */
|
||||
protected String description;
|
||||
|
||||
/** title */
|
||||
protected String title;
|
||||
|
||||
/** pager */
|
||||
protected String pager;
|
||||
|
||||
/** street */
|
||||
protected String street;
|
||||
|
||||
/** postalCode */
|
||||
protected String postalCode;
|
||||
|
||||
/** physicalDeliveryOfficeName */
|
||||
protected String physicalDeliveryOfficeName;
|
||||
|
||||
/** destinationIndicator */
|
||||
protected String destinationIndicator;
|
||||
|
||||
/** internationaliSDNNumber */
|
||||
protected String internationaliSDNNumber;
|
||||
|
||||
/** state */
|
||||
protected String state;
|
||||
|
||||
/** employeeType */
|
||||
protected String employeeType;
|
||||
|
||||
/** facsimileTelephoneNumber */
|
||||
protected String facsimileTelephoneNumber;
|
||||
|
||||
/** postOfficeBox */
|
||||
protected String postOfficeBox;
|
||||
|
||||
/** initials */
|
||||
protected String initials;
|
||||
|
||||
/** carLicense */
|
||||
protected String carLicense;
|
||||
|
||||
/** mobile */
|
||||
protected String mobile;
|
||||
|
||||
/** postalAddress */
|
||||
protected String postalAddress;
|
||||
|
||||
/** city */
|
||||
protected String city;
|
||||
|
||||
/** teletexTerminalIdentifier */
|
||||
protected String teletexTerminalIdentifier;
|
||||
|
||||
/** x121Address */
|
||||
protected String x121Address;
|
||||
|
||||
/** businessCategory */
|
||||
protected String businessCategory;
|
||||
|
||||
/** registeredAddress */
|
||||
protected String registeredAddress;
|
||||
|
||||
/** displayName */
|
||||
protected String displayName;
|
||||
|
||||
/** preferredLanguage */
|
||||
protected String preferredLanguage;
|
||||
|
||||
/** departmentNumber */
|
||||
protected String departmentNumber;
|
||||
|
||||
/** uidNumber */
|
||||
protected Long uidNumber;
|
||||
|
||||
/** gidNumber */
|
||||
protected Long gidNumber;
|
||||
|
||||
/** homeDirectory */
|
||||
protected String homeDirectory;
|
||||
|
||||
/** groups */
|
||||
protected String[] groups;
|
||||
|
||||
/** roles */
|
||||
protected String[] roles;
|
||||
|
||||
|
@ -76,9 +178,6 @@ public class BsUser extends EsAbstractEntity {
|
|||
@Override
|
||||
public Map<String, Object> toSource() {
|
||||
Map<String, Object> sourceMap = new HashMap<>();
|
||||
if (groups != null) {
|
||||
sourceMap.put("groups", groups);
|
||||
}
|
||||
if (name != null) {
|
||||
sourceMap.put("name", name);
|
||||
}
|
||||
|
@ -91,6 +190,111 @@ public class BsUser extends EsAbstractEntity {
|
|||
if (givenName != null) {
|
||||
sourceMap.put("givenName", givenName);
|
||||
}
|
||||
if (employeeNumber != null) {
|
||||
sourceMap.put("employeeNumber", employeeNumber);
|
||||
}
|
||||
if (mail != null) {
|
||||
sourceMap.put("mail", mail);
|
||||
}
|
||||
if (telephoneNumber != null) {
|
||||
sourceMap.put("telephoneNumber", telephoneNumber);
|
||||
}
|
||||
if (homePhone != null) {
|
||||
sourceMap.put("homePhone", homePhone);
|
||||
}
|
||||
if (homePostalAddress != null) {
|
||||
sourceMap.put("homePostalAddress", homePostalAddress);
|
||||
}
|
||||
if (labeledURI != null) {
|
||||
sourceMap.put("labeledURI", labeledURI);
|
||||
}
|
||||
if (roomNumber != null) {
|
||||
sourceMap.put("roomNumber", roomNumber);
|
||||
}
|
||||
if (description != null) {
|
||||
sourceMap.put("description", description);
|
||||
}
|
||||
if (title != null) {
|
||||
sourceMap.put("title", title);
|
||||
}
|
||||
if (pager != null) {
|
||||
sourceMap.put("pager", pager);
|
||||
}
|
||||
if (street != null) {
|
||||
sourceMap.put("street", street);
|
||||
}
|
||||
if (postalCode != null) {
|
||||
sourceMap.put("postalCode", postalCode);
|
||||
}
|
||||
if (physicalDeliveryOfficeName != null) {
|
||||
sourceMap.put("physicalDeliveryOfficeName", physicalDeliveryOfficeName);
|
||||
}
|
||||
if (destinationIndicator != null) {
|
||||
sourceMap.put("destinationIndicator", destinationIndicator);
|
||||
}
|
||||
if (internationaliSDNNumber != null) {
|
||||
sourceMap.put("internationaliSDNNumber", internationaliSDNNumber);
|
||||
}
|
||||
if (state != null) {
|
||||
sourceMap.put("state", state);
|
||||
}
|
||||
if (employeeType != null) {
|
||||
sourceMap.put("employeeType", employeeType);
|
||||
}
|
||||
if (facsimileTelephoneNumber != null) {
|
||||
sourceMap.put("facsimileTelephoneNumber", facsimileTelephoneNumber);
|
||||
}
|
||||
if (postOfficeBox != null) {
|
||||
sourceMap.put("postOfficeBox", postOfficeBox);
|
||||
}
|
||||
if (initials != null) {
|
||||
sourceMap.put("initials", initials);
|
||||
}
|
||||
if (carLicense != null) {
|
||||
sourceMap.put("carLicense", carLicense);
|
||||
}
|
||||
if (mobile != null) {
|
||||
sourceMap.put("mobile", mobile);
|
||||
}
|
||||
if (postalAddress != null) {
|
||||
sourceMap.put("postalAddress", postalAddress);
|
||||
}
|
||||
if (city != null) {
|
||||
sourceMap.put("city", city);
|
||||
}
|
||||
if (teletexTerminalIdentifier != null) {
|
||||
sourceMap.put("teletexTerminalIdentifier", teletexTerminalIdentifier);
|
||||
}
|
||||
if (x121Address != null) {
|
||||
sourceMap.put("x121Address", x121Address);
|
||||
}
|
||||
if (businessCategory != null) {
|
||||
sourceMap.put("businessCategory", businessCategory);
|
||||
}
|
||||
if (registeredAddress != null) {
|
||||
sourceMap.put("registeredAddress", registeredAddress);
|
||||
}
|
||||
if (displayName != null) {
|
||||
sourceMap.put("displayName", displayName);
|
||||
}
|
||||
if (preferredLanguage != null) {
|
||||
sourceMap.put("preferredLanguage", preferredLanguage);
|
||||
}
|
||||
if (departmentNumber != null) {
|
||||
sourceMap.put("departmentNumber", departmentNumber);
|
||||
}
|
||||
if (uidNumber != null) {
|
||||
sourceMap.put("uidNumber", uidNumber);
|
||||
}
|
||||
if (gidNumber != null) {
|
||||
sourceMap.put("gidNumber", gidNumber);
|
||||
}
|
||||
if (homeDirectory != null) {
|
||||
sourceMap.put("homeDirectory", homeDirectory);
|
||||
}
|
||||
if (groups != null) {
|
||||
sourceMap.put("groups", groups);
|
||||
}
|
||||
if (roles != null) {
|
||||
sourceMap.put("roles", roles);
|
||||
}
|
||||
|
@ -103,11 +307,45 @@ public class BsUser extends EsAbstractEntity {
|
|||
@Override
|
||||
protected String doBuildColumnString(String dm) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(dm).append(groups);
|
||||
sb.append(dm).append(name);
|
||||
sb.append(dm).append(password);
|
||||
sb.append(dm).append(surname);
|
||||
sb.append(dm).append(givenName);
|
||||
sb.append(dm).append(employeeNumber);
|
||||
sb.append(dm).append(mail);
|
||||
sb.append(dm).append(telephoneNumber);
|
||||
sb.append(dm).append(homePhone);
|
||||
sb.append(dm).append(homePostalAddress);
|
||||
sb.append(dm).append(labeledURI);
|
||||
sb.append(dm).append(roomNumber);
|
||||
sb.append(dm).append(description);
|
||||
sb.append(dm).append(title);
|
||||
sb.append(dm).append(pager);
|
||||
sb.append(dm).append(street);
|
||||
sb.append(dm).append(postalCode);
|
||||
sb.append(dm).append(physicalDeliveryOfficeName);
|
||||
sb.append(dm).append(destinationIndicator);
|
||||
sb.append(dm).append(internationaliSDNNumber);
|
||||
sb.append(dm).append(state);
|
||||
sb.append(dm).append(employeeType);
|
||||
sb.append(dm).append(facsimileTelephoneNumber);
|
||||
sb.append(dm).append(postOfficeBox);
|
||||
sb.append(dm).append(initials);
|
||||
sb.append(dm).append(carLicense);
|
||||
sb.append(dm).append(mobile);
|
||||
sb.append(dm).append(postalAddress);
|
||||
sb.append(dm).append(city);
|
||||
sb.append(dm).append(teletexTerminalIdentifier);
|
||||
sb.append(dm).append(x121Address);
|
||||
sb.append(dm).append(businessCategory);
|
||||
sb.append(dm).append(registeredAddress);
|
||||
sb.append(dm).append(displayName);
|
||||
sb.append(dm).append(preferredLanguage);
|
||||
sb.append(dm).append(departmentNumber);
|
||||
sb.append(dm).append(uidNumber);
|
||||
sb.append(dm).append(gidNumber);
|
||||
sb.append(dm).append(homeDirectory);
|
||||
sb.append(dm).append(groups);
|
||||
sb.append(dm).append(roles);
|
||||
if (sb.length() > dm.length()) {
|
||||
sb.delete(0, dm.length());
|
||||
|
@ -119,16 +357,6 @@ public class BsUser extends EsAbstractEntity {
|
|||
// ===================================================================================
|
||||
// Accessor
|
||||
// ========
|
||||
public String[] getGroups() {
|
||||
checkSpecifiedProperty("groups");
|
||||
return groups;
|
||||
}
|
||||
|
||||
public void setGroups(String[] value) {
|
||||
registerModifiedProperty("groups");
|
||||
this.groups = value;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
checkSpecifiedProperty("name");
|
||||
return convertEmptyToNull(name);
|
||||
|
@ -169,6 +397,356 @@ public class BsUser extends EsAbstractEntity {
|
|||
this.givenName = value;
|
||||
}
|
||||
|
||||
public String getEmployeeNumber() {
|
||||
checkSpecifiedProperty("employeeNumber");
|
||||
return convertEmptyToNull(employeeNumber);
|
||||
}
|
||||
|
||||
public void setEmployeeNumber(String value) {
|
||||
registerModifiedProperty("employeeNumber");
|
||||
this.employeeNumber = value;
|
||||
}
|
||||
|
||||
public String getMail() {
|
||||
checkSpecifiedProperty("mail");
|
||||
return convertEmptyToNull(mail);
|
||||
}
|
||||
|
||||
public void setMail(String value) {
|
||||
registerModifiedProperty("mail");
|
||||
this.mail = value;
|
||||
}
|
||||
|
||||
public String getTelephoneNumber() {
|
||||
checkSpecifiedProperty("telephoneNumber");
|
||||
return convertEmptyToNull(telephoneNumber);
|
||||
}
|
||||
|
||||
public void setTelephoneNumber(String value) {
|
||||
registerModifiedProperty("telephoneNumber");
|
||||
this.telephoneNumber = value;
|
||||
}
|
||||
|
||||
public String getHomePhone() {
|
||||
checkSpecifiedProperty("homePhone");
|
||||
return convertEmptyToNull(homePhone);
|
||||
}
|
||||
|
||||
public void setHomePhone(String value) {
|
||||
registerModifiedProperty("homePhone");
|
||||
this.homePhone = value;
|
||||
}
|
||||
|
||||
public String getHomePostalAddress() {
|
||||
checkSpecifiedProperty("homePostalAddress");
|
||||
return convertEmptyToNull(homePostalAddress);
|
||||
}
|
||||
|
||||
public void setHomePostalAddress(String value) {
|
||||
registerModifiedProperty("homePostalAddress");
|
||||
this.homePostalAddress = value;
|
||||
}
|
||||
|
||||
public String getLabeledURI() {
|
||||
checkSpecifiedProperty("labeledURI");
|
||||
return convertEmptyToNull(labeledURI);
|
||||
}
|
||||
|
||||
public void setLabeledURI(String value) {
|
||||
registerModifiedProperty("labeledURI");
|
||||
this.labeledURI = value;
|
||||
}
|
||||
|
||||
public String getRoomNumber() {
|
||||
checkSpecifiedProperty("roomNumber");
|
||||
return convertEmptyToNull(roomNumber);
|
||||
}
|
||||
|
||||
public void setRoomNumber(String value) {
|
||||
registerModifiedProperty("roomNumber");
|
||||
this.roomNumber = value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
checkSpecifiedProperty("description");
|
||||
return convertEmptyToNull(description);
|
||||
}
|
||||
|
||||
public void setDescription(String value) {
|
||||
registerModifiedProperty("description");
|
||||
this.description = value;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
checkSpecifiedProperty("title");
|
||||
return convertEmptyToNull(title);
|
||||
}
|
||||
|
||||
public void setTitle(String value) {
|
||||
registerModifiedProperty("title");
|
||||
this.title = value;
|
||||
}
|
||||
|
||||
public String getPager() {
|
||||
checkSpecifiedProperty("pager");
|
||||
return convertEmptyToNull(pager);
|
||||
}
|
||||
|
||||
public void setPager(String value) {
|
||||
registerModifiedProperty("pager");
|
||||
this.pager = value;
|
||||
}
|
||||
|
||||
public String getStreet() {
|
||||
checkSpecifiedProperty("street");
|
||||
return convertEmptyToNull(street);
|
||||
}
|
||||
|
||||
public void setStreet(String value) {
|
||||
registerModifiedProperty("street");
|
||||
this.street = value;
|
||||
}
|
||||
|
||||
public String getPostalCode() {
|
||||
checkSpecifiedProperty("postalCode");
|
||||
return convertEmptyToNull(postalCode);
|
||||
}
|
||||
|
||||
public void setPostalCode(String value) {
|
||||
registerModifiedProperty("postalCode");
|
||||
this.postalCode = value;
|
||||
}
|
||||
|
||||
public String getPhysicalDeliveryOfficeName() {
|
||||
checkSpecifiedProperty("physicalDeliveryOfficeName");
|
||||
return convertEmptyToNull(physicalDeliveryOfficeName);
|
||||
}
|
||||
|
||||
public void setPhysicalDeliveryOfficeName(String value) {
|
||||
registerModifiedProperty("physicalDeliveryOfficeName");
|
||||
this.physicalDeliveryOfficeName = value;
|
||||
}
|
||||
|
||||
public String getDestinationIndicator() {
|
||||
checkSpecifiedProperty("destinationIndicator");
|
||||
return convertEmptyToNull(destinationIndicator);
|
||||
}
|
||||
|
||||
public void setDestinationIndicator(String value) {
|
||||
registerModifiedProperty("destinationIndicator");
|
||||
this.destinationIndicator = value;
|
||||
}
|
||||
|
||||
public String getInternationaliSDNNumber() {
|
||||
checkSpecifiedProperty("internationaliSDNNumber");
|
||||
return convertEmptyToNull(internationaliSDNNumber);
|
||||
}
|
||||
|
||||
public void setInternationaliSDNNumber(String value) {
|
||||
registerModifiedProperty("internationaliSDNNumber");
|
||||
this.internationaliSDNNumber = value;
|
||||
}
|
||||
|
||||
public String getState() {
|
||||
checkSpecifiedProperty("state");
|
||||
return convertEmptyToNull(state);
|
||||
}
|
||||
|
||||
public void setState(String value) {
|
||||
registerModifiedProperty("state");
|
||||
this.state = value;
|
||||
}
|
||||
|
||||
public String getEmployeeType() {
|
||||
checkSpecifiedProperty("employeeType");
|
||||
return convertEmptyToNull(employeeType);
|
||||
}
|
||||
|
||||
public void setEmployeeType(String value) {
|
||||
registerModifiedProperty("employeeType");
|
||||
this.employeeType = value;
|
||||
}
|
||||
|
||||
public String getFacsimileTelephoneNumber() {
|
||||
checkSpecifiedProperty("facsimileTelephoneNumber");
|
||||
return convertEmptyToNull(facsimileTelephoneNumber);
|
||||
}
|
||||
|
||||
public void setFacsimileTelephoneNumber(String value) {
|
||||
registerModifiedProperty("facsimileTelephoneNumber");
|
||||
this.facsimileTelephoneNumber = value;
|
||||
}
|
||||
|
||||
public String getPostOfficeBox() {
|
||||
checkSpecifiedProperty("postOfficeBox");
|
||||
return convertEmptyToNull(postOfficeBox);
|
||||
}
|
||||
|
||||
public void setPostOfficeBox(String value) {
|
||||
registerModifiedProperty("postOfficeBox");
|
||||
this.postOfficeBox = value;
|
||||
}
|
||||
|
||||
public String getInitials() {
|
||||
checkSpecifiedProperty("initials");
|
||||
return convertEmptyToNull(initials);
|
||||
}
|
||||
|
||||
public void setInitials(String value) {
|
||||
registerModifiedProperty("initials");
|
||||
this.initials = value;
|
||||
}
|
||||
|
||||
public String getCarLicense() {
|
||||
checkSpecifiedProperty("carLicense");
|
||||
return convertEmptyToNull(carLicense);
|
||||
}
|
||||
|
||||
public void setCarLicense(String value) {
|
||||
registerModifiedProperty("carLicense");
|
||||
this.carLicense = value;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
checkSpecifiedProperty("mobile");
|
||||
return convertEmptyToNull(mobile);
|
||||
}
|
||||
|
||||
public void setMobile(String value) {
|
||||
registerModifiedProperty("mobile");
|
||||
this.mobile = value;
|
||||
}
|
||||
|
||||
public String getPostalAddress() {
|
||||
checkSpecifiedProperty("postalAddress");
|
||||
return convertEmptyToNull(postalAddress);
|
||||
}
|
||||
|
||||
public void setPostalAddress(String value) {
|
||||
registerModifiedProperty("postalAddress");
|
||||
this.postalAddress = value;
|
||||
}
|
||||
|
||||
public String getCity() {
|
||||
checkSpecifiedProperty("city");
|
||||
return convertEmptyToNull(city);
|
||||
}
|
||||
|
||||
public void setCity(String value) {
|
||||
registerModifiedProperty("city");
|
||||
this.city = value;
|
||||
}
|
||||
|
||||
public String getTeletexTerminalIdentifier() {
|
||||
checkSpecifiedProperty("teletexTerminalIdentifier");
|
||||
return convertEmptyToNull(teletexTerminalIdentifier);
|
||||
}
|
||||
|
||||
public void setTeletexTerminalIdentifier(String value) {
|
||||
registerModifiedProperty("teletexTerminalIdentifier");
|
||||
this.teletexTerminalIdentifier = value;
|
||||
}
|
||||
|
||||
public String getX121Address() {
|
||||
checkSpecifiedProperty("x121Address");
|
||||
return convertEmptyToNull(x121Address);
|
||||
}
|
||||
|
||||
public void setX121Address(String value) {
|
||||
registerModifiedProperty("x121Address");
|
||||
this.x121Address = value;
|
||||
}
|
||||
|
||||
public String getBusinessCategory() {
|
||||
checkSpecifiedProperty("businessCategory");
|
||||
return convertEmptyToNull(businessCategory);
|
||||
}
|
||||
|
||||
public void setBusinessCategory(String value) {
|
||||
registerModifiedProperty("businessCategory");
|
||||
this.businessCategory = value;
|
||||
}
|
||||
|
||||
public String getRegisteredAddress() {
|
||||
checkSpecifiedProperty("registeredAddress");
|
||||
return convertEmptyToNull(registeredAddress);
|
||||
}
|
||||
|
||||
public void setRegisteredAddress(String value) {
|
||||
registerModifiedProperty("registeredAddress");
|
||||
this.registeredAddress = value;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
checkSpecifiedProperty("displayName");
|
||||
return convertEmptyToNull(displayName);
|
||||
}
|
||||
|
||||
public void setDisplayName(String value) {
|
||||
registerModifiedProperty("displayName");
|
||||
this.displayName = value;
|
||||
}
|
||||
|
||||
public String getPreferredLanguage() {
|
||||
checkSpecifiedProperty("preferredLanguage");
|
||||
return convertEmptyToNull(preferredLanguage);
|
||||
}
|
||||
|
||||
public void setPreferredLanguage(String value) {
|
||||
registerModifiedProperty("preferredLanguage");
|
||||
this.preferredLanguage = value;
|
||||
}
|
||||
|
||||
public String getDepartmentNumber() {
|
||||
checkSpecifiedProperty("departmentNumber");
|
||||
return convertEmptyToNull(departmentNumber);
|
||||
}
|
||||
|
||||
public void setDepartmentNumber(String value) {
|
||||
registerModifiedProperty("departmentNumber");
|
||||
this.departmentNumber = value;
|
||||
}
|
||||
|
||||
public Long getUidNumber() {
|
||||
checkSpecifiedProperty("uidNumber");
|
||||
return uidNumber;
|
||||
}
|
||||
|
||||
public void setUidNumber(Long value) {
|
||||
registerModifiedProperty("uidNumber");
|
||||
this.uidNumber = value;
|
||||
}
|
||||
|
||||
public Long getGidNumber() {
|
||||
checkSpecifiedProperty("gidNumber");
|
||||
return gidNumber;
|
||||
}
|
||||
|
||||
public void setGidNumber(Long value) {
|
||||
registerModifiedProperty("gidNumber");
|
||||
this.gidNumber = value;
|
||||
}
|
||||
|
||||
public String getHomeDirectory() {
|
||||
checkSpecifiedProperty("homeDirectory");
|
||||
return convertEmptyToNull(homeDirectory);
|
||||
}
|
||||
|
||||
public void setHomeDirectory(String value) {
|
||||
registerModifiedProperty("homeDirectory");
|
||||
this.homeDirectory = value;
|
||||
}
|
||||
|
||||
public String[] getGroups() {
|
||||
checkSpecifiedProperty("groups");
|
||||
return groups;
|
||||
}
|
||||
|
||||
public void setGroups(String[] value) {
|
||||
registerModifiedProperty("groups");
|
||||
this.groups = value;
|
||||
}
|
||||
|
||||
public String[] getRoles() {
|
||||
checkSpecifiedProperty("roles");
|
||||
return roles;
|
||||
|
|
|
@ -79,11 +79,64 @@ public class UserDbm extends AbstractDBMeta {
|
|||
// ---------------
|
||||
protected final Map<String, PropertyGateway> _epgMap = newHashMap();
|
||||
{
|
||||
setupEpg(_epgMap, et -> ((User) et).getGroups(), (et, vl) -> ((User) et).setGroups((String[]) vl), "groups");
|
||||
setupEpg(_epgMap, et -> ((User) et).getName(), (et, vl) -> ((User) et).setName(DfTypeUtil.toString(vl)), "name");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPassword(), (et, vl) -> ((User) et).setPassword(DfTypeUtil.toString(vl)), "password");
|
||||
setupEpg(_epgMap, et -> ((User) et).getSurname(), (et, vl) -> ((User) et).setSurname(DfTypeUtil.toString(vl)), "surname");
|
||||
setupEpg(_epgMap, et -> ((User) et).getGivenName(), (et, vl) -> ((User) et).setGivenName(DfTypeUtil.toString(vl)), "givenName");
|
||||
setupEpg(_epgMap, et -> ((User) et).getEmployeeNumber(), (et, vl) -> ((User) et).setEmployeeNumber(DfTypeUtil.toString(vl)),
|
||||
"employeeNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getMail(), (et, vl) -> ((User) et).setMail(DfTypeUtil.toString(vl)), "mail");
|
||||
setupEpg(_epgMap, et -> ((User) et).getTelephoneNumber(), (et, vl) -> ((User) et).setTelephoneNumber(DfTypeUtil.toString(vl)),
|
||||
"telephoneNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getHomePhone(), (et, vl) -> ((User) et).setHomePhone(DfTypeUtil.toString(vl)), "homePhone");
|
||||
setupEpg(_epgMap, et -> ((User) et).getHomePostalAddress(), (et, vl) -> ((User) et).setHomePostalAddress(DfTypeUtil.toString(vl)),
|
||||
"homePostalAddress");
|
||||
setupEpg(_epgMap, et -> ((User) et).getLabeledURI(), (et, vl) -> ((User) et).setLabeledURI(DfTypeUtil.toString(vl)), "labeledURI");
|
||||
setupEpg(_epgMap, et -> ((User) et).getRoomNumber(), (et, vl) -> ((User) et).setRoomNumber(DfTypeUtil.toString(vl)), "roomNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getDescription(), (et, vl) -> ((User) et).setDescription(DfTypeUtil.toString(vl)),
|
||||
"description");
|
||||
setupEpg(_epgMap, et -> ((User) et).getTitle(), (et, vl) -> ((User) et).setTitle(DfTypeUtil.toString(vl)), "title");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPager(), (et, vl) -> ((User) et).setPager(DfTypeUtil.toString(vl)), "pager");
|
||||
setupEpg(_epgMap, et -> ((User) et).getStreet(), (et, vl) -> ((User) et).setStreet(DfTypeUtil.toString(vl)), "street");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPostalCode(), (et, vl) -> ((User) et).setPostalCode(DfTypeUtil.toString(vl)), "postalCode");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPhysicalDeliveryOfficeName(),
|
||||
(et, vl) -> ((User) et).setPhysicalDeliveryOfficeName(DfTypeUtil.toString(vl)), "physicalDeliveryOfficeName");
|
||||
setupEpg(_epgMap, et -> ((User) et).getDestinationIndicator(),
|
||||
(et, vl) -> ((User) et).setDestinationIndicator(DfTypeUtil.toString(vl)), "destinationIndicator");
|
||||
setupEpg(_epgMap, et -> ((User) et).getInternationaliSDNNumber(),
|
||||
(et, vl) -> ((User) et).setInternationaliSDNNumber(DfTypeUtil.toString(vl)), "internationaliSDNNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getState(), (et, vl) -> ((User) et).setState(DfTypeUtil.toString(vl)), "state");
|
||||
setupEpg(_epgMap, et -> ((User) et).getEmployeeType(), (et, vl) -> ((User) et).setEmployeeType(DfTypeUtil.toString(vl)),
|
||||
"employeeType");
|
||||
setupEpg(_epgMap, et -> ((User) et).getFacsimileTelephoneNumber(),
|
||||
(et, vl) -> ((User) et).setFacsimileTelephoneNumber(DfTypeUtil.toString(vl)), "facsimileTelephoneNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPostOfficeBox(), (et, vl) -> ((User) et).setPostOfficeBox(DfTypeUtil.toString(vl)),
|
||||
"postOfficeBox");
|
||||
setupEpg(_epgMap, et -> ((User) et).getInitials(), (et, vl) -> ((User) et).setInitials(DfTypeUtil.toString(vl)), "initials");
|
||||
setupEpg(_epgMap, et -> ((User) et).getCarLicense(), (et, vl) -> ((User) et).setCarLicense(DfTypeUtil.toString(vl)), "carLicense");
|
||||
setupEpg(_epgMap, et -> ((User) et).getMobile(), (et, vl) -> ((User) et).setMobile(DfTypeUtil.toString(vl)), "mobile");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPostalAddress(), (et, vl) -> ((User) et).setPostalAddress(DfTypeUtil.toString(vl)),
|
||||
"postalAddress");
|
||||
setupEpg(_epgMap, et -> ((User) et).getCity(), (et, vl) -> ((User) et).setCity(DfTypeUtil.toString(vl)), "city");
|
||||
setupEpg(_epgMap, et -> ((User) et).getTeletexTerminalIdentifier(),
|
||||
(et, vl) -> ((User) et).setTeletexTerminalIdentifier(DfTypeUtil.toString(vl)), "teletexTerminalIdentifier");
|
||||
setupEpg(_epgMap, et -> ((User) et).getX121Address(), (et, vl) -> ((User) et).setX121Address(DfTypeUtil.toString(vl)),
|
||||
"x121Address");
|
||||
setupEpg(_epgMap, et -> ((User) et).getBusinessCategory(), (et, vl) -> ((User) et).setBusinessCategory(DfTypeUtil.toString(vl)),
|
||||
"businessCategory");
|
||||
setupEpg(_epgMap, et -> ((User) et).getRegisteredAddress(), (et, vl) -> ((User) et).setRegisteredAddress(DfTypeUtil.toString(vl)),
|
||||
"registeredAddress");
|
||||
setupEpg(_epgMap, et -> ((User) et).getDisplayName(), (et, vl) -> ((User) et).setDisplayName(DfTypeUtil.toString(vl)),
|
||||
"displayName");
|
||||
setupEpg(_epgMap, et -> ((User) et).getPreferredLanguage(), (et, vl) -> ((User) et).setPreferredLanguage(DfTypeUtil.toString(vl)),
|
||||
"preferredLanguage");
|
||||
setupEpg(_epgMap, et -> ((User) et).getDepartmentNumber(), (et, vl) -> ((User) et).setDepartmentNumber(DfTypeUtil.toString(vl)),
|
||||
"departmentNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getUidNumber(), (et, vl) -> ((User) et).setUidNumber(DfTypeUtil.toLong(vl)), "uidNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getGidNumber(), (et, vl) -> ((User) et).setGidNumber(DfTypeUtil.toLong(vl)), "gidNumber");
|
||||
setupEpg(_epgMap, et -> ((User) et).getHomeDirectory(), (et, vl) -> ((User) et).setHomeDirectory(DfTypeUtil.toString(vl)),
|
||||
"homeDirectory");
|
||||
setupEpg(_epgMap, et -> ((User) et).getGroups(), (et, vl) -> ((User) et).setGroups((String[]) vl), "groups");
|
||||
setupEpg(_epgMap, et -> ((User) et).getRoles(), (et, vl) -> ((User) et).setRoles((String[]) vl), "roles");
|
||||
}
|
||||
|
||||
|
@ -121,8 +174,6 @@ public class UserDbm extends AbstractDBMeta {
|
|||
// ===================================================================================
|
||||
// Column Info
|
||||
// ===========
|
||||
protected final ColumnInfo _columnGroups = cci("groups", "groups", null, null, String[].class, "groups", null, false, false, false,
|
||||
"String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnName = cci("name", "name", null, null, String.class, "name", null, false, false, false, "String", 0,
|
||||
0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnPassword = cci("password", "password", null, null, String.class, "password", null, false, false,
|
||||
|
@ -131,13 +182,83 @@ public class UserDbm extends AbstractDBMeta {
|
|||
"String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnGivenName = cci("givenName", "givenName", null, null, String.class, "givenName", null, false, false,
|
||||
false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnEmployeeNumber = cci("employeeNumber", "employeeNumber", null, null, String.class, "employeeNumber",
|
||||
null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnMail = cci("mail", "mail", null, null, String.class, "mail", null, false, false, false, "String", 0,
|
||||
0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnTelephoneNumber = cci("telephoneNumber", "telephoneNumber", null, null, String.class,
|
||||
"telephoneNumber", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnHomePhone = cci("homePhone", "homePhone", null, null, String.class, "homePhone", null, false, false,
|
||||
false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnHomePostalAddress = cci("homePostalAddress", "homePostalAddress", null, null, String.class,
|
||||
"homePostalAddress", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnLabeledURI = cci("labeledURI", "labeledURI", null, null, String.class, "labeledURI", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnRoomNumber = cci("roomNumber", "roomNumber", null, null, String.class, "roomNumber", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnDescription = cci("description", "description", null, null, String.class, "description", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnTitle = cci("title", "title", null, null, String.class, "title", null, false, false, false, "String",
|
||||
0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnPager = cci("pager", "pager", null, null, String.class, "pager", null, false, false, false, "String",
|
||||
0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnStreet = cci("street", "street", null, null, String.class, "street", null, false, false, false,
|
||||
"String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnPostalCode = cci("postalCode", "postalCode", null, null, String.class, "postalCode", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnPhysicalDeliveryOfficeName = cci("physicalDeliveryOfficeName", "physicalDeliveryOfficeName", null,
|
||||
null, String.class, "physicalDeliveryOfficeName", null, false, false, false, "String", 0, 0, null, false, null, null, null,
|
||||
null, null, false);
|
||||
protected final ColumnInfo _columnDestinationIndicator = cci("destinationIndicator", "destinationIndicator", null, null, String.class,
|
||||
"destinationIndicator", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnInternationaliSDNNumber = cci("internationaliSDNNumber", "internationaliSDNNumber", null, null,
|
||||
String.class, "internationaliSDNNumber", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null,
|
||||
false);
|
||||
protected final ColumnInfo _columnState = cci("state", "state", null, null, String.class, "state", null, false, false, false, "String",
|
||||
0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnEmployeeType = cci("employeeType", "employeeType", null, null, String.class, "employeeType", null,
|
||||
false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnFacsimileTelephoneNumber = cci("facsimileTelephoneNumber", "facsimileTelephoneNumber", null, null,
|
||||
String.class, "facsimileTelephoneNumber", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null,
|
||||
false);
|
||||
protected final ColumnInfo _columnPostOfficeBox = cci("postOfficeBox", "postOfficeBox", null, null, String.class, "postOfficeBox",
|
||||
null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnInitials = cci("initials", "initials", null, null, String.class, "initials", null, false, false,
|
||||
false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnCarLicense = cci("carLicense", "carLicense", null, null, String.class, "carLicense", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnMobile = cci("mobile", "mobile", null, null, String.class, "mobile", null, false, false, false,
|
||||
"String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnPostalAddress = cci("postalAddress", "postalAddress", null, null, String.class, "postalAddress",
|
||||
null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnCity = cci("city", "city", null, null, String.class, "city", null, false, false, false, "String", 0,
|
||||
0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnTeletexTerminalIdentifier = cci("teletexTerminalIdentifier", "teletexTerminalIdentifier", null, null,
|
||||
String.class, "teletexTerminalIdentifier", null, false, false, false, "String", 0, 0, null, false, null, null, null, null,
|
||||
null, false);
|
||||
protected final ColumnInfo _columnX121Address = cci("x121Address", "x121Address", null, null, String.class, "x121Address", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnBusinessCategory = cci("businessCategory", "businessCategory", null, null, String.class,
|
||||
"businessCategory", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnRegisteredAddress = cci("registeredAddress", "registeredAddress", null, null, String.class,
|
||||
"registeredAddress", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnDisplayName = cci("displayName", "displayName", null, null, String.class, "displayName", null, false,
|
||||
false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnPreferredLanguage = cci("preferredLanguage", "preferredLanguage", null, null, String.class,
|
||||
"preferredLanguage", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnDepartmentNumber = cci("departmentNumber", "departmentNumber", null, null, String.class,
|
||||
"departmentNumber", null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnUidNumber = cci("uidNumber", "uidNumber", null, null, Long.class, "uidNumber", null, false, false,
|
||||
false, "Long", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnGidNumber = cci("gidNumber", "gidNumber", null, null, Long.class, "gidNumber", null, false, false,
|
||||
false, "Long", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnHomeDirectory = cci("homeDirectory", "homeDirectory", null, null, String.class, "homeDirectory",
|
||||
null, false, false, false, "String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnGroups = cci("groups", "groups", null, null, String[].class, "groups", null, false, false, false,
|
||||
"String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
protected final ColumnInfo _columnRoles = cci("roles", "roles", null, null, String[].class, "roles", null, false, false, false,
|
||||
"String", 0, 0, null, false, null, null, null, null, null, false);
|
||||
|
||||
public ColumnInfo columnGroups() {
|
||||
return _columnGroups;
|
||||
}
|
||||
|
||||
public ColumnInfo columnName() {
|
||||
return _columnName;
|
||||
}
|
||||
|
@ -154,17 +275,191 @@ public class UserDbm extends AbstractDBMeta {
|
|||
return _columnGivenName;
|
||||
}
|
||||
|
||||
public ColumnInfo columnEmployeeNumber() {
|
||||
return _columnEmployeeNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnMail() {
|
||||
return _columnMail;
|
||||
}
|
||||
|
||||
public ColumnInfo columnTelephoneNumber() {
|
||||
return _columnTelephoneNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnHomePhone() {
|
||||
return _columnHomePhone;
|
||||
}
|
||||
|
||||
public ColumnInfo columnHomePostalAddress() {
|
||||
return _columnHomePostalAddress;
|
||||
}
|
||||
|
||||
public ColumnInfo columnLabeledURI() {
|
||||
return _columnLabeledURI;
|
||||
}
|
||||
|
||||
public ColumnInfo columnRoomNumber() {
|
||||
return _columnRoomNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnDescription() {
|
||||
return _columnDescription;
|
||||
}
|
||||
|
||||
public ColumnInfo columnTitle() {
|
||||
return _columnTitle;
|
||||
}
|
||||
|
||||
public ColumnInfo columnPager() {
|
||||
return _columnPager;
|
||||
}
|
||||
|
||||
public ColumnInfo columnStreet() {
|
||||
return _columnStreet;
|
||||
}
|
||||
|
||||
public ColumnInfo columnPostalCode() {
|
||||
return _columnPostalCode;
|
||||
}
|
||||
|
||||
public ColumnInfo columnPhysicalDeliveryOfficeName() {
|
||||
return _columnPhysicalDeliveryOfficeName;
|
||||
}
|
||||
|
||||
public ColumnInfo columnDestinationIndicator() {
|
||||
return _columnDestinationIndicator;
|
||||
}
|
||||
|
||||
public ColumnInfo columnInternationaliSDNNumber() {
|
||||
return _columnInternationaliSDNNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnState() {
|
||||
return _columnState;
|
||||
}
|
||||
|
||||
public ColumnInfo columnEmployeeType() {
|
||||
return _columnEmployeeType;
|
||||
}
|
||||
|
||||
public ColumnInfo columnFacsimileTelephoneNumber() {
|
||||
return _columnFacsimileTelephoneNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnPostOfficeBox() {
|
||||
return _columnPostOfficeBox;
|
||||
}
|
||||
|
||||
public ColumnInfo columnInitials() {
|
||||
return _columnInitials;
|
||||
}
|
||||
|
||||
public ColumnInfo columnCarLicense() {
|
||||
return _columnCarLicense;
|
||||
}
|
||||
|
||||
public ColumnInfo columnMobile() {
|
||||
return _columnMobile;
|
||||
}
|
||||
|
||||
public ColumnInfo columnPostalAddress() {
|
||||
return _columnPostalAddress;
|
||||
}
|
||||
|
||||
public ColumnInfo columnCity() {
|
||||
return _columnCity;
|
||||
}
|
||||
|
||||
public ColumnInfo columnTeletexTerminalIdentifier() {
|
||||
return _columnTeletexTerminalIdentifier;
|
||||
}
|
||||
|
||||
public ColumnInfo columnX121Address() {
|
||||
return _columnX121Address;
|
||||
}
|
||||
|
||||
public ColumnInfo columnBusinessCategory() {
|
||||
return _columnBusinessCategory;
|
||||
}
|
||||
|
||||
public ColumnInfo columnRegisteredAddress() {
|
||||
return _columnRegisteredAddress;
|
||||
}
|
||||
|
||||
public ColumnInfo columnDisplayName() {
|
||||
return _columnDisplayName;
|
||||
}
|
||||
|
||||
public ColumnInfo columnPreferredLanguage() {
|
||||
return _columnPreferredLanguage;
|
||||
}
|
||||
|
||||
public ColumnInfo columnDepartmentNumber() {
|
||||
return _columnDepartmentNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnUidNumber() {
|
||||
return _columnUidNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnGidNumber() {
|
||||
return _columnGidNumber;
|
||||
}
|
||||
|
||||
public ColumnInfo columnHomeDirectory() {
|
||||
return _columnHomeDirectory;
|
||||
}
|
||||
|
||||
public ColumnInfo columnGroups() {
|
||||
return _columnGroups;
|
||||
}
|
||||
|
||||
public ColumnInfo columnRoles() {
|
||||
return _columnRoles;
|
||||
}
|
||||
|
||||
protected List<ColumnInfo> ccil() {
|
||||
List<ColumnInfo> ls = newArrayList();
|
||||
ls.add(columnGroups());
|
||||
ls.add(columnName());
|
||||
ls.add(columnPassword());
|
||||
ls.add(columnSurname());
|
||||
ls.add(columnGivenName());
|
||||
ls.add(columnEmployeeNumber());
|
||||
ls.add(columnMail());
|
||||
ls.add(columnTelephoneNumber());
|
||||
ls.add(columnHomePhone());
|
||||
ls.add(columnHomePostalAddress());
|
||||
ls.add(columnLabeledURI());
|
||||
ls.add(columnRoomNumber());
|
||||
ls.add(columnDescription());
|
||||
ls.add(columnTitle());
|
||||
ls.add(columnPager());
|
||||
ls.add(columnStreet());
|
||||
ls.add(columnPostalCode());
|
||||
ls.add(columnPhysicalDeliveryOfficeName());
|
||||
ls.add(columnDestinationIndicator());
|
||||
ls.add(columnInternationaliSDNNumber());
|
||||
ls.add(columnState());
|
||||
ls.add(columnEmployeeType());
|
||||
ls.add(columnFacsimileTelephoneNumber());
|
||||
ls.add(columnPostOfficeBox());
|
||||
ls.add(columnInitials());
|
||||
ls.add(columnCarLicense());
|
||||
ls.add(columnMobile());
|
||||
ls.add(columnPostalAddress());
|
||||
ls.add(columnCity());
|
||||
ls.add(columnTeletexTerminalIdentifier());
|
||||
ls.add(columnX121Address());
|
||||
ls.add(columnBusinessCategory());
|
||||
ls.add(columnRegisteredAddress());
|
||||
ls.add(columnDisplayName());
|
||||
ls.add(columnPreferredLanguage());
|
||||
ls.add(columnDepartmentNumber());
|
||||
ls.add(columnUidNumber());
|
||||
ls.add(columnGidNumber());
|
||||
ls.add(columnHomeDirectory());
|
||||
ls.add(columnGroups());
|
||||
ls.add(columnRoles());
|
||||
return ls;
|
||||
}
|
||||
|
|
|
@ -158,10 +158,6 @@ public class BsUserCB extends EsAbstractConditionBean {
|
|||
doColumn("_id");
|
||||
}
|
||||
|
||||
public void columnGroups() {
|
||||
doColumn("groups");
|
||||
}
|
||||
|
||||
public void columnName() {
|
||||
doColumn("name");
|
||||
}
|
||||
|
@ -178,6 +174,146 @@ public class BsUserCB extends EsAbstractConditionBean {
|
|||
doColumn("givenName");
|
||||
}
|
||||
|
||||
public void columnEmployeeNumber() {
|
||||
doColumn("employeeNumber");
|
||||
}
|
||||
|
||||
public void columnMail() {
|
||||
doColumn("mail");
|
||||
}
|
||||
|
||||
public void columnTelephoneNumber() {
|
||||
doColumn("telephoneNumber");
|
||||
}
|
||||
|
||||
public void columnHomePhone() {
|
||||
doColumn("homePhone");
|
||||
}
|
||||
|
||||
public void columnHomePostalAddress() {
|
||||
doColumn("homePostalAddress");
|
||||
}
|
||||
|
||||
public void columnLabeledURI() {
|
||||
doColumn("labeledURI");
|
||||
}
|
||||
|
||||
public void columnRoomNumber() {
|
||||
doColumn("roomNumber");
|
||||
}
|
||||
|
||||
public void columnDescription() {
|
||||
doColumn("description");
|
||||
}
|
||||
|
||||
public void columnTitle() {
|
||||
doColumn("title");
|
||||
}
|
||||
|
||||
public void columnPager() {
|
||||
doColumn("pager");
|
||||
}
|
||||
|
||||
public void columnStreet() {
|
||||
doColumn("street");
|
||||
}
|
||||
|
||||
public void columnPostalCode() {
|
||||
doColumn("postalCode");
|
||||
}
|
||||
|
||||
public void columnPhysicalDeliveryOfficeName() {
|
||||
doColumn("physicalDeliveryOfficeName");
|
||||
}
|
||||
|
||||
public void columnDestinationIndicator() {
|
||||
doColumn("destinationIndicator");
|
||||
}
|
||||
|
||||
public void columnInternationaliSDNNumber() {
|
||||
doColumn("internationaliSDNNumber");
|
||||
}
|
||||
|
||||
public void columnState() {
|
||||
doColumn("state");
|
||||
}
|
||||
|
||||
public void columnEmployeeType() {
|
||||
doColumn("employeeType");
|
||||
}
|
||||
|
||||
public void columnFacsimileTelephoneNumber() {
|
||||
doColumn("facsimileTelephoneNumber");
|
||||
}
|
||||
|
||||
public void columnPostOfficeBox() {
|
||||
doColumn("postOfficeBox");
|
||||
}
|
||||
|
||||
public void columnInitials() {
|
||||
doColumn("initials");
|
||||
}
|
||||
|
||||
public void columnCarLicense() {
|
||||
doColumn("carLicense");
|
||||
}
|
||||
|
||||
public void columnMobile() {
|
||||
doColumn("mobile");
|
||||
}
|
||||
|
||||
public void columnPostalAddress() {
|
||||
doColumn("postalAddress");
|
||||
}
|
||||
|
||||
public void columnCity() {
|
||||
doColumn("city");
|
||||
}
|
||||
|
||||
public void columnTeletexTerminalIdentifier() {
|
||||
doColumn("teletexTerminalIdentifier");
|
||||
}
|
||||
|
||||
public void columnX121Address() {
|
||||
doColumn("x121Address");
|
||||
}
|
||||
|
||||
public void columnBusinessCategory() {
|
||||
doColumn("businessCategory");
|
||||
}
|
||||
|
||||
public void columnRegisteredAddress() {
|
||||
doColumn("registeredAddress");
|
||||
}
|
||||
|
||||
public void columnDisplayName() {
|
||||
doColumn("displayName");
|
||||
}
|
||||
|
||||
public void columnPreferredLanguage() {
|
||||
doColumn("preferredLanguage");
|
||||
}
|
||||
|
||||
public void columnDepartmentNumber() {
|
||||
doColumn("departmentNumber");
|
||||
}
|
||||
|
||||
public void columnUidNumber() {
|
||||
doColumn("uidNumber");
|
||||
}
|
||||
|
||||
public void columnGidNumber() {
|
||||
doColumn("gidNumber");
|
||||
}
|
||||
|
||||
public void columnHomeDirectory() {
|
||||
doColumn("homeDirectory");
|
||||
}
|
||||
|
||||
public void columnGroups() {
|
||||
doColumn("groups");
|
||||
}
|
||||
|
||||
public void columnRoles() {
|
||||
doColumn("roles");
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -780,6 +780,108 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
/** The key of the configuration. e.g. givenName */
|
||||
String LDAP_ATTR_GIVEN_NAME = "ldap.attr.givenName";
|
||||
|
||||
/** The key of the configuration. e.g. employeeNumber */
|
||||
String LDAP_ATTR_EMPLOYEE_NUMBER = "ldap.attr.employeeNumber";
|
||||
|
||||
/** The key of the configuration. e.g. mail */
|
||||
String LDAP_ATTR_MAIL = "ldap.attr.mail";
|
||||
|
||||
/** The key of the configuration. e.g. telephoneNumber */
|
||||
String LDAP_ATTR_TELEPHONE_NUMBER = "ldap.attr.telephoneNumber";
|
||||
|
||||
/** The key of the configuration. e.g. homePhone */
|
||||
String LDAP_ATTR_HOME_PHONE = "ldap.attr.homePhone";
|
||||
|
||||
/** The key of the configuration. e.g. homePostalAddress */
|
||||
String LDAP_ATTR_HOME_POSTAL_ADDRESS = "ldap.attr.homePostalAddress";
|
||||
|
||||
/** The key of the configuration. e.g. labeledURI */
|
||||
String LDAP_ATTR_LABELEDURI = "ldap.attr.labeledURI";
|
||||
|
||||
/** The key of the configuration. e.g. roomNumber */
|
||||
String LDAP_ATTR_ROOM_NUMBER = "ldap.attr.roomNumber";
|
||||
|
||||
/** The key of the configuration. e.g. description */
|
||||
String LDAP_ATTR_DESCRIPTION = "ldap.attr.description";
|
||||
|
||||
/** The key of the configuration. e.g. title */
|
||||
String LDAP_ATTR_TITLE = "ldap.attr.title";
|
||||
|
||||
/** The key of the configuration. e.g. pager */
|
||||
String LDAP_ATTR_PAGER = "ldap.attr.pager";
|
||||
|
||||
/** The key of the configuration. e.g. street */
|
||||
String LDAP_ATTR_STREET = "ldap.attr.street";
|
||||
|
||||
/** The key of the configuration. e.g. postalCode */
|
||||
String LDAP_ATTR_POSTAL_CODE = "ldap.attr.postalCode";
|
||||
|
||||
/** The key of the configuration. e.g. physicalDeliveryOfficeName */
|
||||
String LDAP_ATTR_PHYSICAL_DELIVERY_OFFICE_NAME = "ldap.attr.physicalDeliveryOfficeName";
|
||||
|
||||
/** The key of the configuration. e.g. destinationIndicator */
|
||||
String LDAP_ATTR_DESTINATION_INDICATOR = "ldap.attr.destinationIndicator";
|
||||
|
||||
/** The key of the configuration. e.g. internationaliSDNNumber */
|
||||
String LDAP_ATTR_INTERNATIONALISDN_NUMBER = "ldap.attr.internationaliSDNNumber";
|
||||
|
||||
/** The key of the configuration. e.g. st */
|
||||
String LDAP_ATTR_STATE = "ldap.attr.state";
|
||||
|
||||
/** The key of the configuration. e.g. employeeType */
|
||||
String LDAP_ATTR_EMPLOYEE_TYPE = "ldap.attr.employeeType";
|
||||
|
||||
/** The key of the configuration. e.g. facsimileTelephoneNumber */
|
||||
String LDAP_ATTR_FACSIMILE_TELEPHONE_NUMBER = "ldap.attr.facsimileTelephoneNumber";
|
||||
|
||||
/** The key of the configuration. e.g. postOfficeBox */
|
||||
String LDAP_ATTR_POST_OFFICE_BOX = "ldap.attr.postOfficeBox";
|
||||
|
||||
/** The key of the configuration. e.g. initials */
|
||||
String LDAP_ATTR_INITIALS = "ldap.attr.initials";
|
||||
|
||||
/** The key of the configuration. e.g. carLicense */
|
||||
String LDAP_ATTR_CAR_LICENSE = "ldap.attr.carLicense";
|
||||
|
||||
/** The key of the configuration. e.g. mobile */
|
||||
String LDAP_ATTR_MOBILE = "ldap.attr.mobile";
|
||||
|
||||
/** The key of the configuration. e.g. postalAddress */
|
||||
String LDAP_ATTR_POSTAL_ADDRESS = "ldap.attr.postalAddress";
|
||||
|
||||
/** The key of the configuration. e.g. l */
|
||||
String LDAP_ATTR_CITY = "ldap.attr.city";
|
||||
|
||||
/** The key of the configuration. e.g. teletexTerminalIdentifier */
|
||||
String LDAP_ATTR_TELETEX_TERMINAL_IDENTIFIER = "ldap.attr.teletexTerminalIdentifier";
|
||||
|
||||
/** The key of the configuration. e.g. x121Address */
|
||||
String LDAP_ATTR_X121_ADDRESS = "ldap.attr.x121Address";
|
||||
|
||||
/** The key of the configuration. e.g. businessCategory */
|
||||
String LDAP_ATTR_BUSINESS_CATEGORY = "ldap.attr.businessCategory";
|
||||
|
||||
/** The key of the configuration. e.g. registeredAddress */
|
||||
String LDAP_ATTR_REGISTERED_ADDRESS = "ldap.attr.registeredAddress";
|
||||
|
||||
/** The key of the configuration. e.g. displayName */
|
||||
String LDAP_ATTR_DISPLAY_NAME = "ldap.attr.displayName";
|
||||
|
||||
/** The key of the configuration. e.g. preferredLanguage */
|
||||
String LDAP_ATTR_PREFERRED_LANGUAGE = "ldap.attr.preferredLanguage";
|
||||
|
||||
/** The key of the configuration. e.g. departmentNumber */
|
||||
String LDAP_ATTR_DEPARTMENT_NUMBER = "ldap.attr.departmentNumber";
|
||||
|
||||
/** The key of the configuration. e.g. uidNumber */
|
||||
String LDAP_ATTR_UID_NUMBER = "ldap.attr.uidNumber";
|
||||
|
||||
/** The key of the configuration. e.g. gidNumber */
|
||||
String LDAP_ATTR_GID_NUMBER = "ldap.attr.gidNumber";
|
||||
|
||||
/** The key of the configuration. e.g. homeDirectory */
|
||||
String LDAP_ATTR_HOME_DIRECTORY = "ldap.attr.homeDirectory";
|
||||
|
||||
/**
|
||||
* Get the value of property as {@link String}.
|
||||
* @param propertyKey The key of the property. (NotNull)
|
||||
|
@ -3202,6 +3304,244 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
*/
|
||||
String getLdapAttrGivenName();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.employeeNumber'. <br>
|
||||
* The value is, e.g. employeeNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrEmployeeNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.mail'. <br>
|
||||
* The value is, e.g. mail <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrMail();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.telephoneNumber'. <br>
|
||||
* The value is, e.g. telephoneNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrTelephoneNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.homePhone'. <br>
|
||||
* The value is, e.g. homePhone <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrHomePhone();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.homePostalAddress'. <br>
|
||||
* The value is, e.g. homePostalAddress <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrHomePostalAddress();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.labeledURI'. <br>
|
||||
* The value is, e.g. labeledURI <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrLabeleduri();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.roomNumber'. <br>
|
||||
* The value is, e.g. roomNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrRoomNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.description'. <br>
|
||||
* The value is, e.g. description <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrDescription();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.title'. <br>
|
||||
* The value is, e.g. title <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrTitle();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.pager'. <br>
|
||||
* The value is, e.g. pager <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrPager();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.street'. <br>
|
||||
* The value is, e.g. street <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrStreet();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.postalCode'. <br>
|
||||
* The value is, e.g. postalCode <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrPostalCode();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.physicalDeliveryOfficeName'. <br>
|
||||
* The value is, e.g. physicalDeliveryOfficeName <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrPhysicalDeliveryOfficeName();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.destinationIndicator'. <br>
|
||||
* The value is, e.g. destinationIndicator <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrDestinationIndicator();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.internationaliSDNNumber'. <br>
|
||||
* The value is, e.g. internationaliSDNNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrInternationalisdnNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.state'. <br>
|
||||
* The value is, e.g. st <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrState();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.employeeType'. <br>
|
||||
* The value is, e.g. employeeType <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrEmployeeType();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.facsimileTelephoneNumber'. <br>
|
||||
* The value is, e.g. facsimileTelephoneNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrFacsimileTelephoneNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.postOfficeBox'. <br>
|
||||
* The value is, e.g. postOfficeBox <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrPostOfficeBox();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.initials'. <br>
|
||||
* The value is, e.g. initials <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrInitials();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.carLicense'. <br>
|
||||
* The value is, e.g. carLicense <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrCarLicense();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.mobile'. <br>
|
||||
* The value is, e.g. mobile <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrMobile();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.postalAddress'. <br>
|
||||
* The value is, e.g. postalAddress <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrPostalAddress();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.city'. <br>
|
||||
* The value is, e.g. l <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrCity();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.teletexTerminalIdentifier'. <br>
|
||||
* The value is, e.g. teletexTerminalIdentifier <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrTeletexTerminalIdentifier();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.x121Address'. <br>
|
||||
* The value is, e.g. x121Address <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrX121Address();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.businessCategory'. <br>
|
||||
* The value is, e.g. businessCategory <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrBusinessCategory();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.registeredAddress'. <br>
|
||||
* The value is, e.g. registeredAddress <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrRegisteredAddress();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.displayName'. <br>
|
||||
* The value is, e.g. displayName <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrDisplayName();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.preferredLanguage'. <br>
|
||||
* The value is, e.g. preferredLanguage <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrPreferredLanguage();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.departmentNumber'. <br>
|
||||
* The value is, e.g. departmentNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrDepartmentNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.uidNumber'. <br>
|
||||
* The value is, e.g. uidNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrUidNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.gidNumber'. <br>
|
||||
* The value is, e.g. gidNumber <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrGidNumber();
|
||||
|
||||
/**
|
||||
* Get the value for the key 'ldap.attr.homeDirectory'. <br>
|
||||
* The value is, e.g. homeDirectory <br>
|
||||
* @return The value of found property. (NotNull: if not found, exception but basically no way)
|
||||
*/
|
||||
String getLdapAttrHomeDirectory();
|
||||
|
||||
/**
|
||||
* The simple implementation for configuration.
|
||||
* @author FreeGen
|
||||
|
@ -4474,5 +4814,141 @@ public interface FessConfig extends FessEnv, org.codelibs.fess.mylasta.direction
|
|||
public String getLdapAttrGivenName() {
|
||||
return get(FessConfig.LDAP_ATTR_GIVEN_NAME);
|
||||
}
|
||||
|
||||
public String getLdapAttrEmployeeNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_EMPLOYEE_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrMail() {
|
||||
return get(FessConfig.LDAP_ATTR_MAIL);
|
||||
}
|
||||
|
||||
public String getLdapAttrTelephoneNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_TELEPHONE_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrHomePhone() {
|
||||
return get(FessConfig.LDAP_ATTR_HOME_PHONE);
|
||||
}
|
||||
|
||||
public String getLdapAttrHomePostalAddress() {
|
||||
return get(FessConfig.LDAP_ATTR_HOME_POSTAL_ADDRESS);
|
||||
}
|
||||
|
||||
public String getLdapAttrLabeleduri() {
|
||||
return get(FessConfig.LDAP_ATTR_LABELEDURI);
|
||||
}
|
||||
|
||||
public String getLdapAttrRoomNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_ROOM_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrDescription() {
|
||||
return get(FessConfig.LDAP_ATTR_DESCRIPTION);
|
||||
}
|
||||
|
||||
public String getLdapAttrTitle() {
|
||||
return get(FessConfig.LDAP_ATTR_TITLE);
|
||||
}
|
||||
|
||||
public String getLdapAttrPager() {
|
||||
return get(FessConfig.LDAP_ATTR_PAGER);
|
||||
}
|
||||
|
||||
public String getLdapAttrStreet() {
|
||||
return get(FessConfig.LDAP_ATTR_STREET);
|
||||
}
|
||||
|
||||
public String getLdapAttrPostalCode() {
|
||||
return get(FessConfig.LDAP_ATTR_POSTAL_CODE);
|
||||
}
|
||||
|
||||
public String getLdapAttrPhysicalDeliveryOfficeName() {
|
||||
return get(FessConfig.LDAP_ATTR_PHYSICAL_DELIVERY_OFFICE_NAME);
|
||||
}
|
||||
|
||||
public String getLdapAttrDestinationIndicator() {
|
||||
return get(FessConfig.LDAP_ATTR_DESTINATION_INDICATOR);
|
||||
}
|
||||
|
||||
public String getLdapAttrInternationalisdnNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_INTERNATIONALISDN_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrState() {
|
||||
return get(FessConfig.LDAP_ATTR_STATE);
|
||||
}
|
||||
|
||||
public String getLdapAttrEmployeeType() {
|
||||
return get(FessConfig.LDAP_ATTR_EMPLOYEE_TYPE);
|
||||
}
|
||||
|
||||
public String getLdapAttrFacsimileTelephoneNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_FACSIMILE_TELEPHONE_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrPostOfficeBox() {
|
||||
return get(FessConfig.LDAP_ATTR_POST_OFFICE_BOX);
|
||||
}
|
||||
|
||||
public String getLdapAttrInitials() {
|
||||
return get(FessConfig.LDAP_ATTR_INITIALS);
|
||||
}
|
||||
|
||||
public String getLdapAttrCarLicense() {
|
||||
return get(FessConfig.LDAP_ATTR_CAR_LICENSE);
|
||||
}
|
||||
|
||||
public String getLdapAttrMobile() {
|
||||
return get(FessConfig.LDAP_ATTR_MOBILE);
|
||||
}
|
||||
|
||||
public String getLdapAttrPostalAddress() {
|
||||
return get(FessConfig.LDAP_ATTR_POSTAL_ADDRESS);
|
||||
}
|
||||
|
||||
public String getLdapAttrCity() {
|
||||
return get(FessConfig.LDAP_ATTR_CITY);
|
||||
}
|
||||
|
||||
public String getLdapAttrTeletexTerminalIdentifier() {
|
||||
return get(FessConfig.LDAP_ATTR_TELETEX_TERMINAL_IDENTIFIER);
|
||||
}
|
||||
|
||||
public String getLdapAttrX121Address() {
|
||||
return get(FessConfig.LDAP_ATTR_X121_ADDRESS);
|
||||
}
|
||||
|
||||
public String getLdapAttrBusinessCategory() {
|
||||
return get(FessConfig.LDAP_ATTR_BUSINESS_CATEGORY);
|
||||
}
|
||||
|
||||
public String getLdapAttrRegisteredAddress() {
|
||||
return get(FessConfig.LDAP_ATTR_REGISTERED_ADDRESS);
|
||||
}
|
||||
|
||||
public String getLdapAttrDisplayName() {
|
||||
return get(FessConfig.LDAP_ATTR_DISPLAY_NAME);
|
||||
}
|
||||
|
||||
public String getLdapAttrPreferredLanguage() {
|
||||
return get(FessConfig.LDAP_ATTR_PREFERRED_LANGUAGE);
|
||||
}
|
||||
|
||||
public String getLdapAttrDepartmentNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_DEPARTMENT_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrUidNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_UID_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrGidNumber() {
|
||||
return get(FessConfig.LDAP_ATTR_GID_NUMBER);
|
||||
}
|
||||
|
||||
public String getLdapAttrHomeDirectory() {
|
||||
return get(FessConfig.LDAP_ATTR_HOME_DIRECTORY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -415,4 +415,37 @@ ldap.role.search.role.prefix=R
|
|||
|
||||
ldap.attr.surname=sn
|
||||
ldap.attr.givenName=givenName
|
||||
|
||||
ldap.attr.employeeNumber=employeeNumber
|
||||
ldap.attr.mail=mail
|
||||
ldap.attr.telephoneNumber=telephoneNumber
|
||||
ldap.attr.homePhone=homePhone
|
||||
ldap.attr.homePostalAddress=homePostalAddress
|
||||
ldap.attr.labeledURI=labeledURI
|
||||
ldap.attr.roomNumber=roomNumber
|
||||
ldap.attr.description=description
|
||||
ldap.attr.title=title
|
||||
ldap.attr.pager=pager
|
||||
ldap.attr.street=street
|
||||
ldap.attr.postalCode=postalCode
|
||||
ldap.attr.physicalDeliveryOfficeName=physicalDeliveryOfficeName
|
||||
ldap.attr.destinationIndicator=destinationIndicator
|
||||
ldap.attr.internationaliSDNNumber=internationaliSDNNumber
|
||||
ldap.attr.state=st
|
||||
ldap.attr.employeeType=employeeType
|
||||
ldap.attr.facsimileTelephoneNumber=facsimileTelephoneNumber
|
||||
ldap.attr.postOfficeBox=postOfficeBox
|
||||
ldap.attr.initials=initials
|
||||
ldap.attr.carLicense=carLicense
|
||||
ldap.attr.mobile=mobile
|
||||
ldap.attr.postalAddress=postalAddress
|
||||
ldap.attr.city=l
|
||||
ldap.attr.teletexTerminalIdentifier=teletexTerminalIdentifier
|
||||
ldap.attr.x121Address=x121Address
|
||||
ldap.attr.businessCategory=businessCategory
|
||||
ldap.attr.registeredAddress=registeredAddress
|
||||
ldap.attr.displayName=displayName
|
||||
ldap.attr.preferredLanguage=preferredLanguage
|
||||
ldap.attr.departmentNumber=departmentNumber
|
||||
ldap.attr.uidNumber=uidNumber
|
||||
ldap.attr.gidNumber=gidNumber
|
||||
ldap.attr.homeDirectory=homeDirectory
|
||||
|
|
|
@ -23,6 +23,140 @@
|
|||
"type": "string",
|
||||
"index": "not_analyzed"
|
||||
},
|
||||
"employeeNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"mail" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"telephoneNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"homePhone" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"homePostalAddress" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"labeledURI" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"roomNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"description" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"title" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"pager" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"street" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"postalCode" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"physicalDeliveryOfficeName" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"destinationIndicator" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"internationaliSDNNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"state" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"employeeType" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"facsimileTelephoneNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"postOfficeBox" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"initials" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"carLicense" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"mobile" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"postalAddress" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"city" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"teletexTerminalIdentifier" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"x121Address" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"businessCategory" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"registeredAddress" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"displayName" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"preferredLanguage" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"departmentNumber" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"uidNumber" : {
|
||||
"type" : "long"
|
||||
},
|
||||
"gidNumber" : {
|
||||
"type" : "long"
|
||||
},
|
||||
"homeDirectory" : {
|
||||
"type" : "string",
|
||||
"index" : "not_analyzed"
|
||||
},
|
||||
"groups": {
|
||||
"type": "string",
|
||||
"index": "not_analyzed"
|
||||
|
|
Loading…
Add table
Reference in a new issue