public class ResourceHostObject
extends org.mozilla.javascript.ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
protected org.mozilla.javascript.Context |
context |
protected org.wso2.carbon.registry.core.Resource |
resource |
| Modifier | Constructor and Description |
|---|---|
|
ResourceHostObject() |
protected |
ResourceHostObject(org.wso2.carbon.registry.core.Resource resource,
org.mozilla.javascript.Context cx) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Type to be used for this object inside the javascript.
|
protected org.wso2.carbon.registry.core.Resource |
getResource() |
static org.mozilla.javascript.Scriptable |
jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr) |
static void |
jsFunction_addProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_editPropertyValue(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static org.mozilla.javascript.NativeArray |
jsFunction_getProperties(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static String |
jsFunction_getProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static org.mozilla.javascript.NativeArray |
jsFunction_getPropertyValues(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_removeProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_removePropertyValue(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
static void |
jsFunction_setProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj) |
String |
jsGet_author() |
Object |
jsGet_content() |
org.mozilla.javascript.Scriptable |
jsGet_createdTime() |
String |
jsGet_description() |
String |
jsGet_id() |
org.mozilla.javascript.Scriptable |
jsGet_lastUpdatedTime() |
String |
jsGet_lastUpdatedUser() |
String |
jsGet_mediaType() |
String |
jsGet_parentPath() |
String |
jsGet_path() |
String |
jsGet_permanentPath() |
int |
jsGet_state() |
void |
jsSet_content(Object content) |
void |
jsSet_description(Object description) |
void |
jsSet_mediaType(Object mediaType) |
associateValue, 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, setPrototypeprotected org.wso2.carbon.registry.core.Resource resource
protected org.mozilla.javascript.Context context
protected ResourceHostObject(org.wso2.carbon.registry.core.Resource resource,
org.mozilla.javascript.Context cx)
public ResourceHostObject()
public static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic static void jsFunction_addProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static String jsFunction_getProperty(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] arguments, org.mozilla.javascript.Function funObj) throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static org.mozilla.javascript.NativeArray jsFunction_getPropertyValues(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static org.mozilla.javascript.NativeArray jsFunction_getProperties(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static void jsFunction_editPropertyValue(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static void jsFunction_removeProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static void jsFunction_removePropertyValue(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic static void jsFunction_setProperty(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] arguments,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic String jsGet_author()
public String jsGet_lastUpdatedUser()
public org.mozilla.javascript.Scriptable jsGet_createdTime()
public org.mozilla.javascript.Scriptable jsGet_lastUpdatedTime()
public String jsGet_id()
public String jsGet_parentPath()
public String jsGet_path()
public String jsGet_permanentPath()
public int jsGet_state()
public String jsGet_mediaType()
public void jsSet_mediaType(Object mediaType) throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic Object jsGet_content() throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic void jsSet_content(Object content) throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionpublic String jsGet_description()
public void jsSet_description(Object description) throws org.wso2.carbon.CarbonException
org.wso2.carbon.CarbonExceptionprotected org.wso2.carbon.registry.core.Resource getResource()
Copyright © 2017 WSO2. All rights reserved.