Skip navigation links


com.essbase.eas.essbase.ui
Class DataPrepRequestHelper

java.lang.Object
  extended by com.essbase.eas.essbase.ui.DataPrepRequestHelper


public class DataPrepRequestHelper
extends java.lang.Object

Helper class for routing data prep editor requests.

Since:
6.5.1
Version:
6.5.4
Author:
Madhavi Bolisetty

Method Summary
static boolean doRulesFileRename(DefaultRulesObject sourceObj, java.lang.String newName)
           
static int getFileType(java.io.File file)
           
static java.util.ArrayList getServerDateFormats(DPAssociatedObject associatedObj)
           
static java.util.List readDataFile(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, DPAssociatedObject associatedObj, java.io.File file, short recordViewCount)
           
static java.lang.String readDBHeaderRecord(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, DPAssociatedObject associatedObj, java.io.File file)
           
static java.lang.String readDLHeaderRecord(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, DPAssociatedObject associatedObj, java.io.File file)
           
static java.lang.String readHeaderRecord(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, DPAssociatedObject associatedObj, java.io.File file)
           
static RulesObject readRulesObject(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjName, boolean isLocked, java.io.File file, DataPrepEditorFrame parent)
           
static int readSQLData(DPSqlConnectionInfo sqlConnectionInfo, int startRecord, short recordViewCount, java.util.ArrayList colNameList, java.util.ArrayList dataRecordList)
           
static void requestAllRulesCopy(Application srcApp, Database srcDb, Application destApp, Database destDb)
           
static void requestAllRulesCopy(Application srcApp, Database srcDb, Application destApp, Database destDb, boolean replace)
           
static int requestApplyDelimiter(java.util.ArrayList dpRecordList, DPAssociatedObject associatedObj, java.lang.String serverName)
           
static java.util.ArrayList requestApplyFieldAttributes(java.util.ArrayList dpRecordList, DPAssociatedObject associatedObj, java.lang.String serverName)
           
static int requestApplyRules(java.util.ArrayList dpRecordList, java.util.ArrayList rulesList, DPAssociatedObject associatedObj, java.lang.String serverName)
           
static boolean requestCleanupSession(long context, java.lang.String dataFileName)
           
static boolean requestCopy(Application srcApp, Database srcDb, java.lang.Object srcFile, Application destApp, Database destDb, java.lang.Object destFile, boolean overWrite)
          fulfulls the request to copy a rules object.
static void requestCopy(java.lang.Object obj)
          fulfulls the request to copy a rules object.
static void requestCopy(java.lang.Object userObject, java.lang.String destServer, java.lang.String destAppName, java.lang.String destDbName)
           
static void requestCreate(java.lang.Object obj)
          fulfulls the request to create a rules object.
static java.util.ArrayList requestCreateFieldsFromRecords(java.util.ArrayList dpRecordList, DPAssociatedObject associatedObj, java.lang.String serverName)
           
static java.util.List requestDatabaseAliasesList(java.lang.Object obj)
           
static void requestDatabaseUniqueStatus(DPAssociatedObject associatedObj)
           
static void requestDelete(java.lang.Object obj)
          fulfulls the request to delete a rules object.
static java.util.List requestDSNList(java.lang.String serverName)
           
static void requestEdit(java.lang.Object obj)
          fulfills the request to edit a rules obejct.
static boolean requestEncodingInfo(long context, RulesObject rulesObject)
           
static void requestExecute(java.lang.Object obj)
          fulfulls the request to execute a rules object.
static boolean requestFreeLocalContext(long localContextHandle)
           
static boolean requestFreeRulesFileContext(long context)
           
static int requestLock(java.lang.Object obj)
          fulfulls the request to lock a rules object.
static java.util.List requestMemberList(DPAssociatedObject associatedObj, java.lang.String mbrName, boolean useAliases, java.lang.String aliasTable)
          fulfills the request to get a list of members.
static void requestParseDBHeader(DPAssociatedObject associatedObj, java.lang.String serverName)
           
static void requestProperties(java.lang.Object obj)
          fulfulls the request to display the properties of a rules object.
static void requestRename(java.lang.Object obj)
          fulfulls the request to rename a rules object.
static boolean requestUnlock(java.lang.Object obj)
          fulfulls the request to unlock a rules object.
static CommandStatus requestVerify(java.util.ResourceBundle resources, DPAssociatedObject associatedObj, java.util.ArrayList results)
           
static boolean saveRulesObject(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjName, java.io.File file, DPAssociatedObject associatedObject)
           
static boolean saveRulesObject(java.lang.String serverName, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjName, java.io.File file, DPAssociatedObject associatedObject, java.lang.String locale)
           

 

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

 

Method Detail

requestEdit

public static void requestEdit(java.lang.Object obj)
fulfills the request to edit a rules obejct. Formats and transmits this request to the Tomcat server. Creates an instance of and displays a data prep editor frame.

requestExecute

public static void requestExecute(java.lang.Object obj)
fulfulls the request to execute a rules object. Formats and transmits this request to the Tomcat server.

requestCreate

public static void requestCreate(java.lang.Object obj)
fulfulls the request to create a rules object.

requestProperties

public static void requestProperties(java.lang.Object obj)
fulfulls the request to display the properties of a rules object. Formats and transmits this request to the Tomcat server. Creates a dialog and displays the properties returned from the server.

requestCopy

public static void requestCopy(java.lang.Object obj)
fulfulls the request to copy a rules object.

requestCopy

public static boolean requestCopy(Application srcApp,
                                  Database srcDb,
                                  java.lang.Object srcFile,
                                  Application destApp,
                                  Database destDb,
                                  java.lang.Object destFile,
                                  boolean overWrite)
fulfulls the request to copy a rules object.

requestAllRulesCopy

public static void requestAllRulesCopy(Application srcApp,
                                       Database srcDb,
                                       Application destApp,
                                       Database destDb)

requestAllRulesCopy

public static void requestAllRulesCopy(Application srcApp,
                                       Database srcDb,
                                       Application destApp,
                                       Database destDb,
                                       boolean replace)

requestCopy

public static void requestCopy(java.lang.Object userObject,
                               java.lang.String destServer,
                               java.lang.String destAppName,
                               java.lang.String destDbName)

requestRename

public static void requestRename(java.lang.Object obj)
fulfulls the request to rename a rules object.

requestLock

public static int requestLock(java.lang.Object obj)
fulfulls the request to lock a rules object. Formats and transmits this request to the Tomcat server.

requestUnlock

public static boolean requestUnlock(java.lang.Object obj)
fulfulls the request to unlock a rules object. Formats and transmits this request to the Tomcat server.

requestDelete

public static void requestDelete(java.lang.Object obj)
fulfulls the request to delete a rules object. Formats and transmits this request to the Tomcat server.

readRulesObject

public static RulesObject readRulesObject(java.lang.String serverName,
                                          java.lang.String appName,
                                          java.lang.String dbName,
                                          java.lang.String rulesObjName,
                                          boolean isLocked,
                                          java.io.File file,
                                          DataPrepEditorFrame parent)

requestMemberList

public static java.util.List requestMemberList(DPAssociatedObject associatedObj,
                                               java.lang.String mbrName,
                                               boolean useAliases,
                                               java.lang.String aliasTable)
fulfills the request to get a list of members. Formats and transmits this request to the Tomcat server.

readDataFile

public static java.util.List readDataFile(java.lang.String serverName,
                                          java.lang.String appName,
                                          java.lang.String dbName,
                                          DPAssociatedObject associatedObj,
                                          java.io.File file,
                                          short recordViewCount)

readHeaderRecord

public static java.lang.String readHeaderRecord(java.lang.String serverName,
                                                java.lang.String appName,
                                                java.lang.String dbName,
                                                DPAssociatedObject associatedObj,
                                                java.io.File file)

readDLHeaderRecord

public static java.lang.String readDLHeaderRecord(java.lang.String serverName,
                                                  java.lang.String appName,
                                                  java.lang.String dbName,
                                                  DPAssociatedObject associatedObj,
                                                  java.io.File file)

readDBHeaderRecord

public static java.lang.String readDBHeaderRecord(java.lang.String serverName,
                                                  java.lang.String appName,
                                                  java.lang.String dbName,
                                                  DPAssociatedObject associatedObj,
                                                  java.io.File file)

requestApplyRules

public static int requestApplyRules(java.util.ArrayList dpRecordList,
                                    java.util.ArrayList rulesList,
                                    DPAssociatedObject associatedObj,
                                    java.lang.String serverName)

requestApplyDelimiter

public static int requestApplyDelimiter(java.util.ArrayList dpRecordList,
                                        DPAssociatedObject associatedObj,
                                        java.lang.String serverName)

requestApplyFieldAttributes

public static java.util.ArrayList requestApplyFieldAttributes(java.util.ArrayList dpRecordList,
                                                              DPAssociatedObject associatedObj,
                                                              java.lang.String serverName)

requestParseDBHeader

public static void requestParseDBHeader(DPAssociatedObject associatedObj,
                                        java.lang.String serverName)

requestVerify

public static CommandStatus requestVerify(java.util.ResourceBundle resources,
                                          DPAssociatedObject associatedObj,
                                          java.util.ArrayList results)

requestDatabaseAliasesList

public static java.util.List requestDatabaseAliasesList(java.lang.Object obj)

saveRulesObject

public static boolean saveRulesObject(java.lang.String serverName,
                                      java.lang.String appName,
                                      java.lang.String dbName,
                                      java.lang.String rulesObjName,
                                      java.io.File file,
                                      DPAssociatedObject associatedObject)

saveRulesObject

public static boolean saveRulesObject(java.lang.String serverName,
                                      java.lang.String appName,
                                      java.lang.String dbName,
                                      java.lang.String rulesObjName,
                                      java.io.File file,
                                      DPAssociatedObject associatedObject,
                                      java.lang.String locale)

requestDSNList

public static java.util.List requestDSNList(java.lang.String serverName)

readSQLData

public static int readSQLData(DPSqlConnectionInfo sqlConnectionInfo,
                              int startRecord,
                              short recordViewCount,
                              java.util.ArrayList colNameList,
                              java.util.ArrayList dataRecordList)

getFileType

public static int getFileType(java.io.File file)

doRulesFileRename

public static boolean doRulesFileRename(DefaultRulesObject sourceObj,
                                        java.lang.String newName)

requestCreateFieldsFromRecords

public static java.util.ArrayList requestCreateFieldsFromRecords(java.util.ArrayList dpRecordList,
                                                                 DPAssociatedObject associatedObj,
                                                                 java.lang.String serverName)

requestFreeRulesFileContext

public static boolean requestFreeRulesFileContext(long context)

requestCleanupSession

public static boolean requestCleanupSession(long context,
                                            java.lang.String dataFileName)

requestEncodingInfo

public static boolean requestEncodingInfo(long context,
                                          RulesObject rulesObject)

requestDatabaseUniqueStatus

public static void requestDatabaseUniqueStatus(DPAssociatedObject associatedObj)

getServerDateFormats

public static java.util.ArrayList getServerDateFormats(DPAssociatedObject associatedObj)

requestFreeLocalContext

public static boolean requestFreeLocalContext(long localContextHandle)

Skip navigation links


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