|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.ca.commons.jndi.BasicOps
|
+--com.ca.commons.jndi.AdvancedOps
|
+--com.ca.commons.naming.DXOps
A wrapper for BasicOps that converts the jndi primative names into com.ca.commons.naming objects...
| Field Summary |
| Fields inherited from class com.ca.commons.jndi.AdvancedOps |
parser |
| Fields inherited from class com.ca.commons.jndi.BasicOps |
ALWAYSLOG, CHANGELOG, connectionData, ctx, DONTLOG, ldapVersion, VERBOSELOG |
| Constructor Summary | |
DXOps(javax.naming.directory.DirContext ctx)
Initialise with the directory context. |
|
| Method Summary | |
boolean |
addEntry(DXEntry newEntry)
Add the new entry to the directory. |
boolean |
modifyEntry(DXEntry oldEntry,
DXEntry newEntry)
Update an entry with the designated DN. |
javax.naming.Name |
postParse(javax.naming.Name name)
This postparses a name, after it has been returned from the jndi operation. |
javax.naming.Name |
postParse(java.lang.String name)
This postparses a name, after it has been returned from the jndi operation. |
javax.naming.NamingEnumeration |
postParseNameClassPairs(javax.naming.NamingEnumeration e,
javax.naming.Name base)
This postparses a namingEnumeration of NameClassPairs, after it has been returned from the jndi operation. |
java.lang.String |
postParseString(java.lang.String name)
This postparses a name, after it has been returned from the jndi operation. |
javax.naming.Name |
preParse(javax.naming.Name name)
This preparses a name, preparitory to passing to the jndi operation. |
boolean |
updateEntry(DXEntry oldSet,
DXEntry newSet)
Update an entry with the designated DN. |
| Methods inherited from class com.ca.commons.jndi.AdvancedOps |
close, copyTree, deleteTree, getInstance, inc, moveTree, open, pop, push, recCopyTree, recDeleteTree, recMoveTree |
| Methods inherited from class com.ca.commons.jndi.BasicOps |
addAttribute, addAttributes, addObject, copyObject, deleteAttribute, deleteAttributes, deleteObject, error, exists, getBaseNameParser, getContext, getLdapVersion, getSchema, list, log, modifyAttributes, modifyAttributes, openContext, openContext, openContext, openContext, openContext, openContext, read, read, renameObject, searchBaseObject, searchBaseObject, searchOneLevel, searchOneLevel, searchSubTree, searchSubTree, setConnectionData, updateAttribute, updateAttributes, updateObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DXOps(javax.naming.directory.DirContext ctx)
| Method Detail |
public javax.naming.Name preParse(javax.naming.Name name)
preParse in class BasicOpsname - the pre jndi operation name.
public javax.naming.Name postParse(javax.naming.Name name)
postParse in class BasicOpsname - the post jndi operation name.
public javax.naming.Name postParse(java.lang.String name)
name - the post jndi operation name.
public java.lang.String postParseString(java.lang.String name)
name - the post jndi operation name.
public javax.naming.NamingEnumeration postParseNameClassPairs(javax.naming.NamingEnumeration e,
javax.naming.Name base)
throws javax.naming.NamingException
postParseNameClassPairs in class BasicOpse - the post jndi operation namingEnumeration.
javax.naming.NamingException
public boolean modifyEntry(DXEntry oldEntry,
DXEntry newEntry)
oldEntry - the old entry containing teh old set of attributes.newEntry - the new entry containing the replacement set of attributes.
public boolean addEntry(DXEntry newEntry)
newEntry - the new entry containing the replacement set of attributes.
public boolean updateEntry(DXEntry oldSet,
DXEntry newSet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||