Skip navigation links


com.essbase.eas.essbase.ui.outline
Class OutlineUtilities

java.lang.Object
  extended by com.essbase.eas.essbase.ui.outline.OutlineUtilities


public class OutlineUtilities
extends java.lang.Object

implements some static utility methods for the outline viewers.

Since:
6.2.0
Version:
6.5.4
Author:
Hank Cox

Field Summary
static java.lang.String ACTIVE_TAG
           
static java.lang.String ALIAS_END
           
static java.lang.String ALIAS_START
           
static java.lang.String ALIAS_TAG
           
static java.lang.String ALTERNATE_HIERARCHY
           
static java.lang.String ATTRIBUTE_COLON
           
static java.lang.String ATTRIBUTE_DT_END
           
static java.lang.String ATTRIBUTE_DT_START
           
static java.lang.String ATTRIBUTE_DT_TAG
           
static java.lang.String ATTRIBUTE_END
           
static java.lang.String ATTRIBUTE_SEPARATOR
           
static java.lang.String ATTRIBUTE_START
           
static java.lang.String CHILDCOUNT_END
           
static java.lang.String CHILDCOUNT_START
           
static java.lang.String COMMENT_END
           
static java.lang.String COMMENT_START
           
static java.lang.String COMPRESSION_DIMENSION
           
static java.lang.String CURRENCY_CATEGORY
           
static java.lang.String CURRENCY_MEMBER
           
static java.lang.String DISABLED
           
static java.lang.String DTS_END
           
static java.lang.String DTS_START
           
static java.lang.String ELIDED_TAG
           
static java.lang.String ENABLED
           
static java.lang.String EXPENSE_REPORTING
           
static java.lang.String FLOW_METRIC
           
static java.lang.String FORMULA_COLON
           
static java.lang.String FORMULA_END
           
static java.lang.String FORMULA_START
           
static java.lang.String FORMULA_TAG
           
static java.lang.String HYBRID_ANALYSIS
           
static java.lang.String HYBRID_CHILD_PRESENT
           
static java.lang.String HYBRID_END
           
static java.lang.String HYBRID_START
           
static java.lang.String KEY_CONFIRM_ACTION
           
static java.lang.String KEY_CONFIRM_CLOSE
           
static java.lang.String KEY_CONFIRM_CLOSE_TITLE
           
static java.lang.String KEY_DELETE_MEMBER
           
static java.lang.String KEY_DELETE_MEMBER2
           
static java.lang.String KEY_DELETE_WITHATTRINFO_MEMBER
           
static java.lang.String KEY_DELETE_WITHATTRINFO_MEMBER2
           
static java.lang.String KEY_DELETEWITHOUTUNDO_MEMBER2
           
static java.lang.String KEY_MOVE_MEMBER
           
static java.lang.String KEY_MOVE_MEMBER2
           
static java.lang.String LEVEL_WEIGHT_END
           
static java.lang.String LEVEL_WEIGHT_START
           
static java.lang.String MEMBER_PROPERTY_END
           
static java.lang.String MEMBER_PROPERTY_START
           
static java.lang.String TWO_PASS
           
static java.lang.String UDA_END
           
static java.lang.String UDA_START
           

 

Method Summary
static void buildASOMemberDisplayString(Member member, Member dimAncestor, java.util.Collection pieces, Representation representation, ViewerOptions opts)
           
static void buildMemberDisplayString(Member member, Member dimAncestor, java.util.Collection pieces, Representation representation, ViewerOptions opts)
           
static int displayDeleteMembersWarning(boolean multipleMembersSelected, boolean attributeInfoExists)
          displays an appropriate message for deleting members from the outline.
static int displayDeleteWithoutUndoMembersWarning(boolean multipleMembersSelected)
          displays an appropriate message for deleting members from the outline.
static int displayMoveMembersWarning(boolean multipleMembersSelected)
          displays an appropriate message for moving members from the outline.
static java.lang.String getActiveTag()
          retrieves the string to display the active alias table on the root node.
static java.lang.String getAliasEnd()
          retrieves the string to put at the end of alises.
static java.lang.String getAliasStart()
          retrieves the string to put at the beginning of alises.
static java.util.List getChildren(Database db, java.lang.String dimension, java.lang.String member)
           
static java.util.List getChildrenWithProperties(Database db, java.lang.String dimension, java.lang.String member, long startWith, int atMost)
          Deprecated. 06/27/2002
static ViewerOptions getDefaultViewerOptions()
          retrieves the default viewer options from the properties file.
