public class DashboardController extends Object
Constructor and Description |
---|
DashboardController() |
Modifier and Type | Method and Description |
---|---|
String |
load(javax.servlet.http.HttpServletRequest request,
String id)
Load a dashboard view
|
String |
quicklinks()
Render Quick links to various services web portals
|
javax.ws.rs.core.Response |
save(javax.servlet.http.HttpServletRequest request,
String id,
String buffer)
Save a dashboard view
|
String |
whoami(javax.servlet.http.HttpServletRequest request)
Return HTTP request connection user name
|
public String load(@Context javax.servlet.http.HttpServletRequest request, String id)
request
- HTTP request objectid
- is dashboard unique identifierExamples.SYSTEM_DASHBOARD
public javax.ws.rs.core.Response save(@Context javax.servlet.http.HttpServletRequest request, String id, String buffer)
request
- HTTP request objectid
- is dashboard unique identifierbuffer
- is JSON structure of dashboard viewExamples.USER_DASHBOARD
public String whoami(@Context javax.servlet.http.HttpServletRequest request)
request
- HTTP request objectpublic String quicklinks()
Copyright © 2016 Apache Software Foundation. All Rights Reserved.