|
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.ModelerTaskGroup
public class ModelerTaskGroup
A task group that contains multiple modeler tasks. By using a task group, the performance of multiple modeler tasks is optimized.
Nested Class Summary | |
---|---|
static class |
ModelerTaskGroup.ExecutionContext
The context for the execution of all tasks in a group. |
Field Summary | |
---|---|
protected ModelerTaskGroupListener |
_listener
The listener. |
protected java.util.List<ModelerTask> |
_taskList
The task list. |
Constructor Summary | |
---|---|
|
ModelerTaskGroup(java.util.List<ModelerTask> taskList)
Constructs a task group. |
protected |
ModelerTaskGroup(java.util.List<ModelerTask> taskList,
boolean useSandbox)
Constructs a task group with the option of creating a sandbox, if the sandbox feature is supported. |
|
ModelerTaskGroup(java.util.List<ModelerTask> taskList,
ModelerSandbox sandbox)
Constructs a task group with the use of a sandbox. |
Method Summary | |
---|---|
protected void |
cleanup()
Any release or cleanup we need to do for this taskgroup if any task is inturrpted. |
protected java.util.List<java.lang.String> |
getObjectPackages()
Gets the list of packages of objects to be updated or created by this task group. |
static ModelerSandbox |
getPreferredApplCoreSandbox(java.lang.String flexfieldType,
long appId,
java.lang.String flexfieldCode,
java.lang.String description)
Gets the preferred ApplCore sandbox for a flexfield. |
static java.lang.String |
getPreferredSandboxName(java.lang.String flexfieldType,
long appId,
java.lang.String flexfieldCode)
Gets the preferred sandbox name for a flexfield. |
protected java.util.List<java.lang.String> |
getServicePackages()
Gets the list of packages of the XSD files. |
protected ModelerTaskGroup.ExecutionContext |
newExecutionContext()
Creates a new execution context. |
java.util.List<ModelerTask.State> |
perform()
Performs the modeler tasks in this group. |
void |
resetListener()
Resets the listener back to the default listener. |
void |
setListener(ModelerTaskGroupListener listener)
Sets the listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.List<ModelerTask> _taskList
protected ModelerTaskGroupListener _listener
Constructor Detail |
---|
public ModelerTaskGroup(java.util.List<ModelerTask> taskList)
taskList
- the list of tasks to perform
java.lang.IllegalArgumentException
- if the given task list is null or emptyprotected ModelerTaskGroup(java.util.List<ModelerTask> taskList, boolean useSandbox)
taskList
- the list of tasks to performuseSandbox
- true if a sandbox should be created and used
java.lang.IllegalArgumentException
- if the given task list is null or emptypublic ModelerTaskGroup(java.util.List<ModelerTask> taskList, ModelerSandbox sandbox)
perform
is called. This constructor does not verify whether the
sandbox feature is supported or not
taskList
- the task listsandbox
- the sandbox
java.lang.IllegalArgumentException
- if the task list is null, empty or
if the sandbox is nullMethod Detail |
---|
public final void setListener(ModelerTaskGroupListener listener)
listener
- the listenerpublic final void resetListener()
protected java.util.List<java.lang.String> getObjectPackages()
protected java.util.List<java.lang.String> getServicePackages()
getObjectPackages()
.
protected void cleanup()
protected ModelerTaskGroup.ExecutionContext newExecutionContext()
perform()
.
perform()
public static java.lang.String getPreferredSandboxName(java.lang.String flexfieldType, long appId, java.lang.String flexfieldCode)
flexfieldType
- the flexfield type, e.g. "DFF", "KFF" or "EFF".appId
- the application IDflexfieldCode
- the flexfield code
java.lang.IllegalArgumentException
- if the given flexfield type,
application short name or flexfield
code is nullpublic static ModelerSandbox getPreferredApplCoreSandbox(java.lang.String flexfieldType, long appId, java.lang.String flexfieldCode, java.lang.String description)
flexfieldType
- the flexfield type, e.g. "DFF", "KFF" or "EFF".appId
- the application IDflexfieldCode
- the flexfield codedescription
- the description; null if not available. The description
is usually the display name of the flexfield
java.lang.IllegalArgumentException
- if the given flexfield type,
application short name or flexfield
code is nullpublic final java.util.List<ModelerTask.State> perform()
|
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 |