Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.5.0)

E10663-05


oracle.rules.sdk2.datamodel
Class AdfBcFactTypeHelper

java.lang.Object
  extended by oracle.rules.sdk2.datamodel.AdfBcFactTypeHelper


public final class AdfBcFactTypeHelper
extends java.lang.Object

Method Summary
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)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

loadViewObjectRows

public static java.util.List<RLObject> loadViewObjectRows(RuleSession ruleSession,
                                                          oracle.jbo.ViewObject viewObject)
                                                   throws SDKException,
                                                          RLException
Load all view object rows and convert them into RLObjects for use by the rules engine. Note that this can be a very expensive operation if there are many rows in the database.
Parameters:
ruleSession - the rule session to load the rows into
viewObject - the view object to use to load the rows
Returns:
an RLObject asserted to the rule session
Throws:
RLException - if the rule session throws an RLException
SDKException - if there is an error accessing the dictionary or with specified parameters

loadViewObjectRow

public static RLObject loadViewObjectRow(RuleSession ruleSession,
                                         oracle.jbo.ViewObject viewObject)
                                  throws SDKException,
                                         RLException
Load a single row represented by a view object. Returns null if no more rows are available.
Parameters:
ruleSession - the rule session to load the rows into
viewObject - the view object to use to load the rows
Returns:
an RLObject asserted to the rule session
Throws:
RLException - if the rule session throws an RLException
SDKException - if there is an error accessing the dictionary or with specified parameters

loadJboRow

public static RLObject loadJboRow(RuleSession ruleSession,
                                  oracle.jbo.Row dataRow,
                                  java.util.Map<java.lang.String,AdfBcFactTypeDescriptor> descrMap)
                           throws UndefinedException,
                                  RLException
Throws:
UndefinedException
RLException

loadJboRow

public static RLObject loadJboRow(RuleSession ruleSession,
                                  oracle.jbo.Row dataRow,
                                  KeyChain parentKeys,
                                  java.util.Map<java.lang.String,AdfBcFactTypeDescriptor> descrMap)
                           throws UndefinedException,
                                  RLException
Load an RLObject instance from a JBO datarow, using metadata stored in an RL global object variable.
Parameters:
ruleSession -
dataRow -
parentKeys -
descrMap - may be null
Returns:
RLObject
Throws:
UndefinedException
RLException

rlAttrName

public static java.lang.String rlAttrName(java.lang.String fieldName)

getJboCodomain

public static java.lang.String getJboCodomain(java.lang.String domain)

getSQLToJavaType

public static java.lang.String getSQLToJavaType(int domain)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.5.0)

E10663-05


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.