public class eDirAccessService extends Task
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EDIR_AUX_KEY
EDIR_AUX_KEY = "auxillaryClassExtension".
|
static java.lang.String |
EDIR_COMMAND
EDIR_COMMAND = "eDirCommand".
|
static java.lang.String |
EDIR_CONNECTOR
EDIR_CONNECTOR = "$".
|
static java.lang.String |
EDIR_CREATE
EDIR_CREATE = "create".
|
static java.lang.String |
EDIR_KEY
EDIR_KEY = "eDir$".
|
static java.lang.String |
EDIR_READ
EDIR_READ = "read".
|
static java.lang.String |
EDIR_SEARCH
EDIR_SEARCH = "eDirSearch".
|
static java.lang.String |
EDIR_WRITE
EDIR_WRITE = "write".
|
static java.lang.String |
MODE_ADD
MODE_ADD = "add".
|
static java.lang.String |
MODE_IGN
MODE_IGN = "ignore".
|
static java.lang.String |
MODE_REM
MODE_REM = "remove".
|
static java.lang.String |
MODE_SET
MODE_SET = "set".
|
initialized, nextTaskExtraParameters, NOT_CHANGED, onCancelString, onCompleteString, repeatParams, res, taskCompleteFlagCONFIGURABLE, gadgetAssignment, gadgetAssignmentDN, gadgetCode, gadgetInstanceID, GETDATA, HANDLE_ACTION_ERROR_STATE, helpURL, m_JSPDataObject, m_moduleStylesheet, m_previousState, myLocale, PROCESSREQUEST, repeatable, resBundle, session, state, STATE_SHOW_USER_CONFIG, STATE_USER_CONFIG_COMPLETE, windowStateFULLPAGE_BRANDING_AREA_MODE, FULLPAGE_DATA_MODE, FULLPAGE_REQUEST_PROPERTY, GADGET_DN, GADGET_INSTANCE_ARGS, GADGET_INSTANCE_CLASS, GADGET_INSTANCE_ID_PROPERTY, LAUNCH_TYPE_DELEGATE, LAUNCH_TYPE_LAUNCH, LIFECYCLE_TYPE_EXISTING, LIFECYCLE_TYPE_NEW, LIFECYCLE_TYPE_RECREATE, LIFECYCLE_TYPE_RESET, LIFECYCLE_TYPE_REUSE, PARAM_RETURN_STATUS, RETURN_STATUS_CANCEL, RETURN_STATUS_CANCEL_ABORT, RETURN_STATUS_CANCEL_CONTINUE, RETURN_STATUS_ERROR_ABORT, RETURN_STATUS_ERROR_CONTINUE, RETURN_STATUS_FINISHED, STATE_PROPERTY, TEXT_HTML, TEXT_XML, WINDOW_STATE_MAXIMIZED, WINDOW_STATE_MINIMIZED| Constructor and Description |
|---|
eDirAccessService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(TaskContext context,
java.util.Properties resultStrings)
Persistent API Method (used by book or tasking chaining to EDAS).
|
static java.lang.String |
getEdasData(javax.servlet.http.HttpServletRequest req,
java.lang.String key)
Called by JSPConduit to get EDAS data from the request.
|
com.novell.emframe.fw.TargetCollection |
getEdasTargetCollection()
Returns the TargetCollection for EDAS.
|
void |
init(TaskContext context,
org.jdom.Document doc)
Initializes eDAS.
|
protected void |
initialize(TaskContext context,
org.jdom.Document doc)
Called by eDirAccessSerivce.execute(...).
|
static boolean |
isSyncableAttribute(java.lang.String attributeName)
Returns whether a given attribute is syncable.
|
protected boolean |
postCreate(TaskContext context,
java.lang.String username)
Override this method to do java work after EDAS creates the object in the execute method.
|
protected boolean |
postRead(TaskContext context,
java.util.Properties resultStrings)
Override this method to do java work after EDAS reads the object in the execute method.
|
protected boolean |
postWrite(java.util.Properties resultStrings,
TaskContext context)
Override this method to do java work after EDAS writes to the object in the execute method.
|
protected boolean |
preCreate(java.lang.String username,
TaskContext context)
Override this method to do java work before EDAS creates the object in the execute method.
|
protected boolean |
preRead(TaskContext context,
java.util.Properties resultStrings)
Override this method to do java work before EDAS reads the object in the execute method.
|
protected boolean |
preWrite(TaskContext context,
java.util.Properties resultStrings)
Override this method to do java work before EDAS writes to the object in the execute method.
|
static void |
shouldRun(javax.servlet.http.HttpServletRequest req,
java.lang.String sServiceName)
Returns whether this task should be able to run.
|
addAllUrlParams, buildQueryString, execute, execute, getParameter, getUIPage, init, isInitialized, isPluginAvailable, release, setInitialized, setUIPagegetDocument, getJSPDataObjectOrNull, getLegacyTaskInfo, getRepeatParams, getTaskId, setRepeatableaddActionListener, callGetData, clearDocument, configureApply, configureCancel, configureComplete, createDocument, findURIForLocFile, getAction, getActionIcons, getAllowProcessRequestAsync, getConfig, getConfigObjectSetting, getConfigObjectSettings, getConfigSetting, getConfigSetting, getConfigSettings, getConfigSettingValue, getConfigSettingValues, getConfiguredUniqueID, getContainedGadgetInstanceStylesheets, getCustomizeQueryString, getData, getDataFromLastTry, getFullPageMode, getGadgetAssignment, getGadgetAssignmentDN, getGadgetInstanceID, getGadgetXMLEndTag, getGadgetXMLStartTag, getHandleActionErrorStateData, getIntConfigSetting, getJSPDataObject, getJSPPage, getLangResourceURI, getLaunchType, getLifeCycleType, getLocale, getLocHelpURL, getLocResourceURI, getManagementServiceSet, getOriginalServiceName, getParam, getParentInstance, getPortalConnection, getPreferredDataType, getPreferredName, getPreferredName, getPrimary, getProxyServer, getRedirectionOrSelf, getResourceBundle, getResourcePathBase, getReturnStatus, getRootDelegator, getRootNodeName, getSession, getState, getStylesheetAndResourceSets, getStyleSheetName, getUserConfigCompleteData, getWindowState, handleAction, handlePostRequestActions, hasHelp, init, isConfigSettingCumulative, isConfigSettingOverwriteable, isForceRead, isTimedOut, onPageMaximize, onPageMinimize, onPortalInit, onShowUserConfigAction, onUserConfigCompleteAction, outputHTMLError, parseMultipartFormData, prepare, processRequest, processRequest, processSecondaryGadgetResults, removeActionListener, reset, returnToPrimary, setAllowProcessRequestAsync, setConfigSetting, setConfigSetting, setForceRead, setGadgetAssignment, setGadgetAssignmentDN, setGadgetInstanceID, setGetDataFromLastTry, setLaunchType, setLifeCycleType, setLocale, setModuleStylesheet, setParentInstance, setPrimary, setRedirectionOrSelf, setRepeatParams, setRequestedDataType, setResourceBundle, setRootDelegator, setSession, setState, setTimedOut, setWindowState, supportsDeviceCharacteristics, writeConfig, writeGadgetXMLEndTag, writeGadgetXMLStartTagpublic static final java.lang.String EDIR_CONNECTOR
public static final java.lang.String EDIR_KEY
public static final java.lang.String EDIR_COMMAND
public static final java.lang.String EDIR_SEARCH
public static final java.lang.String EDIR_READ
public static final java.lang.String EDIR_WRITE
public static final java.lang.String EDIR_CREATE
public static final java.lang.String EDIR_AUX_KEY
public static final java.lang.String MODE_ADD
public static final java.lang.String MODE_REM
public static final java.lang.String MODE_SET
public static final java.lang.String MODE_IGN
protected void initialize(TaskContext context, org.jdom.Document doc)
context - TaskContext of the plug-indoc - XML Document registering the plug-inpublic void init(TaskContext context, org.jdom.Document doc)
public static void shouldRun(javax.servlet.http.HttpServletRequest req,
java.lang.String sServiceName)
throws java.lang.Exception
req - HttpServletRequestsServiceName - String containing the id of this taskjava.lang.Exception - if this task cannot runpublic boolean execute(TaskContext context, java.util.Properties resultStrings)
execute in class Taskcontext - TaskContext of the plug-inresultStrings - Properties objects that should be added to the HttpServletRequestTask.init(TaskContext, Document),
Task.setUIPage(java.lang.String),
TaskContext,
eMFrameUtilsprotected boolean preRead(TaskContext context, java.util.Properties resultStrings)
context - TaskContext of the plug-inresultStrings - Properties objects that should be added to the HttpServletRequestpostRead(com.novell.emframe.dev.TaskContext, java.util.Properties)protected boolean postRead(TaskContext context, java.util.Properties resultStrings)
context - TaskContext of the plug-inresultStrings - Properties objects that should be added to the HttpServletRequestpreRead(com.novell.emframe.dev.TaskContext, java.util.Properties)protected boolean preWrite(TaskContext context, java.util.Properties resultStrings)
context - TaskContext of the plug-inresultStrings - Properties objects that should be added to the HttpServletRequestpostWrite(java.util.Properties, com.novell.emframe.dev.TaskContext)protected boolean postWrite(java.util.Properties resultStrings,
TaskContext context)
context - TaskContext of the plug-inresultStrings - Properties objects that should be added to the HttpServletRequestpreWrite(com.novell.emframe.dev.TaskContext, java.util.Properties)public final com.novell.emframe.fw.TargetCollection getEdasTargetCollection()
protected boolean preCreate(java.lang.String username,
TaskContext context)
username - String containing the username that will be createdcontext - TaskContext of the plug-inpostCreate(com.novell.emframe.dev.TaskContext, java.lang.String)protected boolean postCreate(TaskContext context, java.lang.String username)
username - String containing the username that was be createdcontext - TaskContext of the plug-inpreCreate(java.lang.String, com.novell.emframe.dev.TaskContext)public static final java.lang.String getEdasData(javax.servlet.http.HttpServletRequest req,
java.lang.String key)
req - The current HttpServletRequestkey - String containing the key to return the value forpublic static final boolean isSyncableAttribute(java.lang.String attributeName)
attributeName - String containing the attribute name
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}.