@Controller
@RequestMapping(value="ADMIN")
public class TaskbarAdminController
extends org.osivia.portal.api.portlet.PortalGenericPortlet
implements org.springframework.web.portlet.context.PortletContextAware
PortalGenericPortlet| Constructor and Description |
|---|
TaskbarAdminController()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TaskbarConfiguration |
getConfiguration(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get taskbar configuration model attribute.
|
String |
getOrder(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response,
TaskbarConfiguration configuration)
Get tasks order model attribute.
|
List<TaskbarView> |
getViews(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Get taskbar views model attribute.
|
void |
save(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
TaskbarConfiguration configuration,
String order)
Save action mapping.
|
void |
setPortletContext(javax.portlet.PortletContext portletContext) |
String |
view(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Render mapping.
|
addNotification, addNotification, getBundleFactory, getDirectoryService, getMenubarService, getMessage, getMessage, getNotificationsService, getPortalUrlFactory, getTraceServicedestroy, doDispatch, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, init, processAction, processEvent, render, serveResource@RenderMapping public String view(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException
request - render requestresponse - render responsejavax.portlet.PortletException@ActionMapping(value="save")
public void save(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="configuration")
TaskbarConfiguration configuration,
@RequestParam(value="order")
String order)
throws javax.portlet.PortletException
request - action requestresponse - action responseconfiguration - taskbar configuration model attributeorder - tasks order request parameterjavax.portlet.PortletException@ModelAttribute(value="configuration") public TaskbarConfiguration getConfiguration(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletException@ModelAttribute(value="order") public String getOrder(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response, @ModelAttribute(value="configuration") TaskbarConfiguration configuration)
request - portlet requestresponse - portlet responseconfiguration - taskbar configuration model attribute@ModelAttribute(value="views") public List<TaskbarView> getViews(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException
request - portlet requestresponse - portlet responsejavax.portlet.PortletExceptionpublic void setPortletContext(javax.portlet.PortletContext portletContext)
setPortletContext in interface org.springframework.web.portlet.context.PortletContextAwareCopyright © 2017 OSIVIA. All rights reserved.