public class RestFullCalendarV2 extends java.lang.Object implements RestPluginProcess
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
TIME_FORMAT |
Constructor and Description |
---|
RestFullCalendarV2() |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustEventJson(JSONArray events,
JSONObject event,
DBObject obj) |
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 Task[] |
searchDBObject(WebClient client,
RestDefinition rd,
ReadOnlyDataSource rds) |
protected static final java.lang.String TIME_FORMAT
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 void adjustEventJson(JSONArray events, JSONObject event, DBObject obj) throws java.lang.Exception
java.lang.Exception
protected Task[] searchDBObject(WebClient client, RestDefinition rd, ReadOnlyDataSource rds) throws java.lang.Exception
java.lang.Exception
public java.lang.Object restCreate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws ExceptionResponse
RestPluginProcess
restCreate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to useExceptionResponse
- an error has occurred.public java.lang.Object restUpdate(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws ExceptionResponse
RestPluginProcess
restUpdate
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to useExceptionResponse
- an error has occurred.public java.lang.Object restDelete(WebClient client, RestDefinition restDefinition, MutableDataSource mds) throws ExceptionResponse
RestPluginProcess
restDelete
in interface RestPluginProcess
client
- the client. Null means check only of opsrestDefinition
- the definitionmds
- the data source to use.ExceptionResponse
- an error has occurred.stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.