-
Within the EDIT portlet mode, a portlet should provide content and logic that lets a user customize
the behavior of the portlet.
When in HELP portlet mode, a portlet should provide help information about the portlet.
The expected functionality for a portlet in VIEW portlet mode is to generate markup reflecting the
current state of the portlet.
Returns the unsupported portlet mode causing this exception.
Returns the current portlet mode of the portlet.
boolean
Returns true, if the given portlet mode is a valid one to set for this portlet in the context of the current
request.
void
Sets the portlet mode of a portlet to the given portlet mode.
void
Indicates the portlet mode the portlet must be in, if this portlet URL triggers a request.
Constructs a new portlet mode exception when the portlet needs to do the following: throw an exception
include a message about the "root cause" that interfered with its normal operationinclude a description
messageinclude the portlet mode that caused this exception
Constructs a new portlet mode exception with the given text and the portlet mode that caused this exception.
Constructs a new portlet mode exception when the portlet needs to throw an exception.