Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

oracle.AWAction
Class AWAction

java.lang.Object
  |
  +--oracle.AWAction.AWAction
Direct Known Subclasses:
Alter, Attach, BuildDatabase, Commit, Create, Delete, Detach

public abstract class AWAction
extends java.lang.Object

An abstract class that specifies an action to perform on an analytic workspace. An AWAction is owned by an Interaction object. The concrete subclasses of AWAction are the action objects Alter, Attach, BuildDatabase, Commit, Create, Delete, and Detach.

An AWAction has a method that associates a BaseObject to it. AWAction objects are bundled into units of work within an Interaction. An AWAction inherits the connection context of the Interaction.

See Also:
Interaction

Constructor Summary
AWAction(Interaction input)
Creates an AWAction in the specified Interaction.

Method Summary
void Execute()
Executes the action specified by the AWAction.
BaseObject getActiveObject()
Gets the Analytic Workspace Java API object to which the action specified by the AWAction applies.
Interaction getOwner()
Gets the Interaction that owns the AWAction.
void setActiveObject(BaseObject input)
Specifies a BaseObject as the active object in the current analytic workspace so that the action specified by the AWAction applies to the BaseObject.
void setOwner(Interaction input)
Specifies an Interaction as the owner of the AWAction.
java.lang.String WriteToXML()
Gets an XML representation of the AWAction.

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

Constructor Detail

AWAction

public AWAction(Interaction input)
Creates an AWAction in the specified Interaction.
Parameters:
input - The Interaction that owns the AWAction.

Method Detail

setOwner

public void setOwner(Interaction input)
Specifies an Interaction as the owner of the AWAction.
Parameters:
input - The Interaction that you want to be the owner of the AWAction.

getOwner

public Interaction getOwner()
Gets the Interaction that owns the AWAction.
Returns:
The owning Interaction.

Execute

public void Execute()
Executes the action specified by the AWAction.

setActiveObject

public void setActiveObject(BaseObject input)
Specifies a BaseObject as the active object in the current analytic workspace so that the action specified by the AWAction applies to the BaseObject.
Parameters:
input - The BaseObject to which you want the action to apply.

getActiveObject

public BaseObject getActiveObject()
Gets the Analytic Workspace Java API object to which the action specified by the AWAction applies.
Returns:
The BaseObject to which the action applies.

WriteToXML

public java.lang.String WriteToXML()
Gets an XML representation of the AWAction.
Returns:
A String that is an XML representation of the AWAction.

Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.