Skip navigation links


com.essbase.eas.essbase.ui
Class MaxLCommand

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


public class MaxLCommand
extends java.lang.Object
Since:
6.2.0
Version:
6.5.3
Author:
Sree Menon

Nested Class Summary
static class MaxLCommand.ServerDisconnect
           

 

Field Summary
static int EXPORT
           
static int EXPORT_LRO
           
static int IMPORT
           
static int MAXL_ERROR
           
static int MAXL_INFORMATION
           
static int MAXL_WARNING
           
static int SHOW_ERROR
           
static int SHOW_INFORMATION
           
static int SHOW_WARNING
           

 

Constructor Summary
MaxLCommand()
           
MaxLCommand(boolean showError)
           
MaxLCommand(boolean showErrors, boolean background)
           

 

Method Summary
 void dispose()
           
 void downloadFiles()
           
 boolean execute(Application app, java.lang.String command)
           
 boolean execute(Database db, java.lang.String command)
           
 boolean execute(java.util.Properties params, java.lang.String command)
           
 boolean execute(Server server, java.lang.String command)
           
 boolean execute(java.lang.String server, java.lang.String command)
           
 boolean execute(java.lang.String user, java.lang.String pwd, java.lang.String server, java.lang.String command)
           
 boolean execute(java.lang.String user, java.lang.String pwd, java.lang.String server, java.lang.String command, java.util.Properties archiveParams)
           
static java.lang.String executeBackground(java.lang.String server, java.lang.String command)
           
static java.lang.String executeBackground(java.lang.String server, java.lang.String title, java.lang.String command)
           
static java.lang.String executeBackground(java.lang.String server, java.lang.String title, java.lang.String command, java.util.Properties archiveParams)
           
 boolean executeDBCommand(java.lang.String command)
          This is to execute a SQL command against the MYSQL database
 void fixMessageList()
           
 java.util.List<XMLTransferMessage> getErrorMsgList()
           
 void getFileDoesNotExistError(java.lang.String finalVal)
           
 int getMaxLMessages(int msgTypes, java.util.List list)
          Message Types can be a combination of the following SHOW_ERROR,SHOW_WARNING,SHOW_INFORMATION
 java.util.List getMsgList()
           
 java.lang.String[] getOutputFiles()
           
static java.lang.StringBuffer getOutputFilesText(java.lang.StringBuffer buf, java.util.List list)
           
 MaxlResultListModel getResult()
           
 int getRowCount()
           
static java.lang.StringBuffer getUploadFilesText(java.lang.StringBuffer buf, java.util.List list)
           
 java.lang.Object getValue(int row, int col)
           
 boolean hasError()
           
 boolean hasExecuteError()
           
static boolean isOutputRedirected()
           
static boolean killActiveRequest(java.lang.String server)
           
 java.lang.String parseCommandForFiles(java.lang.String cmd)
           
 boolean parseExecute(java.lang.String server, java.lang.String cmd)
           
 boolean parseExecute(java.lang.String server, java.lang.String user, java.lang.String pwd, java.lang.String cmd)
           
 void setCommandString(java.lang.String cmd)
           
 void setDisposeModel(boolean dispose)
           
 void setFileList(java.lang.String fileList)
           
 void setFileList(java.lang.StringBuffer buf)
           
static boolean setKillRequest(java.lang.String server)
           
static void setOutputRedirected(boolean redirected)
           
 void showError()
           
 void showError(java.lang.String title)
           
 void showErrors()
           
 void showErrors(java.util.List messages)
           

 

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

 

Field Detail

MAXL_ERROR

public static final int MAXL_ERROR
See Also:
Constant Field Values

MAXL_WARNING

public static final int MAXL_WARNING
See Also:
Constant Field Values

MAXL_INFORMATION

public static final int MAXL_INFORMATION
See Also:
Constant Field Values

SHOW_ERROR

public static final int SHOW_ERROR
See Also:
Constant Field Values

SHOW_WARNING

public static final int SHOW_WARNING
See Also:
Constant Field Values

SHOW_INFORMATION

public static final int SHOW_INFORMATION
See Also:
Constant Field Values

