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

B12180-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.

See Also:
AWAction

Fields inherited from class oracle.AWAction.AWAction
m_activeObject, m_Id, m_owner, s_actionCounter, s_EndElementTag, s_EndEndTag, s_EndStartTag, s_EndTag, s_Indent, s_JAVA_LINEEND, s_NEWLINE, s_StartEndTag, s_StartStartTag

 

Constructor Summary
Commit(Interaction input)
          Constructor for a Commit action.

 

Method Summary
 void Execute()
          Executes a Commit.
 java.lang.String getAWName()
          Returns the name of the analytic workspace
 void setActiveObject(BaseObject input)
          Makes an analytic workspace the active object.
 void setAWName(java.lang.String input)
          Sets the name of the analytic workspace.
 java.lang.String WriteToXML()
          Returns the object as an XML string.

 

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)
Constructor for a Commit action. Creates a new Commit action in the specified Interaction.
Parameters:
input - Interaction
Method Detail

setActiveObject

public void setActiveObject(BaseObject input)
Makes an 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 - BaseObject that is an AW object

setAWName

public void setAWName(java.lang.String input)
Sets the name of the analytic workspace. 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 - String containing the name of the analytic workspace.

getAWName

public java.lang.String getAWName()
Returns the name of the analytic workspace
Returns:
String containing the name of the analytic workspace.

Execute

public void Execute()
Executes a Commit.
Overrides:
Execute in class AWAction

WriteToXML

public java.lang.String WriteToXML()
Returns the object as an XML string.
Overrides:
WriteToXML in class AWAction
Returns:
A String containing the XML that represents the object.

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

B12180-01

Copyright © 2003, Oracle. All Rights Reserved.