|
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.Objectoracle.apps.fnd.applseed.config.util.SDUtil
public final class SDUtil
Utility class for Seed Data Configuration. Class contains a collection of static methods that are designtime specific.
| Nested Class Summary | |
|---|---|
static class |
SDUtil.StringNumericComparator
Static class to support sort of strings so that the numbers at the end of the string are given numeric weightage. |
| Method Summary | |
|---|---|
static boolean |
checkConnectionAvailability(oracle.jbo.dt.objects.JboApplication app)
Check project defined connection validity. |
static void |
createHint(java.lang.String key,
java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
Method creates property on the JboNamedObject jbo with key and value. |
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.String |
getDecodedHint(java.lang.String key,
oracle.jbo.dt.objects.JboNamedObject jbo)
Method returns hint string from the named object for provided key. |
static java.lang.StringBuilder |
getDefinition(oracle.jbo.dt.objects.JboBaseObject as)
Method returns the xml file contexts of the definition file of the JboBaseObject with the dtd reference removed. |
static java.lang.StringBuilder |
getDefinition(java.net.URL url)
Method returns the xml file contexts of the definition file identified by the url with the dtd reference removed. |
static java.lang.String |
getHint(java.lang.String key,
oracle.jbo.dt.objects.JboNamedObject jbo)
Method returns property value for the named object. |
static java.util.List |
getHintKeysContaining(java.lang.String matchString,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get list of property keys of the JboObject that have the given matchString. |
static java.util.List |
getHintKeysWithPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get list of property keys of the JboObject that have the given prefix. |
static java.util.List |
getHintKeysWithValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get list of property keys of the JboObject that have the given value. |
static java.util.Map<java.lang.String,java.lang.String> |
getHintsMapWithKeyPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get map of properties of the JboObject that have the given prefix. |
static java.util.List |
getHintsWithKeyPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get list of properties of the JboObject that have the given prefix. |
static java.util.List |
getHintsWithKeyValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get list of properties of the JboObject that have the given value. |
static java.lang.String |
getIdentifierKey(java.lang.String keyBase,
SDWizard wiz)
Method returns key with driver view identifier embedded. |
static java.lang.String |
getIdentifierKey(java.lang.String keyBase,
java.lang.String ident)
Method returns key with driver view identifier embedded. |
static java.lang.String |
getKey(java.lang.String paramContext,
java.lang.Object obj)
Returns key based on the context and object. |
static oracle.jbo.dt.objects.JboViewAttr |
getNewViewAttr(oracle.jbo.dt.objects.JboViewAttr inAttr,
oracle.jbo.dt.objects.JboViewReference voRef)
Method constructs a new attribute as a clone of passed attribute. |
static org.w3c.dom.NodeList |
getNodesByTag(java.lang.StringBuilder buff,
java.lang.String tag)
Method retuns all xml nodes with the tag name, in the StringBuffer buff. |
static java.util.List |
getPropertiesForKey(java.lang.String beginsWith,
java.net.URL url)
Deprecated. use BC4J classes to access properties |
static java.lang.String |
getPropertyValue(java.lang.String key,
java.net.URL url)
Deprecated. use BC4J classes to access properties |
static oracle.jbo.dt.objects.JboAppModule |
getReferenceAM(oracle.jbo.dt.objects.JboAppModule am,
oracle.jbo.dt.objects.JboViewReference vRef)
Method returns the Application module that contains the reference View Object. |
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.util.List<java.lang.String> |
getSortedHintKeysWithPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get sorted list of property keys of the JboObject that have the given prefix. |
static java.util.List<java.lang.String> |
getSortedHintKeysWithValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
Get sorted list of property keys of the JboObject that have the given value. |
static java.lang.String |
getStackTrace(java.lang.Exception e)
Method generates inforamtion on the exception. |
static boolean |
isAssociationContained(oracle.jbo.dt.objects.JboViewLinkUsage vlu)
The Entities participating in the ViewLink are examined for associations. |
static boolean |
isSuperAttr(oracle.jbo.dt.objects.JboAppModule am,
oracle.jbo.dt.objects.JboViewAttr attr)
Is this attribute defined in super view. |
static boolean |
isSuperAttr(oracle.jbo.dt.objects.JboView vo,
oracle.jbo.dt.objects.JboViewAttr attr)
Is this attribute defined in super view. |
static boolean |
isViewEntityBased(oracle.jbo.dt.objects.JboViewReference voRef)
Method tests for view object reference being entity based. |
static oracle.jbo.dt.objects.JboViewAttr |
locateTreeViewAttribute(javax.swing.ListModel listModel,
java.lang.String refName,
java.lang.String attrName)
Method returns the attribute of the View Object in the AM model for the given attribute name. |
static void |
removeHintsContaining(java.lang.String matchString,
oracle.jbo.dt.objects.JboNamedObject jbo)
Remove properties of the jbo object that have a key with given match string. |
static void |
removeHintsWithPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
Remove properties of the jbo object that have a key with given prefix. |
static void |
removeHintsWithValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
Remove properties of the jbo object that have a key with given value. |
| 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 getStackTrace(java.lang.Exception e)
e - Exception to generate information on
public static void createHint(java.lang.String key,
java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
key - key of the created propertyvalue - value of the created propertyjbo - JboNamedObject that will contain the property
public static java.lang.String getDecodedHint(java.lang.String key,
oracle.jbo.dt.objects.JboNamedObject jbo)
key - key of the hint stringjbo - JboNamedObject that contains the Hint
public static java.lang.String getHint(java.lang.String key,
oracle.jbo.dt.objects.JboNamedObject jbo)
key - key of the propertyjbo - JboNamedObject that contains the property
public static boolean checkConnectionAvailability(oracle.jbo.dt.objects.JboApplication app)
app - Application that will use the connection
public static void removeHintsWithPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
prefix - of keys that will be removedjbo - object whose properties need to be removed
public static void removeHintsWithValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
value - of keys that will be removedjbo - object whose properties need to be removed
public static void removeHintsContaining(java.lang.String matchString,
oracle.jbo.dt.objects.JboNamedObject jbo)
matchString - of keys that will be removedjbo - object whose properties need to be removed
public static java.util.List getHintKeysWithPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
prefix - of property keys that will be returnedjbo - JboObject whose keys will be returned.
public static java.util.List getHintKeysWithValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
value - of property keys that will be returnedjbo - JboObject whose keys will be returned.
public static java.util.List getHintKeysContaining(java.lang.String matchString,
oracle.jbo.dt.objects.JboNamedObject jbo)
matchString - of property keys that will be returnedjbo - JboObject whose keys will be returned.
public static java.util.List<java.lang.String> getSortedHintKeysWithPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
prefix - of property keys that will be returnedjbo - JboObject whose keys will be returned.
public static java.util.List<java.lang.String> getSortedHintKeysWithValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
value - of property keys that will be returnedjbo - JboObject whose keys will be returned.
public static java.util.Map<java.lang.String,java.lang.String> getHintsMapWithKeyPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
prefix - of properties that will be returnedjbo - JboObject whose properties will be returned.
public static java.util.List getHintsWithKeyPrefix(java.lang.String prefix,
oracle.jbo.dt.objects.JboNamedObject jbo)
prefix - of properties that will be returnedjbo - JboObject whose properties will be returned.
public static java.util.List getHintsWithKeyValue(java.lang.String value,
oracle.jbo.dt.objects.JboNamedObject jbo)
value - of properties that will be returnedjbo - JboObject whose properties will be returned.
public static java.lang.StringBuilder getDefinition(java.net.URL url)
throws java.lang.Exception
url - Url of the definition file
java.lang.Exception - throws exceptions that happen in the method
public static java.lang.String getIdentifierKey(java.lang.String keyBase,
java.lang.String ident)
keyBase - base keyident - identifier
public static java.lang.String getIdentifierKey(java.lang.String keyBase,
SDWizard wiz)
keyBase - base keywiz - wizard
public static java.lang.StringBuilder getDefinition(oracle.jbo.dt.objects.JboBaseObject as)
throws java.lang.Exception
as - JboObject whose metadata is required
java.lang.Exception - throws exceptions that are generated during definition
public static org.w3c.dom.NodeList getNodesByTag(java.lang.StringBuilder buff,
java.lang.String tag)
throws java.lang.Exception
buff - StringBuffer that contains the xml fragmenttag - name of the nodes that need to be returned
java.lang.Exception - Exception throws exceptions that are generated during
node discovery
public static java.lang.String getPropertyValue(java.lang.String key,
java.net.URL url)
key - Key of the property to be extractedurl - URL of the xml file that contains the Property node.
public static java.util.List getPropertiesForKey(java.lang.String beginsWith,
java.net.URL url)
beginsWith - key initial parturl - URL of the xml file that contains the Property node.
public static oracle.jbo.dt.objects.JboAppModule getReferenceAM(oracle.jbo.dt.objects.JboAppModule am,
oracle.jbo.dt.objects.JboViewReference vRef)
am - Seed Application Module.vRef - reference view object
public static boolean isAssociationContained(oracle.jbo.dt.objects.JboViewLinkUsage vlu)
vlu - ViewLinkUsage that will be examined for containment
public static java.lang.String getKey(java.lang.String paramContext,
java.lang.Object obj)
paramContext - the key contextobj - for which the key should be constructed
public static oracle.jbo.dt.objects.JboViewAttr locateTreeViewAttribute(javax.swing.ListModel listModel,
java.lang.String refName,
java.lang.String attrName)
listModel - List Model containing the list of attributesrefName - Attribute name qualified by the View Object nameattrName - Attribute name
public static oracle.jbo.dt.objects.JboViewAttr getNewViewAttr(oracle.jbo.dt.objects.JboViewAttr inAttr,
oracle.jbo.dt.objects.JboViewReference voRef)
inAttr - Attribute to be clonedvoRef - View Object containing the attribute
public static boolean isViewEntityBased(oracle.jbo.dt.objects.JboViewReference voRef)
voRef - ViewObjectReference to be checked
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 boolean isSuperAttr(oracle.jbo.dt.objects.JboView vo,
oracle.jbo.dt.objects.JboViewAttr attr)
vo - view objectattr - attribute
public static boolean isSuperAttr(oracle.jbo.dt.objects.JboAppModule am,
oracle.jbo.dt.objects.JboViewAttr attr)
am - application moduleattr - attribute
|
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 | |||||||||