public class ConditionalUIHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateCondRequired(UIERMEntity entity,
MboSetRemote mboSetRemote)
Starting with the passed in MboSetRemote this method traverses the MboSet tree and
tries to evaluate all inputmode related conditional ui conditions on all the Mbo's using
the passed in UIERMEntity as a means of determining whether the MboSet or child mboset
has conditional ui.
|
java.util.Map<java.lang.String,java.lang.String> |
getConditionalProperties(java.lang.String sigOption,
MboRemote mbo)
For the given sigoption and mbo, this method will return a map of properties and their values
as a result of evaluating conditional ui associated with the sigoption.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getPropsFromPropertyCache(java.lang.String sigOption,
java.util.TreeMap<java.lang.Integer,java.lang.String[]> condResults)
This method will return a Map of properties and their new values based on the conditional UI
condition evaluation TreeMap passed in.
|
public java.util.HashMap<java.lang.String,java.lang.String> getPropsFromPropertyCache(java.lang.String sigOption, java.util.TreeMap<java.lang.Integer,java.lang.String[]> condResults) throws java.rmi.RemoteException, MXException
sigOption
- The sigoption the conditional uicondResults
- A tree map containing the results of the conditional ui conditions associated with the sigoptionjava.rmi.RemoteException
MXException
public boolean evaluateCondRequired(UIERMEntity entity, MboSetRemote mboSetRemote) throws java.rmi.RemoteException, MXException
entity
- The UIERMEntity to start the process of finding the conditionally required fieldsmboSetRemote
- The MboSet of the data source represented by the entity parameterjava.rmi.RemoteException
MXException
public java.util.Map<java.lang.String,java.lang.String> getConditionalProperties(java.lang.String sigOption, MboRemote mbo) throws java.rmi.RemoteException, MXException
sigOption
- the sigoption to check conditional uimbo
- the mbo to evaluate the conditional ui conditional againstjava.rmi.RemoteException
MXException