Class StartPageBean
java.lang.Object
net.sf.basedb.clients.web.extensions.startpage.StartPageBean
- All Implemented Interfaces:
StartPageAction
,Action
A simple bean-like implementation of the
StartPageAction
interface.- Since:
- 3.8
- Author:
- nicklas
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet an optional description of the start page.getId()
Get the ID of the the action.getName()
Get the name of the start page.getUrl()
Get the URL to the start page.void
setDescription
(String description) void
void
void
-
Field Details
-
id
-
name
-
description
-
url
-
-
Constructor Details
-
StartPageBean
public StartPageBean()
-
-
Method Details
-
getId
Description copied from interface:StartPageAction
Get the ID of the the action. This ID is stored as a user setting in BASE and is used to find the correct URL after logging in. It is recommended that an extension use the same ID as the extension itself have.- Specified by:
getId
in interfaceStartPageAction
-
getName
Description copied from interface:StartPageAction
Get the name of the start page.- Specified by:
getName
in interfaceStartPageAction
-
getDescription
Description copied from interface:StartPageAction
Get an optional description of the start page.- Specified by:
getDescription
in interfaceStartPageAction
-
getUrl
Description copied from interface:StartPageAction
Get the URL to the start page. The URL should be be an absolute URL. Use$SESSION-ID$
as a placeholder for the current session id. Eg.my_alternate_startpage.jsp?ID=$SESSION-ID$
- Specified by:
getUrl
in interfaceStartPageAction
- Returns:
- The URL to the page to load, or null to load the regular start page
-
setId
-
setName
-
setDescription
-
setUrl
-