|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applseed.rt.extract.util.ExUtil
public final class ExUtil
Utility class for Seed Data Extract. Class contains a collection of static methods that are designtime specific.
Method Summary | |
---|---|
static void |
executeViewQuery(SDViewNode viewNode)
Execute a ViewObject's query. |
static void |
executeViewQuery(oracle.jbo.server.ViewObjectImpl vo)
Execute the query for a ViewObject. |
static java.lang.String |
format(java.lang.Class cls,
java.lang.String key,
java.lang.Object... args)
Format the resource value that is returned for the key using the array of objects as parameters. |
static java.lang.String |
format(java.lang.Class cls,
java.lang.String key,
java.lang.String param)
Format the resource value that is returned for the key using param. |
static java.lang.Object |
getAttribObjectValue(java.lang.Object val,
oracle.jbo.AttributeDef attr,
boolean encode)
Get the Object value of the passed AttributeDef from the passed Row. |
static java.lang.Object |
getAttribRowValue(oracle.jbo.Row row,
oracle.jbo.AttributeDef attr,
boolean encode)
Get the Object value of the passed AttributeDef from the passed Row. |
static java.lang.String |
getAttribStringValue(java.lang.Object attribObj)
Get the attribute value object as a String. |
static java.lang.String |
getConnectBy(SDViewNode viewNode)
This method return back the connect by string that needs to be used in the query for ordering the hierarchical data. |
static java.lang.String |
getExtractSaveName()
Get the extract save name for this extract run. |
static java.lang.String |
getResolvedRowKeyValue(oracle.jbo.Row row,
SDViewNode viewNode)
Get a String of resolved key values, delimited. |
static java.lang.String |
getResourceForString(java.lang.Class cls,
java.lang.String key)
Method returns string from the resource bundle belonging to class cls for the given key. |
static java.lang.String |
getRowKeys(oracle.jbo.Row row,
SDViewNode viewNode)
Get a String of the current row keys in format [ key=value ... |
static java.lang.String |
getRowKeys(SDViewNode viewNode)
Get a String of the row keys of node's current row. |
static java.lang.String |
getXlfFileName()
Get the expected Xliff file name for this extract based on driver VO. |
static java.lang.String |
getXmlFileName()
Get the expected xml file name for this extract based on driver VO. |
static java.lang.String |
getXmlFileName(oracle.jbo.ApplicationModule am,
oracle.jbo.ViewObject vo)
Get the seed XML file name based on given AM and VO. |
static java.lang.String |
getXmlFileName(oracle.jbo.ApplicationModule am,
oracle.jbo.ViewObject vo,
boolean ignoreExclusiveNode)
Get the seed XML file name based on given AM and VO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getResourceForString(java.lang.Class cls, java.lang.String key)
cls
- Class of the ResourceBundlekey
- Resource key
public static java.lang.String format(java.lang.Class cls, java.lang.String key, java.lang.Object... args)
cls
- ResourceBundle classkey
- Resource keyargs
- parameters used to format the resource value
public static java.lang.String format(java.lang.Class cls, java.lang.String key, java.lang.String param)
cls
- ResourceBundle classkey
- Resource keyparam
- parameter used to format the resource value
public static java.lang.String getAttribStringValue(java.lang.Object attribObj)
attribObj
- Attribute value as Object
public static java.lang.Object getAttribRowValue(oracle.jbo.Row row, oracle.jbo.AttributeDef attr, boolean encode)
row
- Rowattr
- AttributeDefencode
- true if the attribute value must be base64 encoded
public static java.lang.Object getAttribObjectValue(java.lang.Object val, oracle.jbo.AttributeDef attr, boolean encode)
val
- Object attribute valueattr
- AttributeDefencode
- true if the attribute value must be base64 encoded
public static java.lang.String getConnectBy(SDViewNode viewNode)
public static void executeViewQuery(SDViewNode viewNode) throws ExtractException
viewNode
- SDViewNode wrapper for ViewObject
ExtractException
- SQL statement exception or other errorpublic static void executeViewQuery(oracle.jbo.server.ViewObjectImpl vo)
vo
- ViewObjectImplpublic static java.lang.String getRowKeys(oracle.jbo.Row row, SDViewNode viewNode)
row
- current RowviewNode
- current ViewNode
public static java.lang.String getRowKeys(SDViewNode viewNode)
viewNode
- SDViewNode
public static java.lang.String getResolvedRowKeyValue(oracle.jbo.Row row, SDViewNode viewNode) throws ExtractException
row
- Row containing valuesviewNode
- SDViewNode
ExtractException
- error resolving key valuespublic static java.lang.String getXmlFileName()
public static java.lang.String getXlfFileName()
public static java.lang.String getExtractSaveName()
public static java.lang.String getXmlFileName(oracle.jbo.ApplicationModule am, oracle.jbo.ViewObject vo)
am
- ApplicationModulevo
- ViewObject
public static java.lang.String getXmlFileName(oracle.jbo.ApplicationModule am, oracle.jbo.ViewObject vo, boolean ignoreExclusiveNode)
am
- ApplictionModulevo
- ViewObjectignoreExclusiveNode
- true to not append any exclusive extract child info to file
|
Oracle Fusion Middleware extensions for Seed Data Framework 11g Release 1 (11.1.2) E22564-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |