|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
helma.scripting.rhino.ListViewWrapper
public class ListViewWrapper
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Method Summary | |
---|---|
java.lang.String |
getClassName()
|
void |
jsFunction_add(java.lang.Object child)
|
int |
jsFunction_contains(java.lang.Object obj)
Check if node is contained in subnodes |
int |
jsFunction_count()
|
java.lang.Object |
jsFunction_get(int idx)
|
java.lang.Object |
jsFunction_get(java.lang.Object idxObj)
|
java.lang.Object |
jsFunction_getById(java.lang.Object id)
|
java.lang.Object |
jsFunction_getOrderedView(java.lang.String expr)
Retrieve a view having a different order from this Node's subnodelist. |
boolean |
jsFunction_invalidate(java.lang.Object childId)
Invalidate the node itself or a subnode |
org.mozilla.javascript.Scriptable |
jsFunction_list(java.lang.Object startArg,
java.lang.Object lengthArg)
Return a JS array of child objects with the given start and length. |
void |
jsFunction_prefetchChildren(java.lang.Object startArg,
java.lang.Object lengthArg)
Prefetch child objects from (relational) database. |
boolean |
jsFunction_remove(java.lang.Object arg)
Remove this object from the database. |
boolean |
jsFunction_removeChild(java.lang.Object child)
Remove a child node from this node's collection without deleting it from the database. |
int |
jsFunction_size()
|
int |
jsFunction_update()
This method represents the Java-Script-exposed function for updating Subnode-Collections. |
java.lang.String |
toString()
|
java.lang.Object |
unwrap()
|
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, get, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Method Detail |
---|
public java.lang.Object unwrap()
unwrap
in interface org.mozilla.javascript.Wrapper
public java.lang.Object jsFunction_get(java.lang.Object idxObj)
public java.lang.Object jsFunction_get(int idx)
public java.lang.Object jsFunction_getById(java.lang.Object id)
public void jsFunction_prefetchChildren(java.lang.Object startArg, java.lang.Object lengthArg) throws java.lang.Exception
java.lang.Exception
public int jsFunction_size()
public int jsFunction_count()
public void jsFunction_add(java.lang.Object child)
public org.mozilla.javascript.Scriptable jsFunction_list(java.lang.Object startArg, java.lang.Object lengthArg)
public boolean jsFunction_remove(java.lang.Object arg)
public boolean jsFunction_removeChild(java.lang.Object child)
public boolean jsFunction_invalidate(java.lang.Object childId)
public int jsFunction_contains(java.lang.Object obj)
public int jsFunction_update()
public java.lang.Object jsFunction_getOrderedView(java.lang.String expr)
expr
- the order (like sql-order using the properties instead)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |