|
|
|
|
|
||||||||||
| 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.HomepageRedirector
public final class HomepageRedirector
redirects to the first visible SitemapNode in the current
Locale.
| Nested Class Summary | |
|---|---|
static class |
HomepageRedirector.GoToHomepageRequest
a simple request bean for locales. |
| Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller |
|---|
Controller.AlwaysRun |
| Constructor Summary | |
|---|---|
HomepageRedirector()
|
|
| Method Summary | |
|---|---|
void |
goToHomepage(HomepageRedirector.GoToHomepageRequest bean)
redirects to the first visible SitemapNode in the current
Locale. |
protected static boolean |
redirect(ServiceRequest request,
java.util.Locale locale)
tries to redirect to the given locale. |
| 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 HomepageRedirector()
| Method Detail |
|---|
@Action(value="homepage", generate=true)
@Permission(value="user")
public void goToHomepage(@RequestBean
HomepageRedirector.GoToHomepageRequest bean)
SitemapNode in the current
Locale.
bean - the request bean
protected static boolean redirect(ServiceRequest request,
java.util.Locale locale)
request - the current requestlocale - the given locale
true, if the redirect event was successfully set.
Otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||