it.eng.spagobi.qbe.commons.presentation.tag
Class QbeTagSupport

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by it.eng.spagobi.qbe.commons.presentation.tag.BaseTagSupport
              extended by it.eng.spagobi.qbe.commons.presentation.tag.QbeTagSupport
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
AuditTag, InitPageContextTag, PageContentTag, PageTag, TemplateQbeTag, UrlTag

public class QbeTagSupport
extends BaseTagSupport

The Class QbeTagSupport.

Author:
Andrea Gioia (andrea.gioia@eng.it)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
QbeTagSupport()
           
 
Method Summary
protected  java.lang.String getActionUrl(java.util.Map parameters)
          Gets the action url.
protected  it.eng.spagobi.container.ContextManager getContextManager()
           
protected  it.eng.qbe.model.DataMartModel getDatamartModel()
          Gets the datamart model.
protected  it.eng.qbe.wizard.ISingleDataMartWizardObject getDatamartWizard()
          Gets the datamart wizard.
protected  QbeEngineInstance getEngineInstance()
           
protected  java.util.Locale getLocale()
          Gets the locale.
protected  IQbeUrlGenerator getQbeUrlGenerator()
          Gets the qbe url generator.
protected  it.eng.qbe.query.IQuery getQuery()
          Gets the query.
protected  java.lang.String getResourceUrl(java.lang.String url)
          Gets the resource url.
protected  boolean isStandaloneModality()
          Checks if is standalone modality.
protected  boolean isWebModality()
          Checks if is web modality.
 
Methods inherited from class it.eng.spagobi.qbe.commons.presentation.tag.BaseTagSupport
getRequest, getRequestContainer, getResponseContainer, getSessionContainer
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

QbeTagSupport

public QbeTagSupport()
Method Detail

getContextManager

protected it.eng.spagobi.container.ContextManager getContextManager()

getEngineInstance

protected QbeEngineInstance getEngineInstance()

getLocale

protected java.util.Locale getLocale()
Gets the locale.

Returns:
the locale

getDatamartModel

protected it.eng.qbe.model.DataMartModel getDatamartModel()
Gets the datamart model.

Returns:
the datamart model

getDatamartWizard

protected it.eng.qbe.wizard.ISingleDataMartWizardObject getDatamartWizard()
Gets the datamart wizard.

Returns:
the datamart wizard

getQuery

protected it.eng.qbe.query.IQuery getQuery()
Gets the query.

Returns:
the query

isStandaloneModality

protected boolean isStandaloneModality()
Checks if is standalone modality.

Returns:
true, if is standalone modality

isWebModality

protected boolean isWebModality()
Checks if is web modality.

Returns:
true, if is web modality

getQbeUrlGenerator

protected IQbeUrlGenerator getQbeUrlGenerator()
Gets the qbe url generator.

Returns:
the qbe url generator

getResourceUrl

protected java.lang.String getResourceUrl(java.lang.String url)
Gets the resource url.

Parameters:
url - the url
Returns:
the resource url

getActionUrl

protected java.lang.String getActionUrl(java.util.Map parameters)
Gets the action url.

Parameters:
parameters - the parameters
Returns:
the action url