public class JSDirectoryObjectFactory extends java.lang.Object implements JSObjectFactory
JSDirectoryObjectWrapperFactoryCLASS_NAME| Constructor and Description |
|---|
JSDirectoryObjectFactory()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
checkForJSDirectoryObject(java.lang.Object object)
Deprecated.
Check if given object is of DirectoryObjectWrapper type and return the
wrapped DirectoryObjectEntity if it is.
|
static FESI.jslib.JSObject |
createDirectoryObject(FESI.jslib.JSGlobalObject go,
DirectoryObject directoryObject)
Deprecated.
Within the context of the global JS object, create a DirectoryObject JS
object.
|
static FESI.jslib.JSObject |
createDirectoryObject(FESI.jslib.JSGlobalObject go,
DirectoryObjectEntity entity)
Deprecated.
Within the context of the global JS object, create a DirectoryObject JS
object.
|
static FESI.jslib.JSObject |
createDirectoryObject(FESI.jslib.JSGlobalObject go,
FESI.jslib.JSObject parent,
java.lang.String name,
DirectoryObject directoryObject)
Deprecated.
Within the context of the global JS object, create a named
DirectoryObject JS object.
|
static FESI.jslib.JSObject |
createDirectoryObject(FESI.jslib.JSGlobalObject go,
FESI.jslib.JSObject parent,
java.lang.String name,
DirectoryObjectEntity directoryObjectEntity)
Deprecated.
Within the context of the global JS object, create a named
DirectoryObject JS object.
|
static com.ibm.itim.fesiextensions.wrapper.DirectoryObjectWrapper |
createDirectoryObjectWrapper(DirectoryObject directoryObject)
Deprecated.
factory method for creating DirectoryObjectWrappers of the correct
subclass This methods can be used by extensions that need to return
directory object wrappers from extension methods.
|
static com.ibm.itim.fesiextensions.wrapper.DirectoryObjectWrapper |
createDirectoryObjectWrapper(DirectoryObjectEntity directoryObjectEntity)
Deprecated.
factory method for creating DirectoryObjectWrappers of the correct
subclass This method may be used by extensions that need to return
directory object wrappers from extension methods.
|
java.lang.Object |
createJavaObject(java.lang.String name,
FESI.jslib.JSObject o)
Deprecated.
Creates a Java object from the specified JavaScript object.
|
FESI.jslib.JSObject |
createScriptObject(FESI.jslib.JSGlobalObject go,
FESI.jslib.JSObject parent,
java.lang.String name,
java.lang.Object item)
Deprecated.
Creates a named object that can be used in the client's script.
|
public FESI.jslib.JSObject createScriptObject(FESI.jslib.JSGlobalObject go,
FESI.jslib.JSObject parent,
java.lang.String name,
java.lang.Object item)
throws FESI.jslib.JSException
createScriptObject in interface JSObjectFactorygo - JSGlobalObject as calling context.parent - JSObject to be registered as a member of. Same as go if
global.name - Name of the object in the scripting environmentitem - Object that will be made available as a script objectFESI.jslib.JSException - when the object can not be converted into a format that can
be used within the script environmentpublic java.lang.Object createJavaObject(java.lang.String name,
FESI.jslib.JSObject o)
throws FESI.jslib.JSException
createJavaObject in interface JSObjectFactoryname - Name of the JavaScript object. Can be empty.o - JSObject to convert from.FESI.jslib.JSException - if the specified JSObject is malformed or not compatible with
this factory.public static java.lang.Object checkForJSDirectoryObject(java.lang.Object object)
throws FESI.jslib.JSException
object - Object to checkFESI.jslib.JSException - If anything goes wrong.public static FESI.jslib.JSObject createDirectoryObject(FESI.jslib.JSGlobalObject go,
FESI.jslib.JSObject parent,
java.lang.String name,
DirectoryObjectEntity directoryObjectEntity)
throws FESI.jslib.JSException
go - JSGlobalObject as calling context.parent - JSObject to be registered as a member of.name - Name of the JS object in the script environment.directoryObjectEntity - DirectoryObjectEntity that implements, or is represented by,
the created JS object.FESI.jslib.JSExceptionpublic static FESI.jslib.JSObject createDirectoryObject(FESI.jslib.JSGlobalObject go,
FESI.jslib.JSObject parent,
java.lang.String name,
DirectoryObject directoryObject)
throws FESI.jslib.JSException
go - JSGlobalObject as calling context.parent - JSObject to be registered as a member of.name - Name of the JS object in the script environment.directoryObject - DirectoryObject that implements, or is represented by, the
created JS object.FESI.jslib.JSExceptionpublic static FESI.jslib.JSObject createDirectoryObject(FESI.jslib.JSGlobalObject go,
DirectoryObjectEntity entity)
throws FESI.jslib.JSException
go - JSObject as calling context.entity - DirectoryObjectEntity that implements, or is represented by,
the created JS object.FESI.jslib.JSExceptionpublic static FESI.jslib.JSObject createDirectoryObject(FESI.jslib.JSGlobalObject go,
DirectoryObject directoryObject)
throws FESI.jslib.JSException
go - JSObject as calling context.directoryObject - DirectoryObject that implements, or is represented by, the
created JS object.FESI.jslib.JSExceptionpublic static com.ibm.itim.fesiextensions.wrapper.DirectoryObjectWrapper createDirectoryObjectWrapper(DirectoryObjectEntity directoryObjectEntity)
directoryObjectEntity - the dirObjectEntity to wrappublic static com.ibm.itim.fesiextensions.wrapper.DirectoryObjectWrapper createDirectoryObjectWrapper(DirectoryObject directoryObject)
directoryObject - the dirObject to wrap