|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.base.Adaptee
org.norther.tammi.spray.filter.DefaultFilter
org.norther.tammi.sprig.chart.DefaultChartFilter
public class DefaultChartFilter
A default implementation of ChartFilter.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.base.Adaptee |
|---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
| Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate |
|---|
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE |
| Constructor Summary | |
|---|---|
DefaultChartFilter()
Constructs a new filter. |
|
| Method Summary | |
|---|---|
String |
encode(ChartLayout layout,
String extension,
int quality,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Encodes the specified layout with the specified quality and returns a temporary path to it. |
String |
encode(ChartLayout layout,
String extension,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Encodes the specified layout and returns a temporary path to it. |
ChartLayout |
generate(ChartModel[] data,
int type,
int orientation,
int order,
int index,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Generates an ordered layout from the specified models. |
ChartLayout |
generate(ChartModel[] data,
int type,
int orientation,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Generates a layout from the specified models. |
ChartLayout |
generate(ChartModel data,
int type,
int orientation,
int order,
int index,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Generates an ordered layout from the specified model. |
ChartLayout |
generate(ChartModel data,
int type,
int orientation,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Generates a layout from the specified model. |
ObjectName |
getChartGeneratorName()
Gets the chart generator of this filter. |
void |
postmanaged()
This method is called when the implementing adaptee has been managed either during post-registration of the corresponding adapter MBean or just after it is explicitly added to the adapter MBean during run-time. |
void |
setChartGeneratorName(ObjectName engine)
Sets the chart generator of this filter. |
void |
unmanaged()
This method is called when the implementing adaptee is unmanaged either during pre-deregistration of the corresponding adapter MBean or just before it is explicitly removed from the adapter MBean during run-time. |
| Methods inherited from class org.norther.tammi.spray.filter.DefaultFilter |
|---|
destroy, doFilter, getFilterConfig, getRequestMap, getSessionMap, init |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
|---|
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Filter |
|---|
destroy, doFilter, init |
| Constructor Detail |
|---|
public DefaultChartFilter()
| Method Detail |
|---|
public void postmanaged()
Manageable
postmanaged in interface Manageablepostmanaged in class Adaptee
public void unmanaged()
throws Exception
Manageable
unmanaged in interface Manageableunmanaged in class AdapteeException - if the adaptee refused to be unmanaged.public ObjectName getChartGeneratorName()
ChartFilter
getChartGeneratorName in interface ChartFilterpublic void setChartGeneratorName(ObjectName engine)
ChartFilter
setChartGeneratorName in interface ChartFilterengine - the object name of the chart generator or a query.
public ChartLayout generate(ChartModel data,
int type,
int orientation,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
ChartFilter
generate in interface ChartFilterdata - the data model.type - the chart type.orientation - the orientation.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
public ChartLayout generate(ChartModel[] data,
int type,
int orientation,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
ChartFilter
generate in interface ChartFilterdata - the data models.type - the chart type.orientation - the orientation.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
public ChartLayout generate(ChartModel data,
int type,
int orientation,
int order,
int index,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
ChartFilter
generate in interface ChartFilterdata - the data model.type - the chart type.orientation - the orientation.order - the model order.index - the model index.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
public ChartLayout generate(ChartModel[] data,
int type,
int orientation,
int order,
int index,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
ChartFilter
generate in interface ChartFilterdata - the data models.type - the chart type.orientation - the orientation.order - the model order.index - the model index.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
public String encode(ChartLayout layout,
String extension,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
ChartFilter
encode in interface ChartFilterlayout - the layout.extension - the encode type.request - the request.response - the response.chain - the filter chain.
LogException - on errors.
public String encode(ChartLayout layout,
String extension,
int quality,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws LogException
ChartFilter
encode in interface ChartFilterlayout - the layout.extension - the encode type.quality - the quality (0 - 100 %).request - the request.response - the response.chain - the filter chain.
LogException - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||