org.molgenis.omx.controller
Class DataSetsIndexerController

java.lang.Object
  extended by org.molgenis.framework.ui.MolgenisPlugin
      extended by org.molgenis.omx.controller.DataSetsIndexerController

@Controller
@RequestMapping(value="/plugin/dataindexer")
public class DataSetsIndexerController
extends MolgenisPlugin

Controller class for the data explorer. The implementation javascript file for the resultstable is defined in a MolgenisSettings property named 'dataexplorer.resultstable.js' possible values are '/js/SingleObservationSetTable.js' or '/js/MultiObservationSetTable.js' with '/js/MultiObservationSetTable.js' as the default

Author:
erwin

Field Summary
static String URI
           
 
Fields inherited from class org.molgenis.framework.ui.MolgenisPlugin
PLUGIN_URI_PREFIX
 
Constructor Summary
DataSetsIndexerController()
           
 
Method Summary
 String handleNotAuthenticated()
           
 org.molgenis.omx.controller.DataSetsIndexerController.DataSetIndexResponse index(org.molgenis.omx.controller.DataSetsIndexerController.DataSetIndexRequest request)
           
 String init(org.springframework.ui.Model model)
          Show the explorer page
 
Methods inherited from class org.molgenis.framework.ui.MolgenisPlugin
getId, getUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public static final String URI
See Also:
Constant Field Values
Constructor Detail

DataSetsIndexerController

public DataSetsIndexerController()
Method Detail

init

@RequestMapping(method=GET)
public String init(org.springframework.ui.Model model)
            throws Exception
Show the explorer page

Parameters:
model -
Returns:
the view name
Throws:
DatabaseException
Exception

index

@RequestMapping(method=POST,
                value="/index",
                consumes="application/json",
                produces="application/json")
@ResponseBody
public org.molgenis.omx.controller.DataSetsIndexerController.DataSetIndexResponse index(@RequestBody
                                                                                                                    org.molgenis.omx.controller.DataSetsIndexerController.DataSetIndexRequest request)
                                                                                 throws UnsupportedEncodingException,
                                                                                        TableException
Throws:
UnsupportedEncodingException
TableException

handleNotAuthenticated

@ExceptionHandler(value=org.molgenis.framework.db.DatabaseAccessException.class)
public String handleNotAuthenticated()


Copyright © 2013. All Rights Reserved.