|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.AWAction.Interaction
Assembles a series of actions into a unit of work to perform on an analytic workspace. Actions are represented by AWAction objects. The Interaction class includes methods for creating AWAction objects and adding and removing them from the Interaction. An Interaction is associated with a specific connection to the database.
AWAction| Constructor Summary | |
Interaction()Creates a new Interaction. |
|
| Method Summary | |
void |
addAWAction(AWAction input)Adds the specified action object to the Interaction. |
AWAction |
createAction(java.lang.String actionType)Creates an action object of the specified type and adds it to the Interaction. |
void |
execute()Executes the Interaction. |
static java.lang.String |
Execute(oracle.sql.CLOB input)Executes an XML string that specifies one or more actions to perform on the analytic workspace. |
static java.lang.String |
ExecuteBuild(oracle.sql.CLOB input)Executes an XML string that specifies the BuildDatabase action. |
java.util.Vector |
getAWActions()Gets all of the action objects in the Interaction. |
AWConnection |
getConnection()Gets the current database connection. |
java.lang.String |
getResult()Gets the results of the actions specified by the Interaction. |
void |
removeAllAWActions()Removes all of the action objects from the Interaction. |
void |
removeAWAction(AWAction input)Removes the specified action object from the Interaction. |
void |
setConnection(AWConnection input)Specifies a connection to an Oracle Database instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Interaction()
Interaction.| Method Detail |
public AWConnection getConnection()
AWConnection that specifies the connection.public void setConnection(AWConnection input)
input - The AWConnection that specifies the connection.public void addAWAction(AWAction input)
Interaction.input - The AWAction to add.public void removeAWAction(AWAction input)
Interaction.input - The AWAction to remove.public void removeAllAWActions()
Interaction.public java.util.Vector getAWActions()
Interaction.Vector of AWAction objects.public java.lang.String getResult()
Interaction.String containing the results of the processing specified in the Interaction.public AWAction createAction(java.lang.String actionType)
Interaction. The types of objects that you can specify are the following.
Alter
Attach
BuildDatabase
Commit
Create
Delete
Detach
For example, the following code creates a Delete object
and adds it to the Interaction.
Interaction curInteraction = new Interaction();
AWAction awActionObj = curInteraction.createAction("Delete");
actionType - A String that specifies the type of action object to create.AWAction object.public void execute()
Interaction.public static java.lang.String Execute(oracle.sql.CLOB input)
input - A CLOB that contains the XML string.String that contains Success if the method successully executes the actions.public static java.lang.String ExecuteBuild(oracle.sql.CLOB input)
BuildDatabase action.input - A CLOB that contains the XML string.String that contains Success if the method successully executes the actions.
|
Oracle® OLAP Analytic Workspace Java API Reference 10g Release 2 (10.2) B14351-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||