IMPORT

public static final int IMPORT
See Also:
Constant Field Values

EXPORT

public static final int EXPORT
See Also:
Constant Field Values

EXPORT_LRO

public static final int EXPORT_LRO
See Also:
Constant Field Values

Constructor Detail

MaxLCommand

public MaxLCommand()

MaxLCommand

public MaxLCommand(boolean showErrors,
                   boolean background)

MaxLCommand

public MaxLCommand(boolean showError)

Method Detail

isOutputRedirected

public static boolean isOutputRedirected()

setOutputRedirected

public static void setOutputRedirected(boolean redirected)

setDisposeModel

public void setDisposeModel(boolean dispose)

setFileList

public void setFileList(java.lang.StringBuffer buf)

setFileList

public void setFileList(java.lang.String fileList)

execute

public boolean execute(Database db,
                       java.lang.String command)

execute

public boolean execute(Application app,
                       java.lang.String command)

execute

public boolean execute(Server server,
                       java.lang.String command)

execute

public boolean execute(java.lang.String user,
                       java.lang.String pwd,
                       java.lang.String server,
                       java.lang.String command)

execute

public boolean execute(java.lang.String user,
                       java.lang.String pwd,
                       java.lang.String server,
                       java.lang.String command,
                       java.util.Properties archiveParams)

execute

public boolean execute(java.lang.String server,
                       java.lang.String command)

executeBackground

public static java.lang.String executeBackground(java.lang.String server,
                                                 java.lang.String command)

executeDBCommand

public boolean executeDBCommand(java.lang.String command)
This is to execute a SQL command against the MYSQL database
Parameters:
command -
Returns:

executeBackground

public static java.lang.String executeBackground(java.lang.String server,
                                                 java.lang.String title,
                                                 java.lang.String command)

executeBackground

public static java.lang.String executeBackground(java.lang.String server,
                                                 java.lang.String title,
                                                 java.lang.String command,
                                                 java.util.Properties archiveParams)

execute

public boolean execute(java.util.Properties params,
                       java.lang.String command)

killActiveRequest

public static boolean killActiveRequest(java.lang.String server)

getResult

public MaxlResultListModel getResult()

getMsgList

public java.util.List getMsgList()

showErrors

public void showErrors()

showErrors

public void showErrors(java.util.List messages)

showError

public void showError()

showError

public void showError(java.lang.String title)

getErrorMsgList

public java.util.List<XMLTransferMessage> getErrorMsgList()

hasError

public boolean hasError()

setCommandString

public void setCommandString(java.lang.String cmd)

hasExecuteError

public boolean hasExecuteError()

getOutputFiles

public java.lang.String[] getOutputFiles()

getRowCount

public int getRowCount()

getValue

public java.lang.Object getValue(int row,
                                 int col)

getMaxLMessages

public int getMaxLMessages(int msgTypes,
                           java.util.List list)
Message Types can be a combination of the following SHOW_ERROR,SHOW_WARNING,SHOW_INFORMATION
Parameters:
msgTypes -
Returns:
the maxl level of the message MAXL_ERROR,MAXL_WARNING or MAXL_INFORMATION

getUploadFilesText

public static java.lang.StringBuffer getUploadFilesText(java.lang.StringBuffer buf,
                                                        java.util.List list)

getOutputFilesText

public static java.lang.StringBuffer getOutputFilesText(java.lang.StringBuffer buf,
                                                        java.util.List list)

parseCommandForFiles

public java.lang.String parseCommandForFiles(java.lang.String cmd)

fixMessageList

public void fixMessageList()

downloadFiles

public void downloadFiles()

parseExecute

public boolean parseExecute(java.lang.String server,
                            java.lang.String cmd)

parseExecute

public boolean parseExecute(java.lang.String server,
                            java.lang.String user,
                            java.lang.String pwd,
                            java.lang.String cmd)

dispose

public void dispose()

setKillRequest

public static boolean setKillRequest(java.lang.String server)

getFileDoesNotExistError

public void getFileDoesNotExistError(java.lang.String finalVal)

Skip navigation links


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