@Controller @RequestMapping(value="VIEW") public class PluggableDataJspPortletController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INSTRUCTIONS_VIEW |
static String |
PREF_EXPOSE_DATA_AS_JSON |
static String |
PREF_JSP_NAME |
static String |
PREF_SECURITY_ROLE_NAMES |
| Constructor and Description |
|---|
PluggableDataJspPortletController() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
addUserInfoToModel(javax.portlet.PortletRequest req) |
String |
doView(javax.portlet.RenderRequest req,
org.springframework.ui.Model model) |
String |
getData(javax.portlet.ResourceRequest req,
javax.portlet.ResourceResponse resp,
org.springframework.ui.Model model)
Invoke the service to obtain the data (which would be cached if using the default
CachingConfigurableDataServiceImpl) and return the results as JSON.
|
void |
sendRedirect(String redirect,
javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
This method allows JSPs used with this portlet to provide links that track user interactions in uPortal
Statistics.
|
void |
setService(PluggableDataDao service) |
public static final String PREF_JSP_NAME
public static final String PREF_EXPOSE_DATA_AS_JSON
public static final String PREF_SECURITY_ROLE_NAMES
public static final String INSTRUCTIONS_VIEW
@RenderMapping public String doView(javax.portlet.RenderRequest req, org.springframework.ui.Model model)
@ActionMapping
public void sendRedirect(@RequestParam(value="redirect")
String redirect,
javax.portlet.ActionRequest req,
javax.portlet.ActionResponse res)
throws IOException
IOException@ResourceMapping public String getData(javax.portlet.ResourceRequest req, javax.portlet.ResourceResponse resp, org.springframework.ui.Model model)
@ModelAttribute(value="userInfo") public Map<String,String> addUserInfoToModel(javax.portlet.PortletRequest req)
public void setService(PluggableDataDao service)
Copyright © 2015 Jasig. All Rights Reserved.