|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.memberwebs.ldapxml.LXReader
Uses an LX map to read data from an LDAP directory, returning XML in a DOM format.
| Constructor Summary | |
LXReader()
Creates a new LXReader object. |
|
| Method Summary | |
com.novell.ldap.LDAPConnection |
getConnection()
Get the LDAP connection used to retrieve data. |
LXConvert |
getConvert()
|
com.memberwebs.ldapxml.map.LXMap |
getMap()
Get the map that will be used to transform data. |
LXResults |
retrieveBlank(org.w3c.dom.Document doc)
Retrieve a blank result set, with a properly created document, root node etc... |
org.w3c.dom.Element |
retrieveEntry(org.w3c.dom.Document doc,
com.novell.ldap.LDAPEntry entry)
Transform an already retrieved LDAP entry. |
org.w3c.dom.Element |
retrieveEntry(org.w3c.dom.Document doc,
com.novell.ldap.LDAPEntry entry,
LXSpecs specs)
Transform an already retrieved LDAP entry with additional specifications. |
org.w3c.dom.Element |
retrieveEntry(org.w3c.dom.Document doc,
java.lang.String dn)
Retrieves a single entry from an LDAP tree. |
org.w3c.dom.Element |
retrieveEntry(org.w3c.dom.Document doc,
java.lang.String dn,
LXSpecs specs)
Retrieves a single entry from an LDAP tree with additional specifications. |
org.w3c.dom.Element |
retrieveEntry(org.w3c.dom.Document doc,
java.lang.String dn,
java.lang.String query,
LXSpecs specs)
Retrieves a single entry from an LDAP tree with additional specifications. |
LXResults |
retrieveSearch(org.w3c.dom.Document doc,
java.lang.String base,
java.lang.String filter)
Search for and retrieve data matching a filter. |
LXResults |
retrieveSearch(org.w3c.dom.Document doc,
java.lang.String base,
java.lang.String filter,
LXSpecs specs)
|
LXResults |
retrieveSearch(org.w3c.dom.Document doc,
java.lang.String base,
java.lang.String filter,
LXSpecs specs,
boolean batch)
Search for and retrive data matching filter with additional retrieval specifications. |
void |
setConnection(com.novell.ldap.LDAPConnection conn)
Set the LDAP connection to retrieve data from. |
void |
setConvert(LXConvert convert)
|
void |
setMap(com.memberwebs.ldapxml.map.LXMap map)
Set the LX map that will be used to transform data retrieved from the LDAP directory. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LXReader()
| Method Detail |
public final com.memberwebs.ldapxml.map.LXMap getMap()
public final void setConvert(LXConvert convert)
public final LXConvert getConvert()
public final void setMap(com.memberwebs.ldapxml.map.LXMap map)
throws LXException
map - The map.
LXExceptionpublic final com.novell.ldap.LDAPConnection getConnection()
public final void setConnection(com.novell.ldap.LDAPConnection conn)
throws LXException
conn - The connection.
LXException
public LXResults retrieveSearch(org.w3c.dom.Document doc,
java.lang.String base,
java.lang.String filter)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.base - Point in the LDAP tree to root search.filter - The search filter.
LXException
com.novell.ldap.LDAPException
public LXResults retrieveSearch(org.w3c.dom.Document doc,
java.lang.String base,
java.lang.String filter,
LXSpecs specs)
throws LXException,
com.novell.ldap.LDAPException
LXException
com.novell.ldap.LDAPException
public LXResults retrieveSearch(org.w3c.dom.Document doc,
java.lang.String base,
java.lang.String filter,
LXSpecs specs,
boolean batch)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.base - The point in the LDAP tree to root search.filter - The search filter.batch - Whether the retrieval is called in a batch
and should update start and limit in specs
LXException
com.novell.ldap.LDAPException
public LXResults retrieveBlank(org.w3c.dom.Document doc)
throws LXException
doc - The document from which to create elements.
LXException
public org.w3c.dom.Element retrieveEntry(org.w3c.dom.Document doc,
java.lang.String dn)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.dn - The LDAP DN of the entry to retrieve.
LXException
com.novell.ldap.LDAPException
public org.w3c.dom.Element retrieveEntry(org.w3c.dom.Document doc,
java.lang.String dn,
LXSpecs specs)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.dn - The LDAP DN of the entry to retrieve.specs - The additional retrieval specifications.
LXException
com.novell.ldap.LDAPException
public org.w3c.dom.Element retrieveEntry(org.w3c.dom.Document doc,
java.lang.String dn,
java.lang.String query,
LXSpecs specs)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.dn - The LDAP DN of the entry to retrieve.query - An ldap query to filter the entry with.specs - The additional retrieval specifications.
LXException
com.novell.ldap.LDAPException
public org.w3c.dom.Element retrieveEntry(org.w3c.dom.Document doc,
com.novell.ldap.LDAPEntry entry)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.entry - The LDAP entry.
LXException
com.novell.ldap.LDAPException
public org.w3c.dom.Element retrieveEntry(org.w3c.dom.Document doc,
com.novell.ldap.LDAPEntry entry,
LXSpecs specs)
throws LXException,
com.novell.ldap.LDAPException
doc - The document from which to create elements.entry - The LDAP entry.
LXException
com.novell.ldap.LDAPException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||