Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

oracle.AWAction
Class Interaction

java.lang.Object
  |
  +--oracle.AWAction.Interaction

public class Interaction
extends java.lang.Object

Assembles a series of actions into a unit of work to be performed on an analytic workspace. The Interaction class includes methods for creating AWAction objects and adding and removing them from the interaction.

Interaction objects also have methods for associating a connection object with the interaction. A connection object defines a database connection and an OLAP session.

See Also:
AWAction

Constructor Summary
Interaction()
          Constructor for an Interaction.

 

Method Summary
 void addAWAction(AWAction input)
          Adds an AWAction to the Interaction.
 AWAction createAction(java.lang.String actionType)
          Creates a new AWAction.
 void execute()
          Execute the current Interaction.
static java.lang.String Execute(oracle.sql.CLOB input)
          Executes a CLOB containing an XML string.
 java.util.Vector getAWActions()
          Returns all the AWAction objects associated with this Interaction.
 AWConnection getConnection()
          Returns the current connection to the current analytic workspace.
 java.lang.String getResult()
          Returns the result of the Interaction.
 void removeAllAWActions()
          Removes all AWAction objects from the Interaction.
 void removeAWAction(AWAction input)
          Removes an AWAction from the Interaction.
 void setConnection(AWConnection input)
          Initiates a connection to the Database and establishes an OLAP session.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Interaction

public Interaction()
Constructor for an Interaction.
Method Detail

getConnection

public AWConnection getConnection()
Returns the current connection to the current analytic workspace.
Returns:
an AWConnection

setConnection

public void setConnection(AWConnection input)
Initiates a connection to the Database and establishes an OLAP session.
Parameters:
input - AWConnection

addAWAction

public void addAWAction(AWAction input)
Adds an AWAction to the Interaction. An AWAction describes a basic operation to perform on an object model.
Parameters:
input - AWAction

removeAWAction

public void removeAWAction(AWAction input)
Removes an AWAction from the Interaction.
Parameters:
input - AWAction

removeAllAWActions

public void removeAllAWActions()
Removes all AWAction objects from the Interaction.

getAWActions

public java.util.Vector getAWActions()
Returns all the AWAction objects associated with this Interaction.
Returns:
Vector

getResult

public java.lang.String getResult()
Returns the result of the Interaction.
Returns:
String

createAction

public AWAction createAction(java.lang.String actionType)
Creates a new AWAction.
Parameters:
actionType - A String whose values can be Alter, Attach, Commit, Create, Delete, Detach, or BuildDatabase
Returns:
The new AWAction

execute

public void execute()
Execute the current Interaction.

Execute

public static java.lang.String Execute(oracle.sql.CLOB input)
Executes a CLOB containing an XML string.
Parameters:
input - CLOB

Oracle OLAP Analytic Workspace Java API Reference
10g Release 1 (10.1)

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.