public class CalendarResponseFunctions
extends java.lang.Object
Helper functions used by Calendar classes with responses: CreateCalendars, CreateCalendarEntry, CreateUpdateCalendarEntry DeleteCalendarEntry, DeleteCalendar GetCalendars, GetOneCalendar, GetCalendarEntry
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_TYPE_INSTANT |
static java.lang.String |
DATE_TYPE_ISO_DATE_TIME |
static java.lang.String |
DATE_TYPE_LOCAL_DATE |
static java.lang.String |
DATE_TYPE_LOCAL_DATE_TIME |
static java.lang.String |
MSG_ERR_PARTICIPANT_NOT_FOUND |
Constructor and Description |
---|
CalendarResponseFunctions() |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.json.JsonObject |
createCalendarResponse(io.vertx.core.json.JsonObject dominoResult,
io.vertx.core.json.JsonObject inCalData,
DbRequestParameters<io.vertx.core.json.JsonObject> request)
Prepare calendar response fields that will be used for creation
|
static com.hcl.domino.data.Document |
getParentDocument(io.vertx.core.json.JsonObject origCalEntryResult,
com.hcl.domino.data.Document origDoc,
com.hcl.domino.data.Database calDB,
DbRequestParameters<io.vertx.core.json.JsonObject> request,
java.lang.String calid)
Ensures parent calendar entry
|
static io.vertx.core.json.JsonObject |
getParticipantsResponse(com.hcl.domino.data.IDTable responses,
DbRequestParameters<io.vertx.core.json.JsonObject> request,
com.hcl.domino.data.Database calDB)
Gets participant’s response to a meeting
|
static io.vertx.core.json.JsonObject |
getResultWithResponse(com.hcl.domino.data.Document parentDoc,
DbRequestParameters<io.vertx.core.json.JsonObject> request,
io.vertx.core.json.JsonObject origCalEntryResult,
com.hcl.domino.data.Database calDB)
Collect result with all responses to show as one document
|
static boolean |
isParentDoc(io.vertx.core.json.JsonObject origCalEntryResult)
Checks if document is parent calendar entry
|
public static final java.lang.String DATE_TYPE_LOCAL_DATE
public static final java.lang.String DATE_TYPE_LOCAL_DATE_TIME
public static final java.lang.String DATE_TYPE_INSTANT
public static final java.lang.String DATE_TYPE_ISO_DATE_TIME
public static final java.lang.String MSG_ERR_PARTICIPANT_NOT_FOUND
public static io.vertx.core.json.JsonObject createCalendarResponse(io.vertx.core.json.JsonObject dominoResult, io.vertx.core.json.JsonObject inCalData, DbRequestParameters<io.vertx.core.json.JsonObject> request) throws KeepExceptionNotFound
Prepare calendar response fields that will be used for creation
dominoResult
- inCalData
- request
- KeepExceptionNotFound
public static com.hcl.domino.data.Document getParentDocument(io.vertx.core.json.JsonObject origCalEntryResult, com.hcl.domino.data.Document origDoc, com.hcl.domino.data.Database calDB, DbRequestParameters<io.vertx.core.json.JsonObject> request, java.lang.String calid) throws KeepExceptionNotFound
Ensures parent calendar entry
origCalEntryResult
- origDoc
- calDB
- request
- calid
- KeepExceptionNotFound
public static io.vertx.core.json.JsonObject getParticipantsResponse(com.hcl.domino.data.IDTable responses, DbRequestParameters<io.vertx.core.json.JsonObject> request, com.hcl.domino.data.Database calDB)
Gets participant’s response to a meeting
responses
- request
- calDB
- public static io.vertx.core.json.JsonObject getResultWithResponse(com.hcl.domino.data.Document parentDoc, DbRequestParameters<io.vertx.core.json.JsonObject> request, io.vertx.core.json.JsonObject origCalEntryResult, com.hcl.domino.data.Database calDB)
Collect result with all responses to show as one document
parentDoc
- request
- origCalEntryResult
- calDB
- public static boolean isParentDoc(io.vertx.core.json.JsonObject origCalEntryResult)
Checks if document is parent calendar entry
origCalEntryResult
-