public class Layout extends Object
| Constructor and Description |
|---|
Layout() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String... message)
Add an error to the layout : display the body any way.
|
void |
addFatal(String message)
Add a fatal error to the layout : don't display the page body.
|
void |
addInfo(String message)
Add an info message to the layout.
|
boolean |
displayBody() |
ConnectedUser |
getConnectedUser() |
String |
getContextPath() |
FeedBack |
getFeedBack() |
Map |
getMenuItems() |
boolean |
isCurrentUserExists()
Test if the current user in session is a valid user.
|
boolean |
isDevEnvironment() |
public boolean isDevEnvironment()
public boolean isCurrentUserExists()
contributeApplicationStateManager(MappedConfiguration)public String getContextPath()
public ConnectedUser getConnectedUser()
public FeedBack getFeedBack()
public Map getMenuItems()
public boolean displayBody()
public void addInfo(String message)
message - of the infopublic void addError(String... message)
message - of the errorpublic void addFatal(String message)
message - of the errorCopyright © 2009-2012 Ifremer. All Rights Reserved.