|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.essbase.ui.outline.Representation
public class Representation
provides a generic representation of an outline. This class is a reworking of the myriad representations that existed before.
| Field Summary | |
|---|---|
static short |
OPERATION_COPY |
static short |
OPERATION_CUT |
static short |
OPERATION_NONE |
static int |
OPG_VERSION_1112 |
static int |
OPG_VERSION_71 |
static int |
OPG_VERSION_72 |
static int |
OPG_VERSION_74 |
static int |
OPG_VERSION_900 |
static int |
OPG_VERSION_930 |
static int |
OPG_VERSION_9311 |
static int |
OPG_VERSION_950 |
static int |
OPG_VERSION_CURRENT |
static short |
REQUEST_ALIASES |
static short |
REQUEST_ATTRS |
static short |
REQUEST_FORMULA |
static short |
REQUEST_UDAS |
protected static Identifier |
sourceIdentifierindicates the source outline for copy |
static OutlineType |
sourceTypeindicates the source outline type for copy |
| Constructor Summary | |
|---|---|
Representation()constructs an outline Representation that is editable |
|
Representation(Database db, boolean setEditable)constructs an outline Representation for a database and for editing/viewing as requested. |
|
Representation(Database db, boolean setEditable, boolean rolapCheck)Special constructor to only initialize the outline type |
|
Representation(Database db, Identifier id, boolean setEditable)constructs an outline Representation for a database and for editing/viewing as requested. |
|
Representation(Database db, Identifier id, boolean setEditable, boolean forQueryHints, java.lang.String selectedColumn, Member[] allDimensions) |
|
Representation(java.io.File f, Identifier id, boolean setEditable)constructs an outline Representation for a file and for editing/viewing as requested. |
|
Representation(java.io.File f, Identifier id, boolean setEditable, boolean forQueryHints, java.lang.String selectedColumn, Member[] allDimensions) |
|
| Method Summary | |
|---|---|
void |
addEventListener(RepresentationListener l) |
void |
addFile(java.lang.Object file) |
void |
addOutlineModfiedListener(javax.swing.JTabbedPane tabbedPane) |
void |
addSLODefinition(SLODefinition sloDefn) |
void |
addToOpenedAccessFileList(MemberAccessFile file) |
void |
cancelPendingOperation()cancels any pending operation. |
void |
clearAllModified()clears all the modified list for this representation. |
void |
clearModified()clears the modified state for this representation. |
boolean |
doesServerVersionSupportNonUnique() |
boolean |
doesServerVersionSupportQueryHints() |
boolean |
doesServerVersionSupportSmartlist() |
void |
eventTaken(EditEvent ev)adds an event to the set of transactions taken on this outline. |
protected void |
eventUndone(EditEvent ev) |
protected void |
fireActiveAliasTableChangedEvent()fires an event when the active alias table is changed. |
protected void |
fireEventTakenEvent(EditEvent e)fires an event when the database has changed. |
protected void |
fireEventUndone(EditEvent e)fires an event when another event has been undone. |
java.lang.String |
getActiveAliasTable()retrieves the name of the active alias table. |
AttributeSpecs |
getAttributeSpecs()retrieves the attribute specifications. |
Database |
getDatabase()retrieves the representation's database. |
boolean |
getDataPresentAtOpen()returns the value indicating that data was loaded when the outline was opened. |
Member |
getDimensionFor(java.lang.String value)returns the dimension for a string name. |
Member[] |
getDimensions() |
DynamicTimeSeries[] |
getDynamicTimeSeries() |
boolean |
getEditable()retrieves the editable/viewable property. |
java.io.File |
getFileSource()retrieves the representation's file source. |
java.util.List |
getFormulaFunctionList()Return the list of functions available for the formula editor for this outline |
DefinedGeneration[] |
getGenerations() |
Identifier |
getIdentifier()retrieves the representation's identifier. |
DefinedLevel[] |
getLevels() |
int |
getMaxAliasTableSize() |
static Member[] |
getMembersForOperation()retrives the member if a pending operation is of the correct type. |
boolean |
getModelForQueryHints() |
EditEvent |
getNotifyingEvent()retrieves the event currently being broadcast as taken or undone. |
int |
getOPGCurrentVersion() |
int |
getOPGVersion() |
DefaultOutlineModel |
getOutlineModel()retrieves the outline model. |
DefaultOutlineModel |
getOutlineModelForQueryHints(java.lang.String selectedColumn, Member[] allDimensions) |
short |
getPendingOperation()retrieves the type of pending operation |
QueryHint[][] |
getQueryHints()retrieves the query hints for this representation |
int |
getServerOPGVersion()Return the OPG version based on the server version |
Version |
getServerVersion()return the server version that this outline is opened from |
Settings |
getSettings()retrieves the representation's settings. |
java.lang.String |
getShortValueForMemberName(Member member) |
java.lang.String |
getShortValueForMemberName(Member dimension, Member member) |
java.lang.String |
getShortValueForMemberName(java.lang.String longname)returns a short name for a member based on the current outline settings. |
java.util.ArrayList |
getSmartListDefinitions() |
EditEvent[] |
getTransactions()retrieves the transactions. |
protected void |
handleAliasTableClearEventUndo(AliasTableClearEvent atce) |
protected void |
handleAliasTableCopyEvent(AliasTableCopyEvent event) |
protected void |
handleAliasTableCopyEventUndo(AliasTableCopyEvent atce) |
protected void |
handleAliasTableCreateEvent(AliasTableCreateEvent event) |
protected void |
handleAliasTableCreateEventUndo(AliasTableCreateEvent event) |
protected void |
handleAliasTableDeleteEvent(AliasTableDeleteEvent event) |
protected void |
handleAliasTableDeleteEventUndo(AliasTableDeleteEvent atde) |
protected void |
handleAliasTableImportEvent(AliasTableImportEvent event) |
protected void |
handleAliasTableImportEventUndo(AliasTableImportEvent atie) |
protected void |
handleAliasTableRenameEvent(AliasTableRenameEvent event) |
protected void |
handleAliasTableRenameEventUndo(AliasTableRenameEvent event) |
boolean |
hasQueryOpenError() |
void |
initiateMemberOperation(Member[] members, short operation) |
void |
initiateMemberOperation(Member m, short operation)sets a pending operation for a specific member. |
boolean |
isASO() |
boolean |
isClearAllDataDone(boolean verifyDataLoaded)indicates whether clear all data is done when this outline is saved. |
boolean |
isDataLoaded() |
boolean |
isDim_NumOrder_changed()indicates whether the number or order of dimensions is changed when the outline is saved. |
boolean |
isMigrationNeeded(boolean saveToFileSystem)Is OPG Version migration needed? |
boolean |
isModified()returns information about this representation's modified state. |
boolean |
isOPGVersion1112orLater() |
boolean |
isOPGVersion71() |
boolean |
isOPGVersion72() |
boolean |
isOPGVersion900() |
boolean |
isOPGVersion930()Returns true if the outline belongs to Beckett version(9.3.0) |
boolean |
isOPGVersion93OrLater() |
boolean |
isOPGVersion950OrLater() |
boolean |
isOPGVersionAfter72() |
boolean |
isOPGVersionBefore950() |
boolean |
isOutlineEmpty() |
boolean |
isQueryHintsModified() |
boolean |
isRestructureRequired()indicates whether a restructure operation is needed when this outline is saved. |
boolean |
isRestructureRequiredFromEvents() |
boolean |
isUndoAvailable() |
java.lang.String |
modifyMemberName(java.lang.String name, java.lang.String dimName) |
void |
performUndo() |
void |
release() |
void |
removeEventListener(RepresentationListener l) |
void |
removeFromOpenedAccessFileList(MemberAccessFile file) |
void |
removeOutlineModifiedListener(javax.swing.JTabbedPane tabbedPane) |
void |
removeSLODefinition(SLODefinition sloDefn) |
void |
resetModified()Madhavi: resets the modified state for this representation. |
void |
resetQueryHintsModified() |
void |
retrieveQueryHints() |
void |
setActiveAliasTable(java.lang.String value)sets the active alias table and fires an event. |
void |
setAttributeSpecs(AttributeSpecs value)sets the representation's attribute specs. |
void |
setDataPresentAtOpen(boolean dataPresentAtOpen) |
void |
setDefaultAsActiveTable()sets the default table as the active table. |
boolean |
setDimensionDataMembers() |
void |
setDimensions(Member[] dims) |
void |
setDynamicTimeSeries(DynamicTimeSeries[] series) |
void |
setFormulaFunctionList(java.util.List list)Set the list of functions available for the formula editor for this outline |
void |
setGenerations(DefinedGeneration[] definedGenerations) |
void |
setIdentifier(Identifier value)set's the representation identifier. |
void |
setLevels(DefinedLevel[] definedLevels) |
void |
setModified() |
void |
setOPGVersion(int version) |
void |
setOutlineEmpty(boolean value) |
static void |
setPendingOperation(short op) |
void |
setQueryHints(QueryHint[][] queryHints)sets the representation's query hints |
void |
setQueryHintsModified()Added to find if Query Hints are modified for this representation. |
void |
setQueryOpenError(boolean value) |
void |
setSettings(Settings value)sets the representation's settings. |
void |
updateUndoItem(javax.swing.JMenuItem undoItem) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short OPERATION_NONE
public static final short OPERATION_CUT
public static final short OPERATION_COPY
public static final short REQUEST_UDAS
public static final short REQUEST_FORMULA
public static final short REQUEST_ATTRS
public static final short REQUEST_ALIASES
public static final int OPG_VERSION_71
public static final int OPG_VERSION_72
public static final int OPG_VERSION_74
public static final int OPG_VERSION_900
public static final int OPG_VERSION_930
public static final int OPG_VERSION_9311
public static final int OPG_VERSION_950
public static final int OPG_VERSION_1112
public static final int OPG_VERSION_CURRENT
protected static Identifier sourceIdentifier
public static OutlineType sourceType
| Constructor Detail |
|---|
public Representation()
public Representation(Database db,
boolean setEditable)
public Representation(Database db,
boolean setEditable,
boolean rolapCheck)
db -setEditable -rolapCheck -
public Representation(Database db,
Identifier id,
boolean setEditable)
public Representation(java.io.File f,
Identifier id,
boolean setEditable)
public Representation(java.io.File f,
Identifier id,
boolean setEditable,
boolean forQueryHints,
java.lang.String selectedColumn,
Member[] allDimensions)
public Representation(Database db,
Identifier id,
boolean setEditable,
boolean forQueryHints,
java.lang.String selectedColumn,
Member[] allDimensions)
| Method Detail |
|---|
public boolean isDim_NumOrder_changed()
public boolean isDataLoaded()
public void retrieveQueryHints()
public boolean getModelForQueryHints()
public void addOutlineModfiedListener(javax.swing.JTabbedPane tabbedPane)
public void removeOutlineModifiedListener(javax.swing.JTabbedPane tabbedPane)
public EditEvent[] getTransactions()
public boolean getEditable()
public Database getDatabase()
public java.io.File getFileSource()
public Identifier getIdentifier()
public void setIdentifier(Identifier value)
public DefaultOutlineModel getOutlineModel()
public DefaultOutlineModel getOutlineModelForQueryHints(java.lang.String selectedColumn,
Member[] allDimensions)
public short getPendingOperation()
public static void setPendingOperation(short op)
public void initiateMemberOperation(Member m,
short operation)
public void initiateMemberOperation(Member[] members,
short operation)
public static Member[] getMembersForOperation()
public EditEvent getNotifyingEvent()
public void cancelPendingOperation()
public java.lang.String getActiveAliasTable()
public void setActiveAliasTable(java.lang.String value)
public void setDefaultAsActiveTable()
public Settings getSettings()
public QueryHint[][] getQueryHints()
public void setSettings(Settings value)
public void setQueryHints(QueryHint[][] queryHints)
public AttributeSpecs getAttributeSpecs()
public void setAttributeSpecs(AttributeSpecs value)
public void setDynamicTimeSeries(DynamicTimeSeries[] series)
public DynamicTimeSeries[] getDynamicTimeSeries()
public void setGenerations(DefinedGeneration[] definedGenerations)
public DefinedGeneration[] getGenerations()
public void setDimensions(Member[] dims)
public Member[] getDimensions()
public void setLevels(DefinedLevel[] definedLevels)
public DefinedLevel[] getLevels()
public Member getDimensionFor(java.lang.String value)
public void eventTaken(EditEvent ev)
protected void eventUndone(EditEvent ev)
public boolean isModified()
public void setDataPresentAtOpen(boolean dataPresentAtOpen)
public boolean getDataPresentAtOpen()
public boolean setDimensionDataMembers()
public boolean isRestructureRequired()
public boolean isClearAllDataDone(boolean verifyDataLoaded)
public boolean isRestructureRequiredFromEvents()
public void clearModified()
public void clearAllModified()
public void resetModified()
public void setModified()
public void setQueryHintsModified()
public void resetQueryHintsModified()
public boolean isQueryHintsModified()
public void addEventListener(RepresentationListener l)
public void removeEventListener(RepresentationListener l)
public java.lang.String getShortValueForMemberName(Member dimension,
Member member)
public java.lang.String getShortValueForMemberName(Member member)
public java.lang.String getShortValueForMemberName(java.lang.String longname)
public java.lang.String modifyMemberName(java.lang.String name,
java.lang.String dimName)
public void performUndo()
public boolean isUndoAvailable()
public void updateUndoItem(javax.swing.JMenuItem undoItem)
protected void handleAliasTableDeleteEventUndo(AliasTableDeleteEvent atde)
protected void handleAliasTableClearEventUndo(AliasTableClearEvent atce)
protected void handleAliasTableCopyEventUndo(AliasTableCopyEvent atce)
protected void handleAliasTableImportEventUndo(AliasTableImportEvent atie)
protected void handleAliasTableCopyEvent(AliasTableCopyEvent event)
protected void handleAliasTableCreateEvent(AliasTableCreateEvent event)
protected void handleAliasTableCreateEventUndo(AliasTableCreateEvent event)
protected void handleAliasTableDeleteEvent(AliasTableDeleteEvent event)
protected void handleAliasTableRenameEvent(AliasTableRenameEvent event)
protected void handleAliasTableRenameEventUndo(AliasTableRenameEvent event)
protected void handleAliasTableImportEvent(AliasTableImportEvent event)
protected void fireActiveAliasTableChangedEvent()
protected void fireEventTakenEvent(EditEvent e)
protected void fireEventUndone(EditEvent e)
public java.util.List getFormulaFunctionList()
public void setFormulaFunctionList(java.util.List list)
list - - the list of FunctionCategorypublic void addFile(java.lang.Object file)
public void release()
public void addToOpenedAccessFileList(MemberAccessFile file)
public void removeFromOpenedAccessFileList(MemberAccessFile file)
public Version getServerVersion()
public int getServerOPGVersion()
public void setOPGVersion(int version)
version -public int getOPGVersion()
public boolean isOPGVersion71()
public boolean isOPGVersion72()
public boolean isOPGVersionAfter72()
public boolean isOPGVersion930()
public boolean isOPGVersion1112orLater()
public boolean isOPGVersion950OrLater()
public boolean isOPGVersionBefore950()
public boolean isOPGVersion93OrLater()
public boolean isOPGVersion900()
public int getOPGCurrentVersion()
public boolean isMigrationNeeded(boolean saveToFileSystem)
isFileSystemTarget - true if saving to file system and ignore current representation settingtrue if outline must be versioned to currentpublic boolean doesServerVersionSupportNonUnique()
public boolean doesServerVersionSupportQueryHints()
public boolean doesServerVersionSupportSmartlist()
public boolean isOutlineEmpty()
public void setOutlineEmpty(boolean value)
public boolean hasQueryOpenError()
public void setQueryOpenError(boolean value)
public java.util.ArrayList getSmartListDefinitions()
public void addSLODefinition(SLODefinition sloDefn)
public void removeSLODefinition(SLODefinition sloDefn)
public boolean isASO()
public int getMaxAliasTableSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||