|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tonbeller.jpivot.core.ExtensionSupport
com.tonbeller.jpivot.olap.model.OlapModelDecorator
public class OlapModelDecorator
a default decorator that delegates everything
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tonbeller.jpivot.olap.model.OlapModel |
---|
OlapModel.EmptyCubeException, OlapModel.ResultTooLargeException |
Field Summary |
---|
Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable |
---|
EXTENSIONAL, INTENSIONAL |
Constructor Summary | |
---|---|
OlapModelDecorator()
default ctor |
|
OlapModelDecorator(OlapModel delegate)
|
Method Summary | |
---|---|
void |
addExtension(com.tonbeller.jpivot.core.Extension extension)
|
void |
addModelChangeListener(com.tonbeller.jpivot.core.ModelChangeListener l)
|
com.tonbeller.jpivot.core.Model |
decorate(com.tonbeller.jpivot.core.Model modelToDecorate)
decorates the modelToDecorate with this |
void |
destroy()
called once when the not used any longer. |
java.lang.Object |
getBookmarkState(int levelOfDetail)
|
OlapModel |
getDelegate()
gets the decorated model. |
com.tonbeller.jpivot.olap.model.Dimension[] |
getDimensions()
|
com.tonbeller.jpivot.core.Extension |
getExtension(java.lang.String id)
|
java.util.Map |
getExtensions()
|
java.lang.String |
getID()
|
com.tonbeller.jpivot.olap.model.Member[] |
getMeasures()
|
com.tonbeller.jpivot.olap.model.Result |
getResult()
runs the query and returns the result |
com.tonbeller.jpivot.core.Model |
getTopDecorator()
returns the top of the decorator chain |
void |
initialize()
called once after creation. |
void |
initialize(java.util.List dimAccList)
called once after creation. |
void |
removeModelChangeListener(com.tonbeller.jpivot.core.ModelChangeListener l)
|
void |
setBookmarkState(java.lang.Object state)
|
void |
setDelegate(OlapModel modelToDecorate)
sets the decorated model |
void |
setID(java.lang.String ID)
sets an ID string for this model |
void |
setLocale(java.util.Locale locale)
|
void |
setServletContext(javax.servlet.ServletContext servletContext)
store a servlet context to the model |
Methods inherited from class com.tonbeller.jpivot.core.ExtensionSupport |
---|
getId, getModel, modelInitialized, setId, setModel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OlapModelDecorator()
setDelegate(com.tonbeller.jpivot.olap.model.OlapModel)
,
decorate(com.tonbeller.jpivot.core.Model)
public OlapModelDecorator(OlapModel delegate)
Method Detail |
---|
public java.lang.String getID()
getID
in interface OlapModel
public void setID(java.lang.String ID)
OlapModel
setID
in interface OlapModel
public com.tonbeller.jpivot.olap.model.Result getResult() throws com.tonbeller.jpivot.olap.model.OlapException
OlapModel
getResult
in interface OlapModel
com.tonbeller.jpivot.olap.model.OlapException
public com.tonbeller.jpivot.olap.model.Dimension[] getDimensions()
getDimensions
in interface OlapModel
public com.tonbeller.jpivot.olap.model.Member[] getMeasures()
getMeasures
in interface OlapModel
public com.tonbeller.jpivot.core.Extension getExtension(java.lang.String id)
getExtension
in interface com.tonbeller.jpivot.core.Model
public java.util.Map getExtensions()
getExtensions
in interface com.tonbeller.jpivot.core.Model
public void setLocale(java.util.Locale locale)
setLocale
in interface com.tonbeller.jpivot.core.Model
public void addExtension(com.tonbeller.jpivot.core.Extension extension)
addExtension
in interface com.tonbeller.jpivot.core.Model
public void addModelChangeListener(com.tonbeller.jpivot.core.ModelChangeListener l)
addModelChangeListener
in interface com.tonbeller.jpivot.core.Model
public void removeModelChangeListener(com.tonbeller.jpivot.core.ModelChangeListener l)
removeModelChangeListener
in interface com.tonbeller.jpivot.core.Model
public java.lang.Object getBookmarkState(int levelOfDetail)
getBookmarkState
in interface com.tonbeller.wcf.bookmarks.Bookmarkable
public void setBookmarkState(java.lang.Object state)
setBookmarkState
in interface com.tonbeller.wcf.bookmarks.Bookmarkable
public com.tonbeller.jpivot.core.Model getTopDecorator()
getTopDecorator
in interface com.tonbeller.jpivot.core.Model
public com.tonbeller.jpivot.core.Model decorate(com.tonbeller.jpivot.core.Model modelToDecorate)
modelToDecorate
with this
decorate
in interface com.tonbeller.jpivot.core.Extension
decorate
in class com.tonbeller.jpivot.core.ExtensionSupport
public void setDelegate(OlapModel modelToDecorate) throws com.tonbeller.jpivot.olap.model.OlapException
com.tonbeller.jpivot.olap.model.OlapException
public OlapModel getDelegate()
#getRootDecoree
,
getTopDecorator()
public void initialize() throws com.tonbeller.jpivot.olap.model.OlapException
OlapModel
initialize
in interface OlapModel
com.tonbeller.jpivot.olap.model.OlapException
public void initialize(java.util.List dimAccList) throws com.tonbeller.jpivot.olap.model.OlapException
OlapModel
initialize
in interface OlapModel
com.tonbeller.jpivot.olap.model.OlapException
public void destroy()
OlapModel
destroy
in interface OlapModel
public void setServletContext(javax.servlet.ServletContext servletContext)
OlapModel
setServletContext
in interface OlapModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |