Package org.molgenis.web
Class PluginController
- java.lang.Object
-
- org.molgenis.web.PluginController
-
public abstract class PluginController extends Object
Abstract base class for all MOLGENIS plugin controllers
-
-
Field Summary
Fields Modifier and Type Field Description static StringPLUGIN_URI_PREFIX
-
Constructor Summary
Constructors Constructor Description PluginController(String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Returns the unique id of the pluginorg.molgenis.data.EntitygetPluginSettings()Returns an entity containing settings for a plugin or null if no settings exist.StringgetUri()Returns the base URI of the plugin
-
-
-
Field Detail
-
PLUGIN_URI_PREFIX
public static final String PLUGIN_URI_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PluginController
public PluginController(String uri)
-
-
Method Detail
-
getUri
public String getUri()
Returns the base URI of the plugin
-
getId
public String getId()
Returns the unique id of the plugin
-
getPluginSettings
public org.molgenis.data.Entity getPluginSettings()
Returns an entity containing settings for a plugin or null if no settings exist.- Returns:
- entity or null
-
-