public class FixedStartPageFactory extends AbstractJspActionFactory<StartPageAction> implements StartPageAction
setUrl(String)
method supports path
variables. See PathConverter
.Modifier and Type | Field and Description |
---|---|
private StartPageAction[] |
actions |
private String |
description |
private String |
id |
private String |
name |
private String |
url |
Constructor and Description |
---|
FixedStartPageFactory()
Create a new factory instance.
|
Modifier and Type | Method and Description |
---|---|
StartPageAction[] |
getActions(InvokationContext<? super StartPageAction> context)
This method may be called one or several times for each request.
|
String |
getDescription()
Get an optional description of the start page.
|
String |
getId()
Get the ID of the the action.
|
String |
getName()
Get the name of the start page.
|
String |
getUrl()
Get the URL to the start page.
|
void |
setDescription(String description) |
void |
setName(String name) |
void |
setUrl(String url) |
prepareContext
getDynamicActionAttributes, getParameter, getScripts, getStylesheets, prepareContext, setParameter, setScript, setStylesheet
private StartPageAction[] actions
private String id
private String name
private String description
private String url
public FixedStartPageFactory()
public StartPageAction[] getActions(InvokationContext<? super StartPageAction> context)
ActionFactory
getActions
in interface ActionFactory<StartPageAction>
context
- The current invokation contextpublic String getId()
StartPageAction
getId
in interface StartPageAction
public String getName()
StartPageAction
getName
in interface StartPageAction
public String getDescription()
StartPageAction
getDescription
in interface StartPageAction
public String getUrl()
StartPageAction
$SESSION-ID$
as a placeholder for the current session id.
Eg. my_alternate_startpage.jsp?ID=$SESSION-ID$
getUrl
in interface StartPageAction
public void setName(String name)
public void setDescription(String description)
@VariableSetter @PathSetter public void setUrl(String url)