|
||||||||||
| 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
|
+--com.ca.directory.jxplorer.broker.CBGraphicsOps
A wrapper for BasicOps that overrides log() and error() in an application specific way.
| Field Summary | |
boolean |
errorWhileQuietFlag
|
java.lang.Exception |
quietException
|
boolean |
quietMode
|
| 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 | |
CBGraphicsOps(javax.naming.directory.DirContext ctx)
Initialise with the directory context. |
|
| Method Summary | |
void |
close()
overload this method for progress tracker. |
boolean |
error(java.lang.String msg,
java.lang.Exception e)
This override passes errors to CBUtility.error. |
void |
inc()
overload this method for progress tracker. |
void |
log(java.lang.String msg,
int logLevel)
This override passes errors to CBUtility.log. |
boolean |
modifyAttributes(javax.naming.Name dn,
javax.naming.directory.ModificationItem[] modList)
This override passes a confirmation message to CBError.confirm after a successful modify. |
void |
open(java.lang.String heading,
java.lang.String operationName)
overload this method for progress tracker. |
void |
pop()
overload this method for progress tracker. |
javax.naming.NamingEnumeration |
push(javax.naming.NamingEnumeration elements)
overload this method for progress tracker. |
void |
setQuietMode(boolean status)
Sets quiet error mode on or off, and clears any stored 'quietException'. |
| Methods inherited from class com.ca.commons.naming.DXOps |
addEntry, modifyEntry, postParse, postParse, postParseNameClassPairs, postParseString, preParse, updateEntry |
| Methods inherited from class com.ca.commons.jndi.AdvancedOps |
copyTree, deleteTree, getInstance, moveTree, recCopyTree, recDeleteTree, recMoveTree |
| Methods inherited from class com.ca.commons.jndi.BasicOps |
addAttribute, addAttributes, addObject, copyObject, deleteAttribute, deleteAttributes, deleteObject, exists, getBaseNameParser, getContext, getLdapVersion, getSchema, list, 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 |
| Field Detail |
public boolean quietMode
public boolean errorWhileQuietFlag
public java.lang.Exception quietException
| Constructor Detail |
public CBGraphicsOps(javax.naming.directory.DirContext ctx)
| Method Detail |
public void setQuietMode(boolean status)
public boolean error(java.lang.String msg,
java.lang.Exception e)
error in class BasicOpsmsg - User friendly error messagee - The exception
public void log(java.lang.String msg,
int logLevel)
log in class BasicOpsmsg - log Message
public boolean modifyAttributes(javax.naming.Name dn,
javax.naming.directory.ModificationItem[] modList)
modifyAttributes in class BasicOpsdn - distinguished name of object to modifymodList - a list of ModificationItems
public void open(java.lang.String heading,
java.lang.String operationName)
open in class AdvancedOpspublic void close()
close in class AdvancedOpspublic void pop()
pop in class AdvancedOpspublic javax.naming.NamingEnumeration push(javax.naming.NamingEnumeration elements)
push in class AdvancedOpspublic void inc()
inc in class AdvancedOps
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||