Skip navigation links


com.essbase.eas.essbase.ui.wizards.aggregation
Class AggregateDesignWizardLogic

java.lang.Object
  extended by com.essbase.eas.essbase.ui.wizards.aggregation.AggregateDesignWizardLogic

Direct Known Subclasses:
AggregateDesignWizard711Logic

public class AggregateDesignWizardLogic
extends java.lang.Object

Title: Description: Copyright: Copyright (c) 2003 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Field Summary
protected  boolean aborted
           
protected  double aggSize
           
protected  java.lang.String app
           
protected  boolean basedOnQueryData
           
protected static java.lang.String BASEDONQUERYDATA
           
protected  boolean cubeInfoRetrieved
           
protected  java.lang.String db
           
protected  Database dbObject
           
protected  LevelInformation[] dimLevels
           
protected  java.lang.String firstError
           
protected  double inputSize
           
protected  java.util.ArrayList listeners
           
protected  short newDesignChoice
           
protected  java.lang.String outlineID
           
protected  boolean queryTracked
           
protected  int resCount
           
protected  java.util.ResourceBundle resources
           
protected  java.lang.String secondError
           
protected  java.lang.String server
           
protected  double storageToUse
           
protected  java.util.Vector viewSelection
           

 

Constructor Summary
AggregateDesignWizardLogic(Database db)
           

 

Method Summary
 void addListener(LogicListener listener)
           
protected  void addView(LevelView view)
           
protected  LevelView addView(MaxLCommand maxl, int row)
           
 boolean deletCalcScript(java.lang.String calcScript)
           
 void dispose()
           
 boolean doesCubeHasData()
           
 boolean doesCubeHasData(MaxLCommand command)
           
 void dropExistingViews()
           
 java.lang.String executeAggregation(boolean bground)
           
 java.lang.String executeAggregation(java.lang.String calcScript, boolean background)
           
 java.lang.String executeAggregationScenario(java.lang.String calcScript, boolean bground)
           
 java.lang.String fastTrackAggregation(boolean bground)
           
 boolean findDimsLevels()
           
protected  void firePropertyChange(java.lang.Object key, java.lang.Object val)
           
protected  void fireViewAdded(LevelView view)
           
protected  void fireViewsRemoved()
           
 boolean firstTimeAggregation()
           
 java.lang.String formMaxlCommandString()
           
 java.lang.String formMaxlCommandString(int viewSize, boolean includeSize)
           
 double getAggregateSize()
           
 java.lang.String getAppName()
           
 Database getDatabase()
           
 java.lang.String getDbName()
           
 short getDesignChoice()
           
 LevelInformation[] getDimsLevels()
           
protected  java.lang.String getErrorText(MaxLCommand maxl, java.lang.StringBuffer buf)
           
protected  void getExistingViewData(MaxLCommand maxl, boolean savedViews)
           
 boolean getExistingViews(boolean savedViews)
           
 boolean getExistingViews(boolean savedViews, MaxLCommand maxl)
           
 java.lang.String getFirstError()
           
 double getInputSize()
           
 java.lang.String getOutlineID()
           
 int getResCount()
           
 java.lang.String[] getSavedAggNames()
           
 java.lang.String[] getSavedScenarios()
           
 java.lang.String getSecondError()
           
 java.lang.String getServerName()
           
 java.lang.String getString(java.lang.String key)
           
 int getTotalSelectedViews()
           
 int getTotalViews()
           
 java.lang.String getViewsSelectedAsCommand()
           
 boolean hasExistingViews()
           
 boolean isAborted()
           
 boolean isQueryTrackingEnabled()
           
protected  void queryCubeInfo()
           
 void removeAllViews()
           
 void removeListener(LogicListener listener)
           
 boolean renameCalcScript(java.lang.String calcScript, java.lang.String newName)
           
 void reset()
           
 void resetStorage()
           
 java.lang.String saveAggregates(java.lang.String viewName, java.lang.String aggs)
           
 boolean saveCalcScript(java.lang.String calcName)
           
 boolean secondTimeAggregation(int cmdCount)
           
 void setAborted(boolean aborted)
           
 void setBasedOnQueryData(boolean enable)
           
 void setDesignChoice(short choice)
           
 void setStorage(double size)
           
 boolean unlockCalcScript(java.lang.String calcScript)
           
protected  void updateOutlineID(MaxLCommand maxl)
           
protected  void updateViewSelectionResult(MaxLCommand maxl)
           

 

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

 

Field Detail

app

protected java.lang.String app

db

protected java.lang.String db

server

protected java.lang.String server

outlineID

protected java.lang.String outlineID

dimLevels

protected LevelInformation[] dimLevels

viewSelection

protected java.util.Vector viewSelection

resCount

protected int resCount

firstError

protected java.lang.String firstError

secondError

protected java.lang.String secondError

dbObject

protected Database dbObject

resources

protected java.util.ResourceBundle resources

basedOnQueryData

protected boolean basedOnQueryData

cubeInfoRetrieved

protected boolean cubeInfoRetrieved

queryTracked

protected boolean queryTracked

inputSize

protected double inputSize

aggSize

protected double aggSize

storageToUse

protected double storageToUse

listeners

protected java.util.ArrayList listeners

newDesignChoice

protected short newDesignChoice

aborted

protected boolean aborted

BASEDONQUERYDATA

protected static java.lang.String BASEDONQUERYDATA

Constructor Detail

AggregateDesignWizardLogic

public AggregateDesignWizardLogic(Database db)

Method Detail

reset

public void reset()

removeAllViews

public void removeAllViews()

addView

protected void addView(LevelView view)

findDimsLevels

public boolean findDimsLevels()

getDimsLevels

public LevelInformation[] getDimsLevels()

getTotalViews

public int getTotalViews()

getTotalSelectedViews

public int getTotalSelectedViews()

getOutlineID

public java.lang.String getOutlineID()

getResCount

public int getResCount()

hasExistingViews

public boolean hasExistingViews()

getExistingViews

public boolean getExistingViews(boolean savedViews)

getExistingViews

public boolean getExistingViews(boolean savedViews,
                                MaxLCommand maxl)

doesCubeHasData

public boolean doesCubeHasData()

doesCubeHasData

public boolean doesCubeHasData(MaxLCommand command)

getExistingViewData

protected void getExistingViewData(MaxLCommand maxl,
                                   boolean savedViews)

dropExistingViews

public void dropExistingViews()

executeAggregation

public java.lang.String executeAggregation(boolean bground)

executeAggregationScenario

public java.lang.String executeAggregationScenario(java.lang.String calcScript,
                                                   boolean bground)

getErrorText

protected java.lang.String getErrorText(MaxLCommand maxl,
                                        java.lang.StringBuffer buf)

fastTrackAggregation

public java.lang.String fastTrackAggregation(boolean bground)

getViewsSelectedAsCommand

public java.lang.String getViewsSelectedAsCommand()

firstTimeAggregation

public boolean firstTimeAggregation()

updateViewSelectionResult

protected void updateViewSelectionResult(MaxLCommand maxl)

getFirstError

public java.lang.String getFirstError()

updateOutlineID

protected void updateOutlineID(MaxLCommand maxl)

addView

protected LevelView addView(MaxLCommand maxl,
                            int row)

secondTimeAggregation

public boolean secondTimeAggregation(int cmdCount)
                              throws java.lang.Exception
Throws:
java.lang.Exception

getSecondError

public java.lang.String getSecondError()

getString

public java.lang.String getString(java.lang.String key)

formMaxlCommandString

public java.lang.String formMaxlCommandString(int viewSize,
                                              boolean includeSize)

formMaxlCommandString

public java.lang.String formMaxlCommandString()

saveAggregates

public java.lang.String saveAggregates(java.lang.String viewName,
                                       java.lang.String aggs)

getSavedScenarios

public java.lang.String[] getSavedScenarios()

unlockCalcScript

public boolean unlockCalcScript(java.lang.String calcScript)

renameCalcScript

public boolean renameCalcScript(java.lang.String calcScript,
                                java.lang.String newName)

deletCalcScript

public boolean deletCalcScript(java.lang.String calcScript)

executeAggregation

public java.lang.String executeAggregation(java.lang.String calcScript,
                                           boolean background)

getSavedAggNames

public java.lang.String[] getSavedAggNames()

saveCalcScript

public boolean saveCalcScript(java.lang.String calcName)

getDbName

public java.lang.String getDbName()

getAppName

public java.lang.String getAppName()

getServerName

public java.lang.String getServerName()

getDatabase

public Database getDatabase()

setBasedOnQueryData

public void setBasedOnQueryData(boolean enable)

queryCubeInfo

protected void queryCubeInfo()

isQueryTrackingEnabled

public boolean isQueryTrackingEnabled()

getInputSize

public double getInputSize()

getAggregateSize

public double getAggregateSize()

firePropertyChange

protected void firePropertyChange(java.lang.Object key,
                                  java.lang.Object val)

fireViewsRemoved

protected void fireViewsRemoved()

fireViewAdded

protected void fireViewAdded(LevelView view)

addListener

public void addListener(LogicListener listener)

removeListener

public void removeListener(LogicListener listener)

resetStorage

public void resetStorage()

setStorage

public void setStorage(double size)

setDesignChoice

public void setDesignChoice(short choice)

getDesignChoice

public short getDesignChoice()

setAborted

public void setAborted(boolean aborted)

isAborted

public boolean isAborted()

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.