public interface View extends Resource, Localizable
loadContent(Filter...)
to get the view's displayable content.Modifier and Type | Method and Description |
---|---|
ViewLoader |
createLoader()
Creates a loader instance used to load this view with parameters.
|
Interval<DateUnit> |
getPredefinedDateInterval()
Returns the view's date interval defined in its report, or null
if there is no predefined interval.
|
Interval<TimeUnit> |
getPredefinedTimeInterval()
Returns the view's time interval defined in its report, or null
if there is no predefined interval.
|
ViewType |
getType()
Returns the type of this view.
|
boolean |
hasPredefinedDateInterval()
Returns true if this view has a date interval defined in its
report.
|
boolean |
hasPredefinedTimeInterval()
Returns true if this view has a time interval defined in its
report.
|
boolean |
isDateIntervalSupported()
Returns true if this view supports setting date intervals.
|
boolean |
isTimeIntervalSupported()
Returns true if this view supports setting time intervals.
|
Object |
loadContent(Collection<Filter<?>> filters)
Loads the content of this view.
|
Object |
loadContent(Filter<?>... filters)
Loads the content of this view.
|
getName, hasLocalization
ViewType getType()
Object loadContent(Filter<?>... filters)
filters
- optional filters to use when loading the viewObject loadContent(Collection<Filter<?>> filters)
filters
- filters to use when loading the viewboolean isDateIntervalSupported()
boolean isTimeIntervalSupported()
boolean hasPredefinedDateInterval()
boolean hasPredefinedTimeInterval()
Interval<DateUnit> getPredefinedDateInterval()
Interval<TimeUnit> getPredefinedTimeInterval()
ViewLoader createLoader()
Copyright © 2014. All rights reserved.