|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.bundle.Controller
org.torweg.pulse.component.core.site.content.filter.FilterContentDisplayer
public class FilterContentDisplayer
Is used to display FilterContents.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
FilterContentDisplayer()
|
|
| Method Summary | |
|---|---|
FilterContentDisplayerResult |
displayFilterContent(FilterContentRequestBean requestBean)
returns a FilterContentDisplayerResult for the given
FilterContent and the selected FilterRulePropertys. |
FilterContentDisplayerResult |
displayFilterContentAJAX(FilterContentRequestBean requestBean)
uses an XSLTOutputEvent to display the results using AJAX. |
CalendarSheet |
filterPageCalendarAJAX(FilterContentRequestBean requestBean)
does the paging of the calendar for filter contents having a filter assigned which is enabled for reference duration filtering. |
protected FilterContent |
getFilterContent(Command command,
org.hibernate.Session s)
returns the requested Filter. |
protected FilterContentDisplayerResult |
getFilterContentDisplayerResult(FilterContentRequestBean requestBean)
actually retrieves the content. |
void |
init(ConfigBean conf)
configures the controller. |
| Methods inherited from class org.torweg.pulse.bundle.Controller |
|---|
getAlwaysRun, isAlwaysRun, setAlwaysRun |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterContentDisplayer()
| Method Detail |
|---|
@Action(value="displayFilter", security=NEVER)
@Permission(value="displayFilterContent")
public FilterContentDisplayerResult displayFilterContent(@RequestBean
FilterContentRequestBean requestBean)
FilterContentDisplayerResult for the given
FilterContent and the selected FilterRulePropertys.
The FilterContent can be specified in two ways:
Command contains a Parameter named
"contentId", the displayer will try to load a FilterContent with
the given id.FilterContent as the Content of the given sitemapNodeID
of the current Command.
requestBean - the displayer's request bean
FilterContentDisplayerResult for the given
FilterContent and the selected FilterRuleProperty
s
@Action(value="displayFilterAJAX", generate=true, stripSitemapID=false, security=NEVER)
@Permission(value="displayFilterContent")
public FilterContentDisplayerResult displayFilterContentAJAX(@RequestBean
FilterContentRequestBean requestBean)
Otherwise this method behaves exactly like
displayFilterContent(FilterContentRequestBean)
.
requestBean - the displayer's request bean
nullprotected final FilterContentDisplayerResult getFilterContentDisplayerResult(FilterContentRequestBean requestBean)
requestBean - the current request
FilterContentDisplayerResult
protected FilterContent getFilterContent(Command command,
org.hibernate.Session s)
Filter.
The method first checks for a request parameter named
<em>contentId</em> with the id of the
FilterContent, and then looks for the sitemap-id of the
Command. If any of the both methods fails to retrieve a
FilterContent, a RuntimeException is thrown.
command - the current commands - the HibernateTM session
@Action(value="filterGetCalendarSheetAJAX", generate=true, stripSitemapID=false, security=NEVER)
@Permission(value="displayFilterContent")
public CalendarSheet filterPageCalendarAJAX(@RequestBean
FilterContentRequestBean requestBean)
requestBean - the displayer's request bean
CalendarSheetpublic void init(ConfigBean conf)
init in interface DeprecatedConfigurableconf - the configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||