Skip navigation links


com.essbase.eas.essbase.ui
Class NamedObjectRequestHelper

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


public class NamedObjectRequestHelper
extends java.lang.Object

Helper class for routing file object requests.

Since:
6.5.1
Version:
6.5.4
Author:
Joe Fernandez

Field Summary
static int OBJECT_DELETED
           
static int OBJECT_LOCKED
           

 

Method Summary
static void displayMessages(java.util.Collection msgList, java.lang.String title, java.lang.String command)
           
static void displayMessages(XMLTransferMessage[] messages, java.lang.String title, java.lang.String command)
           
static boolean requestAllObjectsCopy(Database srcDb, Database destDb, NamedObjectType objType)
           
static boolean requestAllObjectsCopy(Database srcDb, Database destDb, NamedObjectType objType, boolean replace)
           
static boolean requestAllObjectsCopy(java.lang.String srcServer, java.lang.String srcApp, java.lang.String srcDb, java.lang.String destServer, java.lang.String destApp, java.lang.String destDb, NamedObjectType objType, boolean replace)
           
static boolean requestCopy(Database srcDb, java.lang.String srcObjectName, Database destDb, java.lang.String destObjectName, NamedObjectType objType)
           
static boolean requestCopy(Database srcDb, java.lang.String srcObjectName, Database destDb, java.lang.String destObjectName, NamedObjectType objType, boolean replace)
           
static boolean requestCopy(java.lang.String srcServer, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcObjectName, java.lang.String destServer, java.lang.String destApp, java.lang.String destDb, java.lang.String destObjectName, NamedObjectType objType, boolean replace)
           
static int requestDelete(java.lang.Object obj, boolean unlock)
          fulfulls the request to delete a named object.
static boolean requestGetObject(java.lang.String srcServer, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcObjectName, NamedObjectType objType, java.util.List objList)
           
static boolean requestList(java.lang.Object source, NamedObjectType type, java.util.List objectsList)
           
static boolean requestPutObject(java.lang.String server, java.lang.String app, java.lang.String db, NamedObjectType objType, java.lang.String objName, java.lang.String localName, boolean lock, boolean replace, boolean isLocal)
           
static boolean requestShowDeleteDialog(java.lang.Object obj)
          Handles the user interface for deleting a named object (file object).
static boolean requestUnlockObjects(java.lang.Object source, java.util.List lockedObjects)
           

 

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

 

Field Detail

OBJECT_DELETED

public static final int OBJECT_DELETED
See Also:
Constant Field Values

OBJECT_LOCKED

public static final int OBJECT_LOCKED
See Also:
Constant Field Values

Method Detail

requestShowDeleteDialog

public static boolean requestShowDeleteDialog(java.lang.Object obj)
Handles the user interface for deleting a named object (file object).
Parameters:
obj - A NamedObject to be deleted.
Returns:
Returns true only if object was sucessfully deleted. Returns false in all other cases.

requestDelete

public static int requestDelete(java.lang.Object obj,
                                boolean unlock)
fulfulls the request to delete a named object. Formats and transmits this request to the Tomcat server. Note: Does not remove the item from the Enterprise tree.

requestUnlockObjects

public static boolean requestUnlockObjects(java.lang.Object source,
                                           java.util.List lockedObjects)

requestList

public static boolean requestList(java.lang.Object source,
                                  NamedObjectType type,
                                  java.util.List objectsList)

displayMessages

public static void displayMessages(java.util.Collection msgList,
                                   java.lang.String title,
                                   java.lang.String command)

displayMessages

public static void displayMessages(XMLTransferMessage[] messages,
                                   java.lang.String title,
                                   java.lang.String command)

requestAllObjectsCopy

public static boolean requestAllObjectsCopy(Database srcDb,
                                            Database destDb,
                                            NamedObjectType objType)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

requestAllObjectsCopy

public static boolean requestAllObjectsCopy(Database srcDb,
                                            Database destDb,
                                            NamedObjectType objType,
                                            boolean replace)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

requestAllObjectsCopy

public static boolean requestAllObjectsCopy(java.lang.String srcServer,
                                            java.lang.String srcApp,
                                            java.lang.String srcDb,
                                            java.lang.String destServer,
                                            java.lang.String destApp,
                                            java.lang.String destDb,
                                            NamedObjectType objType,
                                            boolean replace)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

requestCopy

public static boolean requestCopy(Database srcDb,
                                  java.lang.String srcObjectName,
                                  Database destDb,
                                  java.lang.String destObjectName,
                                  NamedObjectType objType)
                           throws java.lang.Exception
Throws:
java.lang.Exception

requestCopy

public static boolean requestCopy(Database srcDb,
                                  java.lang.String srcObjectName,
                                  Database destDb,
                                  java.lang.String destObjectName,
                                  NamedObjectType objType,
                                  boolean replace)
                           throws java.lang.Exception
Throws:
java.lang.Exception

requestCopy

public static boolean requestCopy(java.lang.String srcServer,
                                  java.lang.String srcApp,
                                  java.lang.String srcDb,
                                  java.lang.String srcObjectName,
                                  java.lang.String destServer,
                                  java.lang.String destApp,
                                  java.lang.String destDb,
                                  java.lang.String destObjectName,
                                  NamedObjectType objType,
                                  boolean replace)
                           throws java.lang.Exception
Throws:
java.lang.Exception

requestGetObject

public static boolean requestGetObject(java.lang.String srcServer,
                                       java.lang.String srcApp,
                                       java.lang.String srcDb,
                                       java.lang.String srcObjectName,
                                       NamedObjectType objType,
                                       java.util.List objList)
                                throws java.lang.Exception
Throws:
java.lang.Exception

requestPutObject

public static boolean requestPutObject(java.lang.String server,
                                       java.lang.String app,
                                       java.lang.String db,
                                       NamedObjectType objType,
                                       java.lang.String objName,
                                       java.lang.String localName,
                                       boolean lock,
                                       boolean replace,
                                       boolean isLocal)
                                throws java.lang.Exception
Throws:
java.lang.Exception

Skip navigation links


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