| java.lang.Object | |
| ↳ | org.springframework.mock.web.portlet.MockPortalContext |
Mock implementation of the javax.portlet.PortalContext interface.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MockPortalContext
with default PortletModes (VIEW, EDIT, HELP)
and default WindowStates (NORMAL, MAXIMIZED, MINIMIZED).
| |||||||||||
Create a new MockPortalContext with the given PortletModes and WindowStates.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a new MockPortalContext with default PortletModes (VIEW, EDIT, HELP) and default WindowStates (NORMAL, MAXIMIZED, MINIMIZED).
Create a new MockPortalContext with the given PortletModes and WindowStates.
| supportedPortletModes | the List of supported PortletMode instances |
|---|---|
| supportedWindowStates | the List of supported WindowState instances |