|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.interfaces.interactive.support.actions.InterfaceActionSetKM
public class InterfaceActionSetKM
InterfaceActionSetKM is an interface action class used to set a knowledge module (KM).
InteractiveInterfaceHelperWithActions
Nested Class Summary | |
---|---|
static class |
InterfaceActionSetKM.DetachedOptionValue
Represents an option value detached from a knowledge module. |
static class |
InterfaceActionSetKM.KMType
The KMType enumeration defines the knowledge module types for loading, integration, and flow control. |
Constructor Summary | |
---|---|
InterfaceActionSetKM(OdiKM<?> pKM,
IInterfaceSubComponent pKMHolder,
InterfaceActionSetKM.KMType pKMType,
IKMOptionRetainer pKMOptionRetainer)
Creates an action class instance which will assign a knowledge module to a source set, staging area, or target datastore, when performAction is called. |
Method Summary | |
---|---|
static java.util.List<IOptionValue> |
buildDetachedOptionValues(java.util.List<IOptionValue> pOptions)
Gets a list of detached option values, based on the given option value list. |
void |
performAction(IInterfaceActionListener pInterfaceActionListener,
IInterfaceUndoListener pInterfaceUndoListener,
IActionHelper pActionHelper)
For internal use only. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterfaceActionSetKM(OdiKM<?> pKM, IInterfaceSubComponent pKMHolder, InterfaceActionSetKM.KMType pKMType, IKMOptionRetainer pKMOptionRetainer)
performAction
is called.
This constructor should be called directly to create the action class instance.
This instance should then be passed to InteractiveInterfaceHelperWithActions.performAction
to assign the KM.interactiveHelper.performAction(new InterfaceActionSetKM(ikm, odiInterface.getTargetDataStore(), KMType.IKM, new KMOptionRetainerLazy()));
interactiveHelper.performAction(new InterfaceActionSetKM(lkm, sourceSet, KMType.LKM, new KMOptionRetainerHomonymy()));
pKM
- The knowledge module to be assignedpKMHolder
- SourceSet, StagingArea, or TargetDataStore for the KM.pKMType
- The knowledge module type. LKM, IKM, CKMpKMOptionRetainer
- An option retainer class instance used to handle the retaining of existing KM options for the new KM.
When performAction
is called, the retainOptions
method of the retainer is invoked
to retain old options for an existing KM, if one is currently set. If an instance of
KMOptionRetainerCopy or KMOptionRetainerHomonymy is used, the options are copied. However,
KMOptionRetainerLazy may be specified if no option copy is desired.KMOptionRetainerCopy
,
KMOptionRetainerHomonymy
,
KMOptionRetainerLazy
Method Detail |
---|
public static java.util.List<IOptionValue> buildDetachedOptionValues(java.util.List<IOptionValue> pOptions)
pOptions
- list of option values
public void performAction(IInterfaceActionListener pInterfaceActionListener, IInterfaceUndoListener pInterfaceUndoListener, IActionHelper pActionHelper)
performAction
in interface IInterfaceAction
pInterfaceActionListener
- the interface action listener instancepInterfaceUndoListener
- the interface undo listener instancepActionHelper
- the action helper instance
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |