Skip navigation links


com.essbase.eas.essbase.ui.calcscript
Class CalcEditorRequestHelper

java.lang.Object
  extended by com.essbase.eas.essbase.ui.calcscript.CalcEditorRequestHelper


public class CalcEditorRequestHelper
extends java.lang.Object

Helper class for routing calculation editor requests.

Since:
6.5.1
Version:
6.5.4
Author:
Madhavi Bolisetty

Field Summary
static java.lang.String CALCERRORTITLE_KEY
           
static java.lang.String CALCSCRIPTBGPROCESSID_KEY
           
static java.lang.String CALCSCRIPTFAILEDREAD_KEY
           
static java.lang.String CALCSCRIPTMESSAGEEXECUTIONBGMESSAGE_KEY
           
static java.lang.String CALCSCRIPTMESSAGEEXECUTIONFAILURE_KEY
           
static java.lang.String CALCSCRIPTMESSAGEEXECUTIONSTATUSTITLE_KEY
           
static java.lang.String INSUFFICIENTPRIVMESSAGE_KEY
           
static java.lang.String OBJECTNAMETOOLINGMESSAGE_KEY
           
static java.lang.String OPENCALCSCRIPTWITHOUTLOCK_KEY
           
static java.lang.String SAVEERROR_KEY
           
static java.lang.String TOOLONGFILENAMEMESSAGE_KEY
           
static java.lang.String WANTTOSAVEQUESTION_KEY
           

 

Method Summary
static int doSave(CalcEditorFrame parent)
           
static boolean executeCalcScript(Database db, java.lang.String scriptName, boolean background, boolean showError)
           
static Application[] getApplications(Server server)
          retrieves a list of applications for a specific server.
static DefaultCalcScript[] getCalcScripts(Application app, Database db)
          returns an array of calc script objects.
static java.lang.String getCorrectCalcString(Server server, java.lang.String calc)
           
static Database[] getDatabases(Application app)
          requests the list of databases from the Tomcat server and creates database objects for them.
static boolean isASOCalcLocked(Server server, java.lang.String appname, java.lang.String dbname, DefaultCalcScript script)
           
static boolean isLocked(Server server, DefaultCalcScript script)
           
static boolean isSuccessful(java.util.List msgList, java.lang.Object obj)
           
static java.lang.String requestASOViewsAsCalc(java.lang.String server, java.lang.String app, java.lang.String db, java.lang.String calc)
           
static java.lang.String requestCalcObject(AssociatedObject associatedObj, CalcEditorFrame parent)
           
static java.lang.String requestCalcObject(DefaultCalcScript calcScript, CalcEditorFrame parent)
           
static java.lang.String requestCalcObject(DefaultCalcScript calcScript, CalcEditorFrame parent, boolean header)
           
static java.util.List requestDatabaseAliasesList(java.lang.Object obj)
          fulfills the request to get a list of members.
static boolean requestExecuteString(java.lang.String svrName, java.lang.String appName, java.lang.String dbName, boolean background, java.lang.String calcString)
           
static boolean requestSaveViewsAsCalc(java.lang.String server, java.lang.String app, java.lang.String db, java.lang.String calcName, java.lang.String calcContents)
           
static boolean requestUpdate(java.lang.Object obj, java.lang.String calcContents, short encoding, java.lang.String locale)
           
static CommandStatus requestVerify(java.lang.Object obj, java.lang.String text, java.util.List msgList)
           

 

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

 

Field Detail

OPENCALCSCRIPTWITHOUTLOCK_KEY

public static final java.lang.String OPENCALCSCRIPTWITHOUTLOCK_KEY
See Also:
Constant Field Values

CALCERRORTITLE_KEY

public static final java.lang.String CALCERRORTITLE_KEY
See Also:
Constant Field Values

INSUFFICIENTPRIVMESSAGE_KEY

public static final java.lang.String INSUFFICIENTPRIVMESSAGE_KEY
See Also:
Constant Field Values

CALCSCRIPTFAILEDREAD_KEY

public static final java.lang.String CALCSCRIPTFAILEDREAD_KEY
See Also:
Constant Field Values

TOOLONGFILENAMEMESSAGE_KEY

public static final java.lang.String TOOLONGFILENAMEMESSAGE_KEY
See Also:
Constant Field Values

SAVEERROR_KEY

public static final java.lang.String SAVEERROR_KEY
See Also:
Constant Field Values

OBJECTNAMETOOLINGMESSAGE_KEY

public static final java.lang.String OBJECTNAMETOOLINGMESSAGE_KEY
See Also:
Constant Field Values

CALCSCRIPTMESSAGEEXECUTIONSTATUSTITLE_KEY

public static final java.lang.String CALCSCRIPTMESSAGEEXECUTIONSTATUSTITLE_KEY
See Also:
Constant Field Values

CALCSCRIPTMESSAGEEXECUTIONBGMESSAGE_KEY

public static final java.lang.String CALCSCRIPTMESSAGEEXECUTIONBGMESSAGE_KEY
See Also:
Constant Field Values

CALCSCRIPTBGPROCESSID_KEY

public static final java.lang.String CALCSCRIPTBGPROCESSID_KEY
See Also:
Constant Field Values

CALCSCRIPTMESSAGEEXECUTIONFAILURE_KEY

public static final java.lang.String CALCSCRIPTMESSAGEEXECUTIONFAILURE_KEY
See Also:
Constant Field Values

WANTTOSAVEQUESTION_KEY

public static final java.lang.String WANTTOSAVEQUESTION_KEY
See Also:
Constant Field Values

Method Detail

requestDatabaseAliasesList

public static java.util.List requestDatabaseAliasesList(java.lang.Object obj)
fulfills the request to get a list of members. Formats and transmits this request to the Tomcat server.

requestSaveViewsAsCalc

public static boolean requestSaveViewsAsCalc(java.lang.String server,
                                             java.lang.String app,
                                             java.lang.String db,
                                             java.lang.String calcName,
                                             java.lang.String calcContents)

requestCalcObject

public static java.lang.String requestCalcObject(AssociatedObject associatedObj,
                                                 CalcEditorFrame parent)

requestCalcObject

public static java.lang.String requestCalcObject(DefaultCalcScript calcScript,
                                                 CalcEditorFrame parent)

requestCalcObject

public static java.lang.String requestCalcObject(DefaultCalcScript calcScript,
                                                 CalcEditorFrame parent,
                                                 boolean header)

requestVerify

public static CommandStatus requestVerify(java.lang.Object obj,
                                          java.lang.String text,
                                          java.util.List msgList)

requestUpdate

public static boolean requestUpdate(java.lang.Object obj,
                                    java.lang.String calcContents,
                                    short encoding,
                                    java.lang.String locale)

getDatabases

public static Database[] getDatabases(Application app)
requests the list of databases from the Tomcat server and creates database objects for them.

getApplications

public static Application[] getApplications(Server server)
retrieves a list of applications for a specific server.

getCalcScripts

public static DefaultCalcScript[] getCalcScripts(Application app,
                                                 Database db)
returns an array of calc script objects.

isSuccessful

public static boolean isSuccessful(java.util.List msgList,
                                   java.lang.Object obj)

doSave

public static int doSave(CalcEditorFrame parent)

requestExecuteString

public static boolean requestExecuteString(java.lang.String svrName,
                                           java.lang.String appName,
                                           java.lang.String dbName,
                                           boolean background,
                                           java.lang.String calcString)

requestASOViewsAsCalc

public static java.lang.String requestASOViewsAsCalc(java.lang.String server,
                                                     java.lang.String app,
                                                     java.lang.String db,
                                                     java.lang.String calc)

getCorrectCalcString

public static java.lang.String getCorrectCalcString(Server server,
                                                    java.lang.String calc)

isASOCalcLocked

public static boolean isASOCalcLocked(Server server,
                                      java.lang.String appname,
                                      java.lang.String dbname,
                                      DefaultCalcScript script)

isLocked

public static boolean isLocked(Server server,
                               DefaultCalcScript script)

executeCalcScript

public static boolean executeCalcScript(Database db,
                                        java.lang.String scriptName,
                                        boolean background,
                                        boolean showError)

Skip navigation links


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