@Controller @RequestMapping(value="/plugin/catalogue") public class CatalogueController extends MolgenisPluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
CatalogueController(DataService dataService) |
| Modifier and Type | Method and Description |
|---|---|
ShoppingCart |
clearShoppingCart(javax.servlet.http.HttpSession session) |
void |
refreshShoppingCart(RefreshShoppingCartRequest request,
javax.servlet.http.HttpSession session) |
ShoppingCart |
removeFromShoppingCart(javax.servlet.http.HttpSession session,
String attributeName) |
String |
showShoppingCart(String entityName,
org.springframework.ui.Model model,
javax.servlet.http.HttpSession session) |
String |
showView(String selectedEntityName,
org.springframework.ui.Model model) |
getId, getUripublic static final String ID
public static final String URI
@Autowired public CatalogueController(DataService dataService)
@RequestMapping public String showView(@RequestParam(value="entity",required=false) String selectedEntityName, org.springframework.ui.Model model)
@RequestMapping(value="/shoppingcart",
method=POST)
@ResponseStatus(value=OK)
public void refreshShoppingCart(@RequestBody
RefreshShoppingCartRequest request,
javax.servlet.http.HttpSession session)
@RequestMapping(value="/shoppingcart/remove") @ResponseBody public ShoppingCart removeFromShoppingCart(javax.servlet.http.HttpSession session, @RequestParam(required=true) String attributeName)
@RequestMapping(value="/shoppingcart/clear") @ResponseBody public ShoppingCart clearShoppingCart(javax.servlet.http.HttpSession session)
Copyright © 2016. All Rights Reserved.