public class TimeMapJsonPlugin extends java.lang.Object implements RestPluginProcess
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
ICON_BLUE |
protected static java.lang.String |
ICON_DARK_BLUE |
protected static java.lang.String |
ICON_DARK_GREEN |
protected static java.lang.String |
ICON_DARK_RED |
protected static java.lang.String |
ICON_DEFAULT |
protected static java.lang.String |
ICON_DULL_GREEN |
protected static java.lang.String |
ICON_DULL_RED |
protected static java.lang.String |
ICON_GRAY |
protected static java.lang.String |
ICON_GREEN |
protected static java.lang.String |
ICON_RED |
protected static java.lang.String |
THEME_BLUE |
protected static java.lang.String |
THEME_GREEN |
protected static java.lang.String |
THEME_LIGHT_BLUE |
protected static java.lang.String |
THEME_ORANGE |
protected static java.lang.String |
THEME_PINK |
protected static java.lang.String |
THEME_PURPLE |
protected static java.lang.String |
THEME_RED |
protected static java.lang.String |
THEME_YELLOW |
Constructor and Description |
---|
TimeMapJsonPlugin() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getIcon(java.lang.String status) |
protected java.lang.String |
getTheme(java.lang.String status) |
java.lang.Object |
restCreate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP POST calls the the Create ReST service.
|
java.lang.Object |
restDelete(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP DELETE calls the the Delete ReST service.
|
java.lang.Object |
restRetrieve(WebClient client,
RestDefinition restDefinition,
ReadOnlyDataSource rds)
HTTP GET calls the the Retrieval ReST service.
|
java.lang.Object |
restUpdate(WebClient client,
RestDefinition restDefinition,
MutableDataSource mds)
HTTP PUT calls the the Update ReST service.
|
protected static final java.lang.String ICON_DEFAULT
protected static final java.lang.String ICON_DULL_GREEN
protected static final java.lang.String ICON_DULL_RED
protected static final java.lang.String ICON_DARK_BLUE
protected static final java.lang.String ICON_DARK_GREEN
protected static final java.lang.String ICON_DARK_RED
protected static final java.lang.String ICON_GRAY
protected static final java.lang.String ICON_GREEN
protected static final java.lang.String ICON_BLUE
protected static final java.lang.String ICON_RED
protected static final java.lang.String THEME_BLUE
protected static final java.lang.String THEME_GREEN
protected static final java.lang.String THEME_LIGHT_BLUE
protected static final java.lang.String THEME_ORANGE
protected static final java.lang.String THEME_PINK
protected static final java.lang.String THEME_PURPLE
protected static final java.lang.String THEME_RED
protected static final java.lang.String THEME_YELLOW
public java.lang.Object restRetrieve(WebClient client, RestDefinition restDefinition, ReadOnlyDataSource rds) throws java.lang.Exception
RestPluginProcess
restRetrieve
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionrds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.java.lang.Exception
- an error has occurred.protected java.lang.String getIcon(java.lang.String status)
protected java.lang.String getTheme(java.lang.String status)
public java.lang.Object restCreate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restCreate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
public java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restUpdate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to usejava.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
public java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws java.lang.Exception
RestPluginProcess
restDelete
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to use.java.lang.UnsupportedOperationException
- if this method is NOT supported.ExceptionResponse
- an error has occurred.java.lang.Exception
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.