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

B14351-01

oracle.AWAction
Class Commit

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

public class Commit
extends AWAction

Commits the changes to an analytic workspace.


Constructor Summary
Commit(Interaction input)
Creates a Commit action object in the specified Interaction.

Method Summary
void Execute()
Commits the analytic workspace.
java.lang.String getAWName()
Returns the name of the analytic workspace.
void setActiveObject(BaseObject input)
Makes the specified analytic workspace the active object.
void setAWName(java.lang.String input)
Makes the named analytic workspace the active object.
java.lang.String WriteToXML()
Gets an XML representation of the Commit object.

Methods inherited from class oracle.AWAction.AWAction
getActiveObject, getOwner, setOwner

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

Constructor Detail

Commit

public Commit(Interaction input)
Creates a Commit action object in the specified Interaction.
Parameters:
input - The Interaction that owns the Commit object.

Method Detail

setActiveObject

public void setActiveObject(BaseObject input)
Makes the specified analytic workspace the active object.

You can specify the analytic workspace to be committed by making it the active object or by providing its name to the SetAWName method. An active object takes precedence over an object that you specify by name.

Overrides:
setActiveObject in class AWAction
Parameters:
input - The AW to commit.

setAWName

public void setAWName(java.lang.String input)
Makes the named analytic workspace the active object.

You can specify the analytic workspace to be committed by providing its name or by making it the active object with the SetActiveObject method. An active object takes precedence over an object that you specify by name.

Parameters:
input - The name of the analytic workspace to commit.

getAWName

public java.lang.String getAWName()
Returns the name of the analytic workspace.
Returns:
The name of the analytic workspace to commit.

Execute

public void Execute()
Commits the analytic workspace.
Overrides:
Execute in class AWAction

WriteToXML

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

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

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.