com.urbancode.anthill3.domain.reporting.graphing
Class ReportDataProducer

java.lang.Object
  extended by com.urbancode.anthill3.domain.reporting.graphing.ReportDataProducer
All Implemented Interfaces:
de.laures.cewolf.DatasetProducer, java.io.Serializable

public class ReportDataProducer
extends java.lang.Object
implements de.laures.cewolf.DatasetProducer, java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface de.laures.cewolf.DatasetProducer
PRODUCER_ATTRIBUTE_NAME
 
Constructor Summary
ReportDataProducer()
           
 
Method Summary
 java.lang.String getProducerId()
          Returns a unique ID for this DatasetProducer
 boolean hasExpired(java.util.Map params, java.util.Date since)
          This producer's data is invalidated after 10 seconds.
 java.lang.Object produceDataset(java.util.Map params)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportDataProducer

public ReportDataProducer()
Method Detail

produceDataset

public java.lang.Object produceDataset(java.util.Map params)
                                throws de.laures.cewolf.DatasetProduceException
Specified by:
produceDataset in interface de.laures.cewolf.DatasetProducer
Throws:
de.laures.cewolf.DatasetProduceException

hasExpired

public boolean hasExpired(java.util.Map params,
                          java.util.Date since)
This producer's data is invalidated after 10 seconds.

Specified by:
hasExpired in interface de.laures.cewolf.DatasetProducer

getProducerId

public java.lang.String getProducerId()
Returns a unique ID for this DatasetProducer

Specified by:
getProducerId in interface de.laures.cewolf.DatasetProducer