Portal servers typically allow three portlet modes: View, Edit, and Help.
The View mode is the default state when rendering a portlet. The portlet window has links in the title bar that enable you to change the mode to Help or Edit.
To add a Help mode view, add the doHelp() with the same signature as the doView() function.
To support the edit mode create the doEdit().