static java.util.List getDimensions(Database db)
           
static java.util.List getDimensionsWithProperties(Database db)
          Deprecated. 06/27/2002
static ViewerOptions getFindViewerOptions()
           
static void getMemberProperties(Database db, Member member)
          Deprecated. 06/27/2002
static OutlineMemberProperties getMemberProperties(Database db, java.lang.String member)
           
static java.util.ResourceBundle getMemberPropertiesBundle()
           
static java.lang.String getMemberPropertyEnd()
          retrieves the indicator for the end of a member property.
static java.lang.String getMemberPropertyStart()
          retrieves the indicator for the start of a member property.
static OutlineProperties getOutlineProperties(Database db)
          Deprecated.  
static java.util.ResourceBundle getResourceBundle()
           
static boolean isMemberSetHomogeneous(Member[] members)
          determines whether an array of members all are from the same dimension and have the same generation.
static boolean isOutlineNonUnique(Representation r)
           
static void openEditorForLocalFile(java.io.File file)
           
static void saveDefaultViewerOptions(ViewerOptions value)
          saves options into the default options ...
static boolean uniqueNamesAvailable(Representation r)
           
static long validateHandle(long handle, java.util.Hashtable deletedHandleTable)
           
static void validateHandlesForMember(Member m, java.util.Hashtable deletedHandleTable)
           
static void validateHandlesForMembers(Member[] members, java.util.Hashtable deletedHandleTable)
           

 

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

 

Field Detail

KEY_CONFIRM_ACTION

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

KEY_DELETE_MEMBER

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

KEY_DELETE_WITHATTRINFO_MEMBER

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

KEY_DELETE_MEMBER2

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

KEY_DELETE_WITHATTRINFO_MEMBER2

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

KEY_DELETEWITHOUTUNDO_MEMBER2

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

KEY_MOVE_MEMBER

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

KEY_MOVE_MEMBER2

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

KEY_CONFIRM_CLOSE_TITLE

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

KEY_CONFIRM_CLOSE

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

COMMENT_START

public static final java.lang.String COMMENT_START

COMMENT_END

public static final java.lang.String COMMENT_END

CHILDCOUNT_START

public static final java.lang.String CHILDCOUNT_START

CHILDCOUNT_END

public static final java.lang.String CHILDCOUNT_END

ALIAS_START

public static final java.lang.String ALIAS_START

ALIAS_END

public static final java.lang.String ALIAS_END

ALIAS_TAG

public static final java.lang.String ALIAS_TAG

ACTIVE_TAG

public static final java.lang.String ACTIVE_TAG

ATTRIBUTE_START

public static final java.lang.String ATTRIBUTE_START

ATTRIBUTE_END

public static final java.lang.String ATTRIBUTE_END

ATTRIBUTE_SEPARATOR

public static final java.lang.String ATTRIBUTE_SEPARATOR

ATTRIBUTE_COLON

public static final java.lang.String ATTRIBUTE_COLON

ATTRIBUTE_DT_START

public static final java.lang.String ATTRIBUTE_DT_START

ATTRIBUTE_DT_END

public static final java.lang.String ATTRIBUTE_DT_END

ATTRIBUTE_DT_TAG

public static final java.lang.String ATTRIBUTE_DT_TAG

HYBRID_START

public static final java.lang.String HYBRID_START

HYBRID_END

public static final java.lang.String HYBRID_END

HYBRID_ANALYSIS

public static final java.lang.String HYBRID_ANALYSIS

HYBRID_CHILD_PRESENT

public static final java.lang.String HYBRID_CHILD_PRESENT

ENABLED

public static final java.lang.String ENABLED

DISABLED

public static final java.lang.String DISABLED

DTS_START

public static final java.lang.String DTS_START

DTS_END

public static final java.lang.String DTS_END

UDA_START

public static final java.lang.String UDA_START

UDA_END

public static final java.lang.String UDA_END

MEMBER_PROPERTY_START

public static final java.lang.String MEMBER_PROPERTY_START

MEMBER_PROPERTY_END

public static final java.lang.String MEMBER_PROPERTY_END

TWO_PASS

public static final java.lang.String TWO_PASS

EXPENSE_REPORTING

public static final java.lang.String EXPENSE_REPORTING

CURRENCY_CATEGORY

public static final java.lang.String CURRENCY_CATEGORY

CURRENCY_MEMBER

public static final java.lang.String CURRENCY_MEMBER

FORMULA_START

public static final java.lang.String FORMULA_START

