Node Director
|
This class implements an RFC2253 distinguished name. More...
Public Member Functions | |
DN () | |
DN (String dn) | |
DN (String dn, DN root) | |
DN (DN dn, DN root) | |
void | setRaw (String dn) |
void | set (String dn) |
void | set (DN dn) |
String | getRaw () |
get DN in 'raw' RFC2253 compliant format | |
String | get () |
get DN in interpreted ('\' escapes interpreted, redundant space removed) | |
String | getComparable () |
get DN in comparable format where equal DNs are supposed to return | |
boolean | isSub (DN subdn) |
String | toString () |
int | hashCode () |
boolean | equals (Object cobj) |
void | completeDN (String root) |
void | completeDN (DN root) |
void | append (DN root) |
void | strip (DN root) |
DN | parent () |
DN | flat () |
DBObject | RDNattrs () |
Object | clone () |
Static Public Member Functions | |
static String | demangleDN (String dn) |
Static Protected Member Functions | |
static String | mangleDN (String dn) |
static String | makeComparable (String dn) |
Protected Attributes | |
String | dn = null |
String | cdn = null |
This class implements an RFC2253 distinguished name.
sfi.director.repository.DN.DN | ( | ) |
sfi.director.repository.DN.DN | ( | String | dn | ) |
References sfi.director.repository.DN.dn.
sfi.director.repository.DN.DN | ( | String | dn, |
DN | root | ||
) |
References sfi.director.repository.DN.append(), and sfi.director.repository.DN.dn.
References sfi.director.repository.DN.append(), and sfi.director.repository.DN.dn.
void sfi.director.repository.DN.append | ( | DN | root | ) |
References sfi.director.repository.DN.dn, sfi.director.repository.DN.getRaw(), and sfi.director.repository.DN.setRaw().
Referenced by sfi.director.repository.DN.DN(), sfi.director.application.FrontendHTTPServer.edit_export(), sfi.director.application.FrontendInterface.executeCommand(), sfi.director.repository.LDAP.forceRelative(), sfi.director.repository.LDAP.makeName(), sfi.director.cli.copy.run(), sfi.director.repository.LDIFTree.search(), and sfi.director.repository.JDBC.search().
Object sfi.director.repository.DN.clone | ( | ) |
References sfi.director.repository.DN.cdn, sfi.director.repository.DN.dn, and sfi.director.repository.DN.DN().
Referenced by sfi.director.repository.DBObject.clone(), sfi.director.repository.DBObject.completeDN(), sfi.director.application.autodoc.InfoCollector.push(), sfi.director.cli.copy.run(), sfi.director.repository.JDBC.search(), and sfi.director.repository.transform.TargetFolders.transform().
void sfi.director.repository.DN.completeDN | ( | String | root | ) |
References sfi.director.repository.DN.DN().
Referenced by sfi.director.repository.DBObject.completeDN().
void sfi.director.repository.DN.completeDN | ( | DN | root | ) |
|
static |
Referenced by sfi.director.repository.DN.get(), and sfi.director.repository.DN.makeComparable().
boolean sfi.director.repository.DN.equals | ( | Object | cobj | ) |
References sfi.director.repository.DN.cdn, and sfi.director.repository.DN.dn.
Referenced by sfi.director.application.FrontendHTTPServer._recurse(), sfi.director.repository.DBObject.completeDN(), sfi.director.repository.DBConnection.get(), sfi.director.util.Lock.Lock(), and sfi.director.repository.DBObject.setDN().
DN sfi.director.repository.DN.flat | ( | ) |
References sfi.director.repository.DN.dn, and sfi.director.repository.DN.DN().
Referenced by sfi.director.repository.DN.RDNattrs(), and sfi.director.util.Tools.toDBEditRecord().
String sfi.director.repository.DN.get | ( | ) |
get DN in interpreted ('\' escapes interpreted, redundant space removed)
format
References sfi.director.repository.DN.demangleDN(), and sfi.director.repository.DN.dn.
Referenced by sfi.director.application.InstallerOpenLDAP._getDBDef(), sfi.director.application.scripttask.GroupOfMembers.create(), sfi.director.application.FrontendHTTPServer.edit_data(), sfi.director.application.FrontendInterface.executeCommand(), sfi.director.util.Tools.findAuth(), sfi.director.cli.copy.run(), sfi.director.util.Tools.toDBEditRecord(), and sfi.director.repository.transform.Mail2Netscape.transform().
String sfi.director.repository.DN.getComparable | ( | ) |
get DN in comparable format where equal DNs are supposed to return
equal Strings regardless to the original encoding
References sfi.director.repository.DN.cdn.
Referenced by sfi.director.repository.DN.isSub(), sfi.director.repository.LDIFTree.path(), and sfi.director.repository.LDIFDir.path().
String sfi.director.repository.DN.getRaw | ( | ) |
get DN in 'raw' RFC2253 compliant format
References sfi.director.repository.DN.dn.
Referenced by sfi.director.application.FrontendHTTPServer._recurse(), sfi.director.repository.DN.append(), sfi.director.application.FrontendHTTPServer.auth_login(), sfi.director.repository.DN.completeDN(), sfi.director.application.scripttask.DomainBuild.create(), sfi.director.application.scripttask.PublishApplication.create(), sfi.director.cli.create.edit(), sfi.director.application.scripttask.ApplyDomainTemplate.exec(), sfi.director.application.scripttask.BuildDependingDomains.exec(), sfi.director.repository.transform.CompleteDN.forcedCompleteDN(), sfi.director.repository.CupsPPDDir.getName(), sfi.director.repository.LDAP.makeName(), sfi.director.repository.LDAPndk.makeName(), sfi.director.repository.DirectoryDB.replace(), sfi.director.cli.init.run(), sfi.director.cli.copy.run(), sfi.director.cli.build.run(), sfi.director.repository.DirectoryDB.search(), sfi.director.repository.JDBC.search(), sfi.director.application.SetPassword.setPasswordByFilter(), sfi.director.repository.DN.strip(), sfi.director.repository.DBObject.toLDIF(), and sfi.director.repository.DN.toString().
int sfi.director.repository.DN.hashCode | ( | ) |
References sfi.director.repository.DN.cdn.
Referenced by sfi.director.repository.DBObject.hashCode().
boolean sfi.director.repository.DN.isSub | ( | DN | subdn | ) |
References sfi.director.repository.DN.getComparable().
Referenced by sfi.director.repository.AutomounterFile.encode(), sfi.director.application.scripttask.ApplyDomainTemplate.exec(), sfi.director.repository.LDIFTree.search(), sfi.director.repository.transform.TargetFolders.transform(), and sfi.director.repository.transform.NISfromDBObject.transform().
|
staticprotected |
References sfi.director.repository.DN.demangleDN().
Referenced by sfi.director.repository.DN.setRaw().
|
staticprotected |
Referenced by sfi.director.repository.DN.set().
DN sfi.director.repository.DN.parent | ( | ) |
References sfi.director.repository.DN.dn, sfi.director.repository.DN.DN(), and sfi.director.repository.DN.setRaw().
Referenced by sfi.director.application.scripttask.DomainBuild.create(), sfi.director.application.scripttask.DomainDepends.mkdepend(), sfi.director.repository.LDAPndk.replace(), sfi.director.cli.init.run(), sfi.director.cli.copy.run(), and sfi.director.util.Tools.toDBEditRecord().
DBObject sfi.director.repository.DN.RDNattrs | ( | ) |
void sfi.director.repository.DN.set | ( | String | dn | ) |
void sfi.director.repository.DN.set | ( | DN | dn | ) |
References sfi.director.repository.DN.dn, and sfi.director.repository.DN.setRaw().
void sfi.director.repository.DN.setRaw | ( | String | dn | ) |
References sfi.director.repository.DN.cdn, sfi.director.repository.DN.dn, and sfi.director.repository.DN.makeComparable().
Referenced by sfi.director.repository.DN.append(), sfi.director.repository.DN.completeDN(), sfi.director.repository.DBObject.DBObject(), sfi.director.repository.LDIFTree.dirpath(), sfi.director.repository.LDIFDir.dirpath(), sfi.director.repository.transform.CompleteDN.forcedCompleteDN(), sfi.director.repository.LDAP.forceRelative(), sfi.director.repository.LDAPndk.forceRelative(), sfi.director.repository.LDAP.makeName(), sfi.director.repository.DN.parent(), sfi.director.repository.DirectoryDB.search(), sfi.director.repository.LDAP.search(), sfi.director.repository.LDAPndk.search(), sfi.director.repository.JDBC.search(), sfi.director.repository.DN.set(), and sfi.director.repository.DN.strip().
void sfi.director.repository.DN.strip | ( | DN | root | ) |
References sfi.director.repository.DN.getRaw(), and sfi.director.repository.DN.setRaw().
Referenced by sfi.director.repository.LDAP.forceRelative(), sfi.director.repository.LDAPndk.forceRelative(), sfi.director.application.autodoc.InfoCollector.push(), sfi.director.repository.DirectoryDB.replace(), sfi.director.cli.init.run(), sfi.director.cli.copy.run(), sfi.director.repository.transform.TargetFolders.transform(), and sfi.director.repository.transform.StripDN.transform().
String sfi.director.repository.DN.toString | ( | ) |
|
protected |
|
protected |
Referenced by sfi.director.repository.DN.append(), sfi.director.repository.DN.clone(), sfi.director.repository.DN.completeDN(), sfi.director.repository.DN.DN(), sfi.director.repository.DN.equals(), sfi.director.repository.DN.flat(), sfi.director.repository.DN.get(), sfi.director.repository.DN.getRaw(), sfi.director.repository.DN.parent(), sfi.director.repository.DN.set(), and sfi.director.repository.DN.setRaw().