|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.emframe.dev.Plugin
com.novell.emframe.dev.DataHandler
Abstract class that handles the data from a particular attribute. All Strings are XML data containing the data.
| Constructor Summary | |
DataHandler()
|
|
| Method Summary | |
static java.lang.String |
getOperationAsString(int mode)
Converts the int value based upon the com.novell.admin.ns.ObjectOperation values (ADD, REMOVE, SET, IGNORE) to the String mode from eDirAccessService (MODE_ADD, MODE_REM, MODE_SET, and MODE_IGN). |
static int |
getOperationType(java.lang.String mode)
Converts the String mode from eDirAccessService (MODE_ADD, MODE_REM, MODE_SET, and MODE_IGN) to an int value based upon the com.novell.admin.ns.ObjectOperation values (ADD, REMOVE, SET, IGNORE). |
abstract java.lang.String |
getString(java.lang.Object theObj,
java.lang.String name,
TaskContext context)
Returns the String value of a particular attribute in XML format. |
abstract void |
setString(java.lang.Object theObj,
java.lang.String name,
java.lang.String value,
TaskContext context)
Sets the String value of a particular attribute in XML format. |
| Methods inherited from class com.novell.emframe.dev.Plugin |
init, isPluginAvailable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataHandler()
| Method Detail |
public static java.lang.String getOperationAsString(int mode)
mode - int representation of the mode based upon the com.novell.admin.ns.ObjectOperation
public static int values (ADD, REMOVE, SET, IGNORE)
public static int getOperationType(java.lang.String mode)
mode - One of the eDirAccessService public static Strings (MODE_ADD, MODE_REM, MODE_SET, and MODE_IGN)
public abstract java.lang.String getString(java.lang.Object theObj,
java.lang.String name,
TaskContext context)
throws eDirAccessServiceException
theObj - ObjectEntry representing the object in the directoryname - String containing the name of the attributecontext - Plug-in context
eDirAccessServiceException - on error reading from the attributesetString(java.lang.Object, java.lang.String, java.lang.String, com.novell.emframe.dev.TaskContext)public abstract void setString(java.lang.Object theObj,
java.lang.String name,
java.lang.String value,
TaskContext context)
throws eDirAccessServiceException
theObj - ObjectEntry representing the object in the directoryname - String containing the name of the attributevalue - String containing an XML representation of the value of the attributecontext - Plug-in context
eDirAccessServiceException - on error setting the attributegetString(java.lang.Object, java.lang.String, com.novell.emframe.dev.TaskContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||