FORMULA_END

public static final java.lang.String FORMULA_END

FORMULA_TAG

public static final java.lang.String FORMULA_TAG

FORMULA_COLON

public static final java.lang.String FORMULA_COLON

ELIDED_TAG

public static final java.lang.String ELIDED_TAG

ALTERNATE_HIERARCHY

public static final java.lang.String ALTERNATE_HIERARCHY

LEVEL_WEIGHT_START

public static final java.lang.String LEVEL_WEIGHT_START

LEVEL_WEIGHT_END

public static final java.lang.String LEVEL_WEIGHT_END

FLOW_METRIC

public static final java.lang.String FLOW_METRIC

COMPRESSION_DIMENSION

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

Method Detail

getResourceBundle

public static java.util.ResourceBundle getResourceBundle()

getMemberPropertiesBundle

public static java.util.ResourceBundle getMemberPropertiesBundle()

openEditorForLocalFile

public static void openEditorForLocalFile(java.io.File file)

buildMemberDisplayString

public static void buildMemberDisplayString(Member member,
                                            Member dimAncestor,
                                            java.util.Collection pieces,
                                            Representation representation,
                                            ViewerOptions opts)

buildASOMemberDisplayString

public static void buildASOMemberDisplayString(Member member,
                                               Member dimAncestor,
                                               java.util.Collection pieces,
                                               Representation representation,
                                               ViewerOptions opts)

getOutlineProperties

public static OutlineProperties getOutlineProperties(Database db)
Deprecated. 

getDimensions

public static java.util.List getDimensions(Database db)

getDimensionsWithProperties

public static java.util.List getDimensionsWithProperties(Database db)
Deprecated. 06/27/2002

getChildren

public static java.util.List getChildren(Database db,
                                         java.lang.String dimension,
                                         java.lang.String member)

getChildrenWithProperties

public static java.util.List getChildrenWithProperties(Database db,
                                                       java.lang.String dimension,
                                                       java.lang.String member,
                                                       long startWith,
                                                       int atMost)
Deprecated. 06/27/2002

getMemberProperties

public static void getMemberProperties(Database db,
                                       Member member)
Deprecated. 06/27/2002

getMemberProperties

public static OutlineMemberProperties getMemberProperties(Database db,
                                                          java.lang.String member)

getDefaultViewerOptions

public static ViewerOptions getDefaultViewerOptions()
retrieves the default viewer options from the properties file.

getFindViewerOptions

public static ViewerOptions getFindViewerOptions()

saveDefaultViewerOptions

public static void saveDefaultViewerOptions(ViewerOptions value)
saves options into the default options ...

getAliasStart

public static java.lang.String getAliasStart()
retrieves the string to put at the beginning of alises.

getAliasEnd

public static java.lang.String getAliasEnd()
retrieves the string to put at the end of alises.

getActiveTag

public static java.lang.String getActiveTag()
retrieves the string to display the active alias table on the root node.

getMemberPropertyStart

public static java.lang.String getMemberPropertyStart()
retrieves the indicator for the start of a member property.

getMemberPropertyEnd

public static java.lang.String getMemberPropertyEnd()
retrieves the indicator for the end of a member property.

displayDeleteMembersWarning

public static int displayDeleteMembersWarning(boolean multipleMembersSelected,
                                              boolean attributeInfoExists)
displays an appropriate message for deleting members from the outline.

displayDeleteWithoutUndoMembersWarning

public static int displayDeleteWithoutUndoMembersWarning(boolean multipleMembersSelected)
displays an appropriate message for deleting members from the outline.

displayMoveMembersWarning

public static int displayMoveMembersWarning(boolean multipleMembersSelected)
displays an appropriate message for moving members from the outline.

isMemberSetHomogeneous

public static boolean isMemberSetHomogeneous(Member[] members)
determines whether an array of members all are from the same dimension and have the same generation.

uniqueNamesAvailable

public static boolean uniqueNamesAvailable(Representation r)
Parameters:
r -
Returns:

isOutlineNonUnique

public static boolean isOutlineNonUnique(Representation r)
Parameters:
r -
Returns:

validateHandle

public static long validateHandle(long handle,
                                  java.util.Hashtable deletedHandleTable)

validateHandlesForMember

public static void validateHandlesForMember(Member m,
                                            java.util.Hashtable deletedHandleTable)

validateHandlesForMembers

public static void validateHandlesForMembers(Member[] members,
                                             java.util.Hashtable deletedHandleTable)

Skip navigation links


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