| auction.controller.CEPage
All known Subclasses: auction.controller.Welcome, auction.controller.MyBooks, auction.controller.Profile, auction.controller.BookDetails, auction.controller.Search,
CEPage | public class CEPage extends XPage (Code) | | Superclass for all pages in the application,
handles exceptions, etc.
|
Constructor Summary | |
public | CEPage() |
currentUserModel | protected XPersistentPojoModel currentUserModel(Code) | | |
pojoContext | protected XPersistenceController pojoContext(Code) | | |
pojoHelper | protected XPojoHelper pojoHelper(Code) | | |
CEPage | public CEPage()(Code) | | Creates a new instance of CEPage
|
getCurrentUser | protected User getCurrentUser()(Code) | | Gets the currently logged-on user.
|
handleException | protected void handleException(Exception ex)(Code) | | Displays the exception message in an error dialog.
Parameters: ex - the exception whose message is to be shown |
init | protected void init()(Code) | | |
setCurrentUser | protected void setCurrentUser()(Code) | | Creates the "currentUser" model node
|
showDialog | protected int showDialog(String dialogName, String caption)(Code) | | Shows the specified dialog
Parameters: dialogName - the name of the dialog Parameters: caption - the caption to be set on the dialog a value indicating the button that was used to dismiss the dialog |
showErrorDialog | protected void showErrorDialog(String msg)(Code) | | Shows the error dialog
Parameters: msg - the message to be shown |
showMessageDialog | protected void showMessageDialog(String msg)(Code) | | Shows the message dialog
Parameters: msg - the message to be shown |
|
|