|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of PortletMode in javax.portlet |
|---|
| Fields in javax.portlet declared as PortletMode | |
|---|---|
private PortletMode |
PortletModeException._mode
|
static PortletMode |
PortletMode.EDIT
Within the EDIT portlet mode, a portlet should provide
content and logic that lets a user customize the behavior of the portlet. |
static PortletMode |
PortletMode.HELP
When in HELP portlet mode, a portlet should provide help
information about the portlet. |
static PortletMode |
PortletMode.VIEW
The expected functionality for a portlet in VIEW portlet mode
is to generate markup reflecting the current state of the portlet. |
| Methods in javax.portlet that return PortletMode | |
|---|---|
PortletMode |
PortletModeException.getMode()
Returns the unsupported portlet mode causing this exception. |
PortletMode |
PortletRequest.getPortletMode()
Returns the current portlet mode of the portlet. |
| Methods in javax.portlet with parameters of type PortletMode | |
|---|---|
boolean |
PortletRequest.isPortletModeAllowed(PortletMode mode)
Returns true, if the given portlet mode is a valid one to set for this portlet in the context of the current request. |
void |
PortletURL.setPortletMode(PortletMode portletMode)
Indicates the portlet mode the portlet must be in, if this portlet URL triggers a request. |
void |
ActionResponse.setPortletMode(PortletMode portletMode)
Sets the portlet mode of a portlet to the given portlet mode. |
| Constructors in javax.portlet with parameters of type PortletMode | |
|---|---|
PortletModeException(java.lang.String text,
PortletMode mode)
Constructs a new portlet mode exception with the given text and the portlet mode that caused this exception. |
|
PortletModeException(java.lang.String text,
java.lang.Throwable cause,
PortletMode mode)
Constructs a new portlet mode exception when the portlet needs to do the following: |
|
PortletModeException(java.lang.Throwable cause,
PortletMode mode)
Constructs a new portlet mode exception when the portlet needs to throw an exception. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||