|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation
org.torweg.pulse.component.statistics.model.aggregation.AbstractCountAggregation
org.torweg.pulse.component.statistics.model.aggregation.ScreenResolutionPerVisitAggregation
@Entity public class ScreenResolutionPerVisitAggregation
Stores the aggregated statistical data for ScreenResolution on a "per
Visit" basis for the set Duration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
AbstractAggregation.Hour |
| Field Summary |
|---|
| Fields inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
LOGGER |
| Constructor Summary | |
|---|---|
protected |
ScreenResolutionPerVisitAggregation()
Deprecated. |
|
ScreenResolutionPerVisitAggregation(ScreenResolution resolution, StatisticsServer server, Duration duration)
Creates a new ScreenResolutionPerVisitAggregation with the given
ScreenResolution, the given StatisticsServer and the
given Duration. |
| Method Summary | |
|---|---|
boolean |
aggregate(Visit visit,
org.hibernate.Session s)
Aggregates the given Visit. |
ScreenResolution |
getScreenResolution()
Returns the ScreenResolution the aggregation is related to. |
boolean |
isAggregateable(Visit visit)
Test if the given Visit is aggregate-able by the ScreenResolutionPerVisitAggregation. |
protected void |
setScreenResolution(ScreenResolution resolution)
Sets the ScreenResolution. |
java.lang.String |
toString()
Returns a string representation. |
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractCountAggregation |
|---|
getCount, increase, increaseBy, setCount |
| Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractAggregation |
|---|
getDataResolution, getDuration, getEndMillis, getStartMillis, getStatisticsServer, setDuration, setEndMillis, setStartMillis, setStatisticsServer |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected ScreenResolutionPerVisitAggregation()
public ScreenResolutionPerVisitAggregation(ScreenResolution resolution, StatisticsServer server, Duration duration)
ScreenResolutionPerVisitAggregation with the given
ScreenResolution, the given StatisticsServer and the
given Duration.
resolution - the OperatingSystemserver - the StatisticsServerduration - the Duration| Method Detail |
|---|
public final ScreenResolution getScreenResolution()
ScreenResolution the aggregation is related to.
ScreenResolutionprotected final void setScreenResolution(ScreenResolution resolution)
ScreenResolution.
resolution - the ScreenResolution
java.lang.NullPointerException - if the given resolution is nullpublic final boolean isAggregateable(Visit visit)
Visit is aggregate-able by the ScreenResolutionPerVisitAggregation.
isAggregateable in class AbstractAggregationvisit - the Visit
true if and only if the ScreenResolutionPerVisitAggregation can process the given
Visit, false otherwise#isAggregateable(org.torweg.pulse.component.statistics.model.Visit)
public final boolean aggregate(Visit visit,
org.hibernate.Session s)
Visit.
aggregate in class AbstractAggregationvisit - the Visits - the Session UNUSED
true if and only if the Visit has been processed,
false otherwise#aggregate(org.torweg.pulse.component.statistics.model.Visit)public final java.lang.String toString()
toString in class AbstractAggregation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||