public class ThemeManagerHostObject
extends org.mozilla.javascript.ScriptableObject
| Constructor and Description |
|---|
ThemeManagerHostObject() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName() |
static org.mozilla.javascript.Scriptable |
jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr) |
static boolean |
jsFunction_addCustomTheme(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
Add the custom theme for given tenant based on the theme type(eg.
|
static boolean |
jsFunction_deleteCustomTheme(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
Remove given deployed custom them for given tenant.
|
static org.mozilla.javascript.NativeArray |
jsFunction_getCustomThemeTypes(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
Get the theme types
|
static org.mozilla.javascript.NativeObject |
jsFunction_getDeployedThemes(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
Get the list of custom themes(e.g default,webapp,site ) deployed to given tenant.
|
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, setPrototypepublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class org.mozilla.javascript.ScriptableObjectpublic static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr)
throws org.jaggeryjs.scriptengine.exceptions.ScriptException,
org.wso2.carbon.appmgt.api.AppManagementException
org.jaggeryjs.scriptengine.exceptions.ScriptExceptionorg.wso2.carbon.appmgt.api.AppManagementExceptionpublic static boolean jsFunction_addCustomTheme(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.appmgt.api.AppManagementException
cx - thisObj - args - funObj - org.wso2.carbon.appmgt.api.AppManagementExceptionpublic static org.mozilla.javascript.NativeObject jsFunction_getDeployedThemes(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.appmgt.api.AppManagementException
cx - thisObj - args - funObj - org.wso2.carbon.appmgt.api.AppManagementExceptionpublic static org.mozilla.javascript.NativeArray jsFunction_getCustomThemeTypes(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.appmgt.api.AppManagementException
cx - thisObj - args - funObj - org.wso2.carbon.appmgt.api.AppManagementExceptionpublic static boolean jsFunction_deleteCustomTheme(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable thisObj,
Object[] args,
org.mozilla.javascript.Function funObj)
throws org.wso2.carbon.appmgt.api.AppManagementException
cx - thisObj - args - funObj - org.wso2.carbon.appmgt.api.AppManagementExceptionCopyright © 2017 WSO2. All rights reserved.