|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.dt.osn.utils.OsnUtils
public final class OsnUtils
Utilities class for OSN.
Method Summary | |
---|---|
static javax.swing.tree.DefaultMutableTreeNode |
fromXMLFile(oracle.ide.Context context)
Load the default xml file and return a tree of DefaultMutableTreeNode representing the file in a swing tree. |
static boolean |
isOSNDTEnabled()
Is OSN DT enabled. |
static oracle.jbo.dt.objects.JboAppModule |
loadAM(oracle.ide.Context context,
java.lang.String amName)
Load AM by name. |
static java.util.List<java.lang.String> |
loadAMNames(oracle.ide.Context context)
Load a list of AM names for the current project, sorted Alphabetically. |
static oracle.jbo.dt.objects.JboView |
loadVO(oracle.ide.Context context,
java.lang.String voName)
Load VO by name. |
static java.util.ArrayList |
loadVOAttrs(oracle.ide.Context context,
java.lang.String voName)
Load VO attributes. |
static java.lang.String |
readXMLFromFile(oracle.ide.Context context)
Read from the fnd OSN integration file and return the entire contents as a String. |
static void |
saveXMLToFile(oracle.ide.Context context,
java.lang.String xml)
Save the xml String to the fnd OSN integration file. |
static java.lang.String |
toPackageName(java.lang.String amName)
Return the package name for this AM name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isOSNDTEnabled()
public static java.lang.String readXMLFromFile(oracle.ide.Context context)
context
- context relating to current operation, probably Model project
file.
public static void saveXMLToFile(oracle.ide.Context context, java.lang.String xml)
context
- context relating to current operation, probably Model project
file.xml
- xml to save.public static javax.swing.tree.DefaultMutableTreeNode fromXMLFile(oracle.ide.Context context)
context
- context for current node.
public static java.util.List<java.lang.String> loadAMNames(oracle.ide.Context context)
context
- context for current node.
public static oracle.jbo.dt.objects.JboAppModule loadAM(oracle.ide.Context context, java.lang.String amName)
context
- context of clicked object, Project or AM.amName
- name of AM.
public static oracle.jbo.dt.objects.JboView loadVO(oracle.ide.Context context, java.lang.String voName)
context
- context of clicked object, Project or AM.voName
- name of VO.
public static java.util.ArrayList loadVOAttrs(oracle.ide.Context context, java.lang.String voName)
context
- context of clicked object, Project or AM.voName
- name of VO.
public static java.lang.String toPackageName(java.lang.String amName)
amName
- non-null AM name some.package.myAM
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |