public final class AdfBcFactTypeHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJboCodomain(java.lang.String domain) |
static java.lang.String |
getSQLToJavaType(int domain) |
static RLObject |
loadJboRow(RuleSession ruleSession,
oracle.jbo.Row dataRow,
KeyChain parentKeys,
java.util.Map<java.lang.String,AdfBcFactTypeDescriptor> descrMap)
Load an RLObject instance from a JBO datarow, using metadata stored in an
RL global object variable.
|
static RLObject |
loadJboRow(RuleSession ruleSession,
oracle.jbo.Row dataRow,
java.util.Map<java.lang.String,AdfBcFactTypeDescriptor> descrMap) |
static RLObject |
loadViewObjectRow(RuleSession ruleSession,
oracle.jbo.ViewObject viewObject)
Load a single row represented by a view object.
|
static java.util.List<RLObject> |
loadViewObjectRows(RuleSession ruleSession,
oracle.jbo.ViewObject viewObject)
Load all view object rows and convert them into RLObjects for use by
the rules engine.
|
static java.lang.String |
rlAttrName(java.lang.String fieldName) |
public static java.util.List<RLObject> loadViewObjectRows(RuleSession ruleSession, oracle.jbo.ViewObject viewObject) throws SDKException, RLException
ruleSession
- the rule session to load the rows intoviewObject
- the view object to use to load the rowsRLException
- if the rule session throws an RLExceptionSDKException
- if there is an error accessing the dictionary or with specified parameterspublic static RLObject loadViewObjectRow(RuleSession ruleSession, oracle.jbo.ViewObject viewObject) throws SDKException, RLException
ruleSession
- the rule session to load the rows intoviewObject
- the view object to use to load the rowsRLException
- if the rule session throws an RLExceptionSDKException
- if there is an error accessing the dictionary or with specified parameterspublic static RLObject loadJboRow(RuleSession ruleSession, oracle.jbo.Row dataRow, java.util.Map<java.lang.String,AdfBcFactTypeDescriptor> descrMap) throws UndefinedException, RLException
UndefinedException
RLException
public static RLObject loadJboRow(RuleSession ruleSession, oracle.jbo.Row dataRow, KeyChain parentKeys, java.util.Map<java.lang.String,AdfBcFactTypeDescriptor> descrMap) throws UndefinedException, RLException
ruleSession
- dataRow
- parentKeys
- descrMap
- may be nullUndefinedException
RLException
public static java.lang.String rlAttrName(java.lang.String fieldName)
public static java.lang.String getJboCodomain(java.lang.String domain)
public static java.lang.String getSQLToJavaType(int domain)