public abstract class DataHandler extends Plugin
| Constructor and Description |
|---|
DataHandler() |
| Modifier and Type | Method and Description |
|---|---|
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,
MContext 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,
MContext context)
Sets the String value of a particular attribute in XML format.
|
init, init, isPluginAvailable, isPluginAvailablepublic abstract java.lang.String getString(java.lang.Object theObj,
java.lang.String name,
MContext context)
throws eDirAccessServiceException
theObj - ObjectEntry representing the object in the directoryname - String containing the name of the attributecontext - Plug-in contexteDirAccessServiceException - on error reading from the attributesetString(java.lang.Object, java.lang.String, java.lang.String, com.novell.emframe.dev.MContext)public abstract void setString(java.lang.Object theObj,
java.lang.String name,
java.lang.String value,
MContext 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 contexteDirAccessServiceException - on error setting the attributegetString(java.lang.Object, java.lang.String, com.novell.emframe.dev.MContext)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 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)
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.