Uses of Class
javax.portlet.PortletMode
-
Packages that use PortletMode Package Description javax.portlet The javax.portlet package defines the API for Java Portlet Specification V2.0.javax.portlet.filter The javax.portlet.filter package defines the filter APIs for the Java Portlet Specification. -
-
Uses of PortletMode in javax.portlet
Fields in javax.portlet declared as PortletMode Modifier and Type Field Description static PortletModePortletMode. EDITWithin theEDITportlet mode, a portlet should provide content and logic that lets a user customize the behavior of the portlet.static PortletModePortletMode. HELPWhen inHELPportlet mode, a portlet should provide help information about the portlet.static PortletModePortletMode. VIEWThe expected functionality for a portlet inVIEWportlet mode is to generate markup reflecting the current state of the portlet.Methods in javax.portlet that return PortletMode Modifier and Type Method Description PortletModePortletModeException. getMode()Returns the unsupported portlet mode causing this exception.PortletModePortletRequest. getPortletMode()Returns the current portlet mode of the portlet.PortletModePortletURL. getPortletMode()Returns the currently set portlet mode on this PortletURL.PortletModeStateAwareResponse. getPortletMode()Returns the currently set portlet mode on this reponse.Methods in javax.portlet that return types with arguments of type PortletMode Modifier and Type Method Description protected java.util.Collection<PortletMode>GenericPortlet. getNextPossiblePortletModes(RenderRequest request)Used by the render method to set the next possible portlet modes.java.util.Enumeration<PortletMode>PortalContext. getSupportedPortletModes()Returns all supported portlet modes by the portal as an enumeration ofPortletModeobjects.Methods in javax.portlet with parameters of type PortletMode Modifier and Type Method Description booleanPortletRequest. 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.voidPortletURL. setPortletMode(PortletMode portletMode)Indicates the portlet mode the portlet must be in, if this portlet URL triggers a request.voidStateAwareResponse. setPortletMode(PortletMode portletMode)Sets the portlet mode of a portlet to the given portlet mode.Method parameters in javax.portlet with type arguments of type PortletMode Modifier and Type Method Description voidRenderResponse. setNextPossiblePortletModes(java.util.Collection<PortletMode> portletModes)This method allows the portlet to tell the portal the next possible portlet modes that the make sense from the portlet point of view.Constructors in javax.portlet with parameters of type PortletMode Constructor Description 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: throw an exception include a message about the "root cause" that interfered with its normal operation include a description message include the portlet mode that caused this exceptionPortletModeException(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.Throwable cause, PortletMode mode)Constructs a new portlet mode exception when the portlet needs to throw an exception. -
Uses of PortletMode in javax.portlet.filter
Methods in javax.portlet.filter that return PortletMode Modifier and Type Method Description PortletModeActionResponseWrapper. getPortletMode()The default behavior of this method is to callgetPortletMode()on the wrapped response object.PortletModeEventResponseWrapper. getPortletMode()The default behavior of this method is to callgetPortletMode()on the wrapped response object.PortletModePortletRequestWrapper. getPortletMode()The default behavior of this method is to callgetPortletMode()on the wrapped request object.Methods in javax.portlet.filter with parameters of type PortletMode Modifier and Type Method Description booleanPortletRequestWrapper. isPortletModeAllowed(PortletMode mode)The default behavior of this method is to callisPortletModeAllowed(mode)on the wrapped request object.voidActionResponseWrapper. setPortletMode(PortletMode portletMode)The default behavior of this method is to callsetPortletMode(portletMode)on the wrapped response object.voidEventResponseWrapper. setPortletMode(PortletMode portletMode)The default behavior of this method is to callsetPortletMode(portletMode)on the wrapped response object.Method parameters in javax.portlet.filter with type arguments of type PortletMode Modifier and Type Method Description voidRenderResponseWrapper. setNextPossiblePortletModes(java.util.Collection<PortletMode> portletModes)The default behavior of this method is to callsetNextPossiblePortletModes()on the wrapped response object.
-