|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile 11g Release 2 (11.1.2.4.0) E27204-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adfmf.framework.api.Model
public class Model
Public services used by the UI framework to assist in the more common functions.
Constructor Summary | |
---|---|
Model() |
Method Summary | |
---|---|
static oracle.adfmf.dc.ws.rest.RestServiceAdapter |
createRestServiceAdapter() Get an empty REST service adapter object. |
static void |
deviceIsReady() Signals device is ready |
java.lang.Object |
evaluateMethodExpression(java.lang.String expression, oracle.adfmf.json.JSONArray params, java.lang.String returnType, java.lang.String[] paramTypes) Evaluate the method expression passed in. |
java.lang.String |
getContextId() Get the current context id |
java.lang.String |
getContextInstanceId() Get the current context instance id |
java.lang.String |
getContextPageDef() Get the current context page definition |
java.lang.String[] |
getModelInventory() Get the list of model's methods. |
oracle.adfmf.framework.contract.adf.NameValuePair[] |
getValue(java.lang.String[] variables) Get a set of values from their passed in EL expressions. |
void |
loadBundle(java.lang.String baseName, java.lang.String variable) Load the given resource bundle |
static java.lang.Class |
loadClassObj(java.lang.String name) Internal helper function to load classes in the current class loader. |
java.lang.String |
ping() A simple ping test used to ensure the VM is up and functioning correctly. |
void |
popPageFlowScope() Pops a page flow and moves frame pointer down in the stack |
java.lang.Object[] |
processBatchRequests(java.lang.Boolean abortOnError, oracle.adfmf.json.JSONObject[] requests) process the set of request as a batch. |
void |
pushPageFlowScope() Pushes a new page flow and creates a new frame pointer. |
void |
removeContext(java.lang.String contextKey, java.lang.String instanceId) Remove the context from the collection of contexts |
void |
removeContextInstance(java.lang.String contextKey, java.lang.String instanceId) Remove the context from the collection of contexts |
void |
resetFeature() Reset the current feature. |
void |
setBeanDefinitions(oracle.adfmf.framework.contract.adf.ManagedBeanDefinition[] defs) Set the bean definitions into the current context |
java.lang.String[] |
setContext(java.lang.String contextKey) Set the context |
java.lang.String[] |
setContextInstance(java.lang.String contextKey, java.lang.String instanceId, boolean resetState, boolean reSync) Set the context |
oracle.adfmf.framework.contract.adf.NameValuePair[] |
setValue(oracle.adfmf.framework.contract.adf.NameValuePair[] data) Set a set of EL values |
static void |
waitForDeviceReady() Wait for device is ready |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Model()
Method Detail |
---|
public static java.lang.Class loadClassObj(java.lang.String name) throws java.lang.ClassNotFoundException
name
- class namejava.lang.ClassNotFoundException
public java.lang.String ping()
public void pushPageFlowScope()
public void popPageFlowScope()
public java.lang.String[] getModelInventory()
public java.lang.Object[] processBatchRequests(java.lang.Boolean abortOnError, oracle.adfmf.json.JSONObject[] requests)
abortOnError
-requests
-public void resetFeature() throws AdfException
AdfException
public oracle.adfmf.framework.contract.adf.NameValuePair[] getValue(java.lang.String[] variables) throws AdfException
variables
- an array of EL expressionsAdfException
public oracle.adfmf.framework.contract.adf.NameValuePair[] setValue(oracle.adfmf.framework.contract.adf.NameValuePair[] data) throws AdfException
data
- an array of NameValuePairs (EL expression, value)AdfException
public java.lang.Object evaluateMethodExpression(java.lang.String expression, oracle.adfmf.json.JSONArray params, java.lang.String returnType, java.lang.String[] paramTypes) throws AdfException
expression
- method expressionparams
- to the methodreturnType
- of the methodparamTypes
- of the methodAdfException
public java.lang.String getContextId() throws AdfException
AdfException
public java.lang.String getContextPageDef() throws AdfException
AdfException
public java.lang.String getContextInstanceId() throws AdfException
AdfException
public void removeContext(java.lang.String contextKey, java.lang.String instanceId) throws AdfException
AdfException
public void removeContextInstance(java.lang.String contextKey, java.lang.String instanceId) throws AdfException
AdfException
public java.lang.String[] setContext(java.lang.String contextKey) throws AdfException
AdfException
public java.lang.String[] setContextInstance(java.lang.String contextKey, java.lang.String instanceId, boolean resetState, boolean reSync) throws AdfException
AdfException
public void setBeanDefinitions(oracle.adfmf.framework.contract.adf.ManagedBeanDefinition[] defs) throws AdfException
AdfException
public void loadBundle(java.lang.String baseName, java.lang.String variable) throws AdfException
baseName
- of the resource bundlevariable
- of the resource bundleAdfException
public static oracle.adfmf.dc.ws.rest.RestServiceAdapter createRestServiceAdapter()
public static void deviceIsReady()
public static void waitForDeviceReady()
java.lang.Exception
- if timeout or interrupted
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile 11g Release 2 (11.1.2.4.0) E27204-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |