Skip navigation links


com.essbase.eas.essbase.ui
Class EssbaseUtilities

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


public class EssbaseUtilities
extends java.lang.Object

implements utility UI methods for Essbase components in the console.

Version:
1.00, 03/28/2001
Author:
Hank Cox

Field Summary
static short APPLICATION_TITLE_PIECES
           
static short DATABASE_TITLE_PIECES
           

 

Method Summary
static java.lang.String constructApplicationLabel(Application application)
          constructs a label for an application.
static java.lang.String constructDatabaseLabel(Database db)
           
static java.lang.String constructDatabaseTitle(java.lang.String[] pieces)
          constructs a title for a database style window or dialog.
static java.lang.String constructDatabaseTitle(java.lang.String base, Database db)
          constructs a title for a database style window or dialog.
static java.lang.String constructObjectLabel(Application app, java.lang.String objectName)
           
static java.lang.String constructObjectLabel(Database db, java.lang.String objectName)
          constructs a name string for an Essbase object that resides in a database.
static java.lang.String constructObjectLabel(Group group)
           
static java.lang.String constructObjectLabel(NamedObject nobj)
           
static java.lang.String constructObjectLabel(java.lang.Object owner, java.lang.String objectName)
           
static java.lang.String constructObjectLabel(User user)
           
static java.lang.String constructObjectTitle(java.util.ResourceBundle resource, java.lang.String baseName, Application app, java.lang.String objectName)
           
static java.lang.String constructObjectTitle(java.util.ResourceBundle resource, java.lang.String baseName, Database db, java.lang.String objectName)
          constructs a name string for an Essbase object that resides in a database.
static java.lang.String constructObjectTitle(java.util.ResourceBundle resource, java.lang.String baseName, java.lang.Object owner, java.lang.String objectName)
           
static java.util.ResourceBundle getContextHelpResources()
          retrieves the resource bundle for the context sensitive help references.
static java.util.ResourceBundle getContextHelpResources(java.lang.Object src)
          retrieves the resource bundle for the context sensitive help references.
static java.util.ResourceBundle getMessagesResources()
          retrieves the resource bundle for standard essbase messages and titles for messages.
static java.util.ResourceBundle getResources()
          retrieves the resource bundle for the general purpose resource bundle.

 

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

 

Field Detail

APPLICATION_TITLE_PIECES

public static final short APPLICATION_TITLE_PIECES
See Also:
Constant Field Values

DATABASE_TITLE_PIECES

public static final short DATABASE_TITLE_PIECES
See Also:
Constant Field Values

Method Detail

constructApplicationLabel

public static java.lang.String constructApplicationLabel(Application application)
constructs a label for an application.

constructDatabaseLabel

public static java.lang.String constructDatabaseLabel(Database db)

constructDatabaseTitle

public static java.lang.String constructDatabaseTitle(java.lang.String[] pieces)
constructs a title for a database style window or dialog. This is in the form "Window Type: [server:application:database]"; i.e., "Database Properties: [LocalHost:Sample:Basic]". There must be 4 strings in the array passed in; if there aren't, the method will return the first string as the title. if there are 0 strings or the pieces parameter is null, the method will return an empty string.

constructDatabaseTitle

public static java.lang.String constructDatabaseTitle(java.lang.String base,
                                                      Database db)
constructs a title for a database style window or dialog. This is in the form "Window Type: [server:application:database]"; i.e., "Database Properties: [LocalHost:Sample:Basic]". If the method cannot construct the proper string for any reason it will return the base title passed in.

constructObjectTitle

public static java.lang.String constructObjectTitle(java.util.ResourceBundle resource,
                                                    java.lang.String baseName,
                                                    Database db,
                                                    java.lang.String objectName)
constructs a name string for an Essbase object that resides in a database. The result is in the form [server:application:database:object]

constructObjectTitle

public static java.lang.String constructObjectTitle(java.util.ResourceBundle resource,
                                                    java.lang.String baseName,
                                                    Application app,
                                                    java.lang.String objectName)

constructObjectTitle

public static java.lang.String constructObjectTitle(java.util.ResourceBundle resource,
                                                    java.lang.String baseName,
                                                    java.lang.Object owner,
                                                    java.lang.String objectName)

constructObjectLabel

public static java.lang.String constructObjectLabel(Database db,
                                                    java.lang.String objectName)
constructs a name string for an Essbase object that resides in a database. The result is in the form [server:application:database:object]

constructObjectLabel

public static java.lang.String constructObjectLabel(Application app,
                                                    java.lang.String objectName)

constructObjectLabel

public static java.lang.String constructObjectLabel(java.lang.Object owner,
                                                    java.lang.String objectName)

constructObjectLabel

public static java.lang.String constructObjectLabel(Group group)

constructObjectLabel

public static java.lang.String constructObjectLabel(User user)

constructObjectLabel

public static java.lang.String constructObjectLabel(NamedObject nobj)

getResources

public static java.util.ResourceBundle getResources()
retrieves the resource bundle for the general purpose resource bundle.

getContextHelpResources

public static java.util.ResourceBundle getContextHelpResources(java.lang.Object src)
retrieves the resource bundle for the context sensitive help references.

getContextHelpResources

public static java.util.ResourceBundle getContextHelpResources()
retrieves the resource bundle for the context sensitive help references.

getMessagesResources

public static java.util.ResourceBundle getMessagesResources()
retrieves the resource bundle for standard essbase messages and titles for messages.

Skip navigation links


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