|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.util.BCModeler
public abstract class BCModeler
A modeler that creates/updates an ADF Business Component model for a flexfield.
Nested Class Summary | |
---|---|
static class |
BCModeler.Arguments
List of arguments for a modeler. |
static class |
BCModeler.Option
A modeling option. |
static class |
BCModeler.Options
|
static class |
BCModeler.Parameter
A standard parameter for the modeler. |
static class |
BCModeler.ProgressStage
The stage of a modeler process. |
Constructor Summary | |
---|---|
BCModeler()
|
Method Summary | |
---|---|
abstract void |
build()
Builds the model. |
protected static java.lang.String |
escapeJavaString(java.lang.String str)
Escapes special characters in a string so that it can be printed out as a Java string literal. |
static BCModelerFactory |
getFactory(ApplicationResources appRes,
java.lang.String flexfieldType,
java.lang.String flexfieldCode,
ApplicationIdentifier aif)
Gets a BCModeler factory. |
static BCModelerFactory |
getFactory(ApplicationResources appRes,
java.lang.String flexfieldType,
java.lang.String flexfieldCode,
java.lang.String appShortName)
Deprecated. |
protected java.util.List<java.lang.String> |
getPackages()
Gets the list of packages that will be created or updated. |
abstract java.util.List<java.lang.String> |
getReport()
Gets the report. |
java.lang.String |
getVersion()
Gets the version of this modeler. |
protected static boolean |
isDevelopmentMode()
Whether this modeler is run in development mode. |
static void |
main(java.lang.String[] args)
Builds a model for a flexfield. |
static void |
notifyAction(ModelerEvent event)
Notifies about an action the modeler has performed. |
static void |
notifyProgress(ModelerProgressEvent mpe)
Notifies about the progress if a monitor is associated with the current thread. |
static void |
notifyProgress(java.lang.Object source,
java.lang.String message)
Notifies about the progress if a monitor is associated with the current thread. |
static java.util.List<java.lang.String> |
run(BCModeler.Arguments modelerArgs)
Creates and runs a modeler based on a set of arguments. |
static void |
run(BCModeler.Arguments modelerArgs,
ModelerListener monitor)
Creates and runs a modeler based on a set of arguments. |
static java.lang.Exception |
run(java.lang.String[] args,
java.io.PrintStream ps)
Creates and runs a modeler based on a list of arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BCModeler()
Method Detail |
---|
public java.lang.String getVersion()
public abstract void build()
BCModelerException
- if any error occurspublic abstract java.util.List<java.lang.String> getReport()
protected java.util.List<java.lang.String> getPackages()
run(Arguments)
public static final void notifyProgress(java.lang.Object source, java.lang.String message)
source
- the source of the messagemessage
- the messagepublic static final void notifyAction(ModelerEvent event)
event
- the action eventpublic static final void notifyProgress(ModelerProgressEvent mpe)
mpe
- the progress eventpublic static void run(BCModeler.Arguments modelerArgs, ModelerListener monitor)
This method returns without waiting for queued events to be dispatched, but it will signal the event dispatching thread to stop once all queued events (added before the stop notification) are dispatched.
modelerArgs
- the modeler argumentsmonitor
- the monitor
java.lang.IllegalArgumentException
- if the given Arguments
object or the monitor is null, or if
any of the aguments is invalidpublic static java.util.List<java.lang.String> run(BCModeler.Arguments modelerArgs)
modelerArgs
- the arguments
BCModelerException
- if any error occurs while building the modelpublic static BCModelerFactory getFactory(ApplicationResources appRes, java.lang.String flexfieldType, java.lang.String flexfieldCode, ApplicationIdentifier aif)
BCModeler
factory.
appRes
- the application resourcesflexfieldType
- the flexfield type, which is "DFF" or "KFF"flexfieldCode
- the flexfield codeaif
- the application information
public static BCModelerFactory getFactory(ApplicationResources appRes, java.lang.String flexfieldType, java.lang.String flexfieldCode, java.lang.String appShortName)
BCModeler
factory for a flexfield.
appRes
- the connection URLflexfieldType
- the flexfield typeflexfieldCode
- the flexfield codeappShortName
- the application short name
getFactory(ApplicationResources, String, String, ApplicationIdentifier)
public static java.lang.Exception run(java.lang.String[] args, java.io.PrintStream ps)
run(Arguments)
.
args
- the argumentsps
- the print stream for output messages; null if the caller is
not interested in the output messages
run(Arguments)
public static void main(java.lang.String[] args)
args
- command line argumentsprotected static boolean isDevelopmentMode()
protected static java.lang.String escapeJavaString(java.lang.String str)
Attribute1 == "5'2""
. By escaping
the special characters, "5'2\"" will be transformed into "5'2\\\"", which
can be safely printed out between double quotes as a string literal:
Attribute1 == "5'2\""
str
- the string to be escaped
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |