When extending from the GenericPortlet abstract class, the following methods should be overridden:
The container calls this method once when the portlet object is created.
The render method calls this method when the portlet is in VIEW mode. The GenericPortlet class’ default implementation only throws an exception.
The render method calls this method when the portlet is in EDIT mode. The GenericPortlet class’ default implementation only throws an exception.
The render method calls this method when the portlet is in HELP mode. The GenericPortlet class’ default implementation only throws an exception.
The GenericPortlet class includes a default implementation that only throws an exception.
The container calls this method on the portlet when the portlet is being taken out of service.