public class CalendarFunctions
extends java.lang.Object
Helper functions used by Calendar classes: CreateCalendars, CreateCalendarEntry, CreateUpdateCalendarEntry DeleteCalendarEntry, DeleteCalendar GetCalendars, GetOneCalendar, GetCalendarEntry
Modifier and Type | Class and Description |
---|---|
static class |
CalendarFunctions.DateStartEnd
Flag stating start or end date
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
API_FORM_APPOINTMENT |
static java.lang.String |
API_TYPE_CALENDAR |
static java.lang.String |
API_TYPE_CALENDAR_APPOINTMENT |
static java.lang.String |
API_TYPE_CALENDAR_RESPONSE |
static java.lang.String |
API_TYPE_CONTACTS |
static java.lang.String |
API_TYPE_JOURNAL |
static java.lang.String |
API_TYPE_TASK |
static java.lang.String |
FIELD_ABSOLUTETRIGGER |
static java.lang.String |
FIELD_ACKNOWLEDGED |
static java.lang.String |
FIELD_ACTION |
static java.lang.String |
FIELD_ALARMS |
static java.lang.String |
FIELD_ALERT |
static java.lang.String |
FIELD_ALERTS |
static java.lang.String |
FIELD_ALTCHAIR |
static java.lang.String |
FIELD_APPOINTMENTTYPE |
static java.lang.String |
FIELD_APPTUNID |
static java.lang.String |
FIELD_APPTUNIDURL |
static java.lang.String |
FIELD_AT_CREATED |
static java.lang.String |
FIELD_AT_LASTMODIFIED |
static java.lang.String |
FIELD_AT_TYPE |
static java.lang.String |
FIELD_ATTENDEE |
static java.lang.String |
FIELD_BODY |
static java.lang.String |
FIELD_BOOKFREETIME |
static java.lang.String |
FIELD_BUSYNAME |
static java.lang.String |
FIELD_BUSYPRIORITY |
static java.lang.String |
FIELD_CALENDARDATETIME |
static java.lang.String |
FIELD_CALENDAREVENTID |
static java.lang.String |
FIELD_CATEGORIES |
static java.lang.String |
FIELD_CHAIR |
static java.lang.String |
FIELD_CHAIR_JMAP |
static java.lang.String |
FIELD_CHAIRDOMAIN |
static java.lang.String |
FIELD_COMMENT |
static java.lang.String |
FIELD_CONTACT |
static java.lang.String |
FIELD_CREATED |
static java.lang.String |
FIELD_CSVERSION |
static java.lang.String |
FIELD_CURRENTUSER |
static java.lang.String |
FIELD_DELEGATED |
static java.lang.String |
FIELD_DELEGATED_FROM |
static java.lang.String |
FIELD_DELEGATED_TO |
static java.lang.String |
FIELD_DELEGATOR |
static java.lang.String |
FIELD_DELEGEE |
static java.lang.String |
FIELD_DESCRIPTION |
static java.lang.String |
FIELD_DESCRIPTIONCONTENTTYPE |
static java.lang.String |
FIELD_DISPLAY |
static java.lang.String |
FIELD_DOLL_ABSTRACT |
static java.lang.String |
FIELD_DOLL_ADDITIONALVIRTUALLOCATIONS |
static java.lang.String |
FIELD_DOLL_ALARM |
static java.lang.String |
FIELD_DOLL_ALARMDESCRIPTION |
static java.lang.String |
FIELD_DOLL_ALARMDISABLED |
static java.lang.String |
FIELD_DOLL_ALARMMEMOOPTIONS |
static java.lang.String |
FIELD_DOLL_ALARMOFFSET |
static java.lang.String |
FIELD_DOLL_ALARMSENDTO |
static java.lang.String |
FIELD_DOLL_ALARMTIME |
static java.lang.String |
FIELD_DOLL_ALARMUNIT |
static java.lang.String |
FIELD_DOLL_ALTPRINCIPAL |
static java.lang.String |
FIELD_DOLL_BUSYNAME |
static java.lang.String |
FIELD_DOLL_BUSYPRIORITY |
static java.lang.String |
FIELD_DOLL_CSFLAGS |
static java.lang.String |
FIELD_DOLL_CSVERSION |
static java.lang.String |
FIELD_DOLL_EXPANDED_GROUPS |
static java.lang.String |
FIELD_DOLL_FROMPREFLANGUAGE |
static java.lang.String |
FIELD_DOLL_HFFLAGS |
static java.lang.String |
FIELD_DOLL_INET_CHAIR |
static java.lang.String |
FIELD_DOLL_JSCALENDAR |
static java.lang.String |
FIELD_DOLL_NOPURGE |
static java.lang.String |
FIELD_DOLL_PUBLICACCESS |
static java.lang.String |
FIELD_DOLL_REVISIONS |
static java.lang.String |
FIELD_DOLL_SMTPKEEP_NOTES_ITEMS |
static java.lang.String |
FIELD_DOLL_UPDATEDBY |
static java.lang.String |
FIELD_DURATION |
static java.lang.String |
FIELD_EMAIL |
static java.lang.String |
FIELD_END |
static java.lang.String |
FIELD_ENDDATE |
static java.lang.String |
FIELD_ENDDATETIME |
static java.lang.String |
FIELD_ENDTIME |
static java.lang.String |
FIELD_ENDTIMEZONE |
static java.lang.String |
FIELD_EVENTPATCH |
static java.lang.String |
FIELD_EXPANDGROUPS |
static java.lang.String |
FIELD_FORM |
static java.lang.String |
FIELD_FREQUENCY |
static java.lang.String |
FIELD_FROM |
static java.lang.String |
FIELD_FYIATTENDEES |
static java.lang.String |
FIELD_ID |
static java.lang.String |
FIELD_INET_FROM |
static java.lang.String |
FIELD_INET_FYI_NAMES |
static java.lang.String |
FIELD_INET_MAIL_MATCHER |
static java.lang.String |
FIELD_INET_OPTIONAL_NAMES |
static java.lang.String |
FIELD_INET_REQUIRED_NAMES |
static java.lang.String |
FIELD_INFORMATIONAL |
static java.lang.String |
FIELD_INTERVAL |
static java.lang.String |
FIELD_INVITEE |
static java.lang.String |
FIELD_INVITEE_NAME |
static java.lang.String |
FIELD_INVITEE_RESPONSE |
static java.lang.String |
FIELD_LOCATION |
static java.lang.String |
FIELD_LOCATIONS |
static java.lang.String |
FIELD_MAILOPTIONS |
static java.lang.String |
FIELD_MEETINGTITLE |
static java.lang.String |
FIELD_NAME |
static java.lang.String |
FIELD_NEW_END_DATE |
static java.lang.String |
FIELD_NEW_START_DATE |
static java.lang.String |
FIELD_NOPURGE |
static java.lang.String |
FIELD_NOTICETYPE |
static java.lang.String |
FIELD_OFFSET |
static java.lang.String |
FIELD_OFFSETTRIGGER |
static java.lang.String |
FIELD_ONLINEMEETING |
static java.lang.String |
FIELD_OPTIONAL |
static java.lang.String |
FIELD_OPTIONALATTENDEES |
static java.lang.String |
FIELD_ORGCONFIDENTIAL |
static java.lang.String |
FIELD_ORGREPEAT |
static java.lang.String |
FIELD_ORGTABLE |
static java.lang.String |
FIELD_OVERRIDES |
static java.lang.String |
FIELD_OWNER |
static java.lang.String |
FIELD_PARTICIPANT |
static java.lang.String |
FIELD_PARTICIPANTS |
static java.lang.String |
FIELD_PARTICIPATION_COMMENT |
static java.lang.String |
FIELD_PARTICIPATION_STATUS |
static java.lang.String |
FIELD_POSTEDDATE |
static java.lang.String |
FIELD_PRINCIPAL |
static java.lang.String |
FIELD_PRIVACY |
static java.lang.String |
FIELD_PRIVATE |
static java.lang.String |
FIELD_PROPOSED_END_DATE |
static java.lang.String |
FIELD_PROPOSED_START_DATE |
static java.lang.String |
FIELD_PUBLIC |
static java.lang.String |
FIELD_RELATIVETO |
static java.lang.String |
FIELD_REPEATS |
static java.lang.String |
FIELD_REQUIREDATTENDEES |
static java.lang.String |
FIELD_REVISIONS |
static java.lang.String |
FIELD_ROLES |
static java.lang.String |
FIELD_SENDTO |
static java.lang.String |
FIELD_SEQUENCENUM |
static java.lang.String |
FIELD_SHOWWITHOUTTIME |
static java.lang.String |
FIELD_START |
static java.lang.String |
FIELD_STARTDATE |
static java.lang.String |
FIELD_STARTDATETIME |
static java.lang.String |
FIELD_STARTTIME |
static java.lang.String |
FIELD_STARTTIMEZONE |
static java.lang.String |
FIELD_STATUS_UPDATE |
static java.lang.String |
FIELD_SUBJECT |
static java.lang.String |
FIELD_TIMEZONE |
static java.lang.String |
FIELD_TITLE |
static java.lang.String |
FIELD_TOPIC |
static java.lang.String |
FIELD_TRIGGER |
static java.lang.String |
FIELD_TYPE_JSEVENT |
static java.lang.String |
FIELD_UPDATED |
static java.lang.String |
FIELD_URI |
static java.lang.String |
FIELD_VIEWICON |
static java.lang.String |
FIELD_VIRTUALLOCATION |
static java.lang.String |
FIELD_VIRTUALLOCATIONS |
static java.lang.String |
FIELD_WHEN |
static java.lang.String |
MSG_CREATION_COMPLETE |
static java.lang.String |
MSG_DELETION_COMPLETE |
static java.lang.String |
MSG_ERR_CAL_NOT_FOUND |
static java.lang.String |
MSG_ERR_CAL_NOT_FOUND_USER |
static java.lang.String |
MSG_ERR_DEFAULT_ONLY |
static java.lang.String |
MSG_ERR_FAILED_IDS |
static java.lang.String |
MSG_ERR_NO_ACCESS_TO_ADDITIONAL_CALENDAR |
static java.lang.String |
MSG_ERR_NO_ACCESS_TO_CALENDAR |
static java.lang.String |
MSG_ERR_NO_CAL_ENTRY |
static java.lang.String |
MSG_ERR_NO_RESPONSE |
static java.lang.String |
MSG_ERR_PARAM_MISSING |
static java.lang.String |
UTCDATEPATTERN |
static java.lang.String |
VALUE_ANNIVERSARY |
static java.lang.String |
VALUE_APPOINTMENT_TYPE_ALL_DAY |
static java.lang.String |
VALUE_APPOINTMENT_TYPE_ANNIVERSARY |
static java.lang.String |
VALUE_APPOINTMENT_TYPE_MEETING |
static java.lang.String |
VALUE_APPOINTMENT_TYPE_REMINDER |
static java.lang.String |
VALUE_ASIA_CALCUTTA |
static java.lang.String |
VALUE_DURATION_ALL_DAY |
static java.lang.String |
VALUE_DURATION_ALL_DAY_FORMAT |
static java.lang.String |
VALUE_DURATION_ALL_DAY_RGX_FORMAT |
static java.lang.String |
VALUE_EVENT |
static java.lang.String |
VALUE_FORM_NOTICE |
static java.lang.String |
VALUE_INDIA |
static java.lang.String |
VALUE_MEETING |
static java.lang.String |
VALUE_REMINDER |
static java.lang.String |
VALUE_STATUS_ACCEPTED |
static java.lang.String |
VALUE_STATUS_DECLINED |
static java.lang.String |
VALUE_STATUS_DELEGATED |
static java.lang.String |
VALUE_STATUS_NEEDS_ACTION |
static java.lang.String |
VALUE_STATUS_TENTATIVE |
static java.lang.String |
VALUE_STATUS_WAITING_FOR_REPLY |
static java.lang.String |
VALUE_TEXTHTML |
static java.lang.String |
VALUE_TEXTPLAIN |
static java.lang.String |
VALUE_TZ_ZULU |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
computeDuration(io.vertx.core.json.JsonObject source) |
static java.util.function.Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> |
convertToJmapResponse() |
static io.vertx.core.json.JsonArray |
convertToList(java.lang.String key,
io.vertx.core.json.JsonObject source) |
static io.vertx.core.Future<java.lang.Void> |
createSecondaryCalendarDb(io.vertx.core.Vertx vertx,
java.lang.String templateCandidateName,
KeepDbInfo curDBInfo,
java.lang.String userName) |
static boolean |
doesSecondaryMailFileDbExist(KeepDbInfo curDBInfo)
Checks if the physical Calendar extension database exists Name is derived from actual mail file
|
static java.lang.String |
ensureRoleHasBrackets(java.lang.String roleName)
Ensures Calendar Names start and end with [ ]
|
static void |
extractParticipantIdAndEmail(io.vertx.core.json.JsonObject dominoResult,
java.util.Map<java.lang.String,java.lang.String> participantIdAndEmail) |
static java.util.function.Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> |
filterCalendarResponseResult() |
static java.lang.String |
formatDateByEventType(java.lang.String date,
java.lang.String eventType,
java.lang.String zoneId) |
static java.lang.String |
formatLocalDateTime(java.lang.String date,
java.lang.String zoneId) |
static java.lang.String |
formatTimeZone(java.lang.String zoneId) |
static java.lang.String |
getAllDayEventDateAnyZone(java.lang.String dateTime,
java.lang.String zoneId,
java.lang.String duration,
CalendarFunctions.DateStartEnd dateStartEnd)
Updates All Day Event date start time at 4:00am and date end time at 8:00pm
|
static java.lang.String |
getBase64URLEncoded(java.lang.String name) |
static java.util.List<java.lang.String> |
getDominoParticipantKeyList() |
static java.lang.String |
getDominoResponse(java.lang.String response) |
static java.lang.String |
getDuration(java.lang.String dateTime,
java.lang.String duration)
Transforms into hours, minutes and seconds based on the given duration
|
static java.lang.String |
getISODateTimeZone(java.lang.String dateTime,
java.lang.String timeZone)
Transforms date and time to ISO date format in given datetime and timezone
|
static java.lang.String |
getJMapResponse(java.lang.String response) |
static java.lang.String |
getMapperType(java.lang.String form)
Maps the form to a jmap mapper type
|
static com.hcl.domino.data.Database |
getSecondaryCalendarDB(KeepJnxSession session,
KeepDbInfo dbInfo,
java.lang.String calID)
Deprecated.
|
static java.lang.String |
getSecondaryFileName(KeepDbInfo curDBInfo)
Returns the file name for the secondary Calendar mail files Depending on config it might have or have not a .nsf extension
|
static com.hcl.domino.data.Database |
getSecondaryMailFileDb(KeepJnxSession session,
KeepDbInfo curDBInfo)
Opens secondary mail file for processing
|
static java.lang.String |
getUTCdate(java.lang.String date) |
static java.lang.String |
getUTCDateTime(java.lang.String dateTime,
java.lang.String timeZone)
Transforms date and time to UTC date format in given datetime and timezone
|
static java.lang.String |
getUUID(java.lang.String name)
Retrieves UUID of a name
|
static java.lang.Integer |
getViewIcon(java.lang.String response) |
static boolean |
isInstantDtTime(java.lang.String date)
Validate Instant date format
|
static boolean |
isLocalDateFormat(java.lang.String date)
Validate LocalDate format
|
static boolean |
isLocalDateTimeFormat(java.lang.String date)
Validate LocalDateTime format
|
static java.lang.String |
removeBrackets(java.lang.String name)
Removes [ ] at the start and end of a String
|
static java.util.Collection<java.lang.String> |
splitRecipients(java.lang.String recipient)
Returns the list of mail recipients
|
static io.vertx.core.json.JsonObject |
storeJsCalendarInNotes(io.vertx.core.json.JsonObject source) |
static io.vertx.core.json.JsonObject |
updateAndSendCalEntry(KeepJnxSession session,
com.hcl.domino.data.Document note,
io.vertx.core.json.JsonObject jsonSource,
java.lang.String calID,
boolean send,
java.lang.String message)
Create or update and, when requested, sends a calendar entry
|
static io.vertx.core.json.JsonObject |
updateCalendarInputData(io.vertx.core.json.JsonObject source,
DbRequestParameters<io.vertx.core.json.JsonObject> request)
Update input to prepare for mapping
|
static io.vertx.core.json.JsonObject |
updateCalendarOutputData(io.vertx.core.json.JsonObject source,
com.hcl.domino.data.Document parentDoc,
DbRequestParameters<io.vertx.core.json.JsonObject> request) |
static io.vertx.core.json.JsonObject |
updateNameToEmail(io.vertx.core.json.JsonObject source,
com.hcl.domino.DominoClient client) |
public static final java.lang.String API_FORM_APPOINTMENT
public static final java.lang.String API_TYPE_CALENDAR
public static final java.lang.String API_TYPE_CALENDAR_APPOINTMENT
public static final java.lang.String API_TYPE_CALENDAR_RESPONSE
public static final java.lang.String API_TYPE_CONTACTS
public static final java.lang.String API_TYPE_JOURNAL
public static final java.lang.String API_TYPE_TASK
public static final java.lang.String FIELD_ABSOLUTETRIGGER
public static final java.lang.String FIELD_ACTION
public static final java.lang.String FIELD_ACKNOWLEDGED
public static final java.lang.String FIELD_ALARMS
public static final java.lang.String FIELD_ALERT
public static final java.lang.String FIELD_ALERTS
public static final java.lang.String FIELD_ALTCHAIR
public static final java.lang.String FIELD_APPOINTMENTTYPE
public static final java.lang.String FIELD_APPTUNIDURL
public static final java.lang.String FIELD_APPTUNID
public static final java.lang.String FIELD_ATTENDEE
public static final java.lang.String FIELD_AT_CREATED
public static final java.lang.String FIELD_AT_TYPE
public static final java.lang.String FIELD_AT_LASTMODIFIED
public static final java.lang.String FIELD_BODY
public static final java.lang.String FIELD_BOOKFREETIME
public static final java.lang.String FIELD_BUSYNAME
public static final java.lang.String FIELD_BUSYPRIORITY
public static final java.lang.String FIELD_CALENDARDATETIME
public static final java.lang.String FIELD_CALENDAREVENTID
public static final java.lang.String FIELD_CATEGORIES
public static final java.lang.String FIELD_CHAIR
public static final java.lang.String FIELD_CHAIRDOMAIN
public static final java.lang.String FIELD_CHAIR_JMAP
public static final java.lang.String FIELD_COMMENT
public static final java.lang.String FIELD_CONTACT
public static final java.lang.String FIELD_CREATED
public static final java.lang.String FIELD_CSVERSION
public static final java.lang.String FIELD_CURRENTUSER
public static final java.lang.String FIELD_DESCRIPTION
public static final java.lang.String FIELD_DESCRIPTIONCONTENTTYPE
public static final java.lang.String FIELD_DISPLAY
public static final java.lang.String FIELD_DOLL_ABSTRACT
public static final java.lang.String FIELD_DOLL_ADDITIONALVIRTUALLOCATIONS
public static final java.lang.String FIELD_DOLL_ALARM
public static final java.lang.String FIELD_DOLL_ALARMDESCRIPTION
public static final java.lang.String FIELD_DOLL_ALARMDISABLED
public static final java.lang.String FIELD_DOLL_ALARMMEMOOPTIONS
public static final java.lang.String FIELD_DOLL_ALARMOFFSET
public static final java.lang.String FIELD_DOLL_ALARMSENDTO
public static final java.lang.String FIELD_DOLL_ALARMTIME
public static final java.lang.String FIELD_DOLL_ALARMUNIT
public static final java.lang.String FIELD_DOLL_ALTPRINCIPAL
public static final java.lang.String FIELD_DOLL_BUSYNAME
public static final java.lang.String FIELD_DOLL_BUSYPRIORITY
public static final java.lang.String FIELD_DOLL_CSFLAGS
public static final java.lang.String FIELD_DOLL_CSVERSION
public static final java.lang.String FIELD_DOLL_EXPANDED_GROUPS
public static final java.lang.String FIELD_DOLL_FROMPREFLANGUAGE
public static final java.lang.String FIELD_DOLL_HFFLAGS
public static final java.lang.String FIELD_DOLL_INET_CHAIR
public static final java.lang.String FIELD_DOLL_JSCALENDAR
public static final java.lang.String FIELD_DOLL_NOPURGE
public static final java.lang.String FIELD_DOLL_PUBLICACCESS
public static final java.lang.String FIELD_DOLL_REVISIONS
public static final java.lang.String FIELD_DOLL_SMTPKEEP_NOTES_ITEMS
public static final java.lang.String FIELD_DOLL_UPDATEDBY
public static final java.lang.String FIELD_DURATION
public static final java.lang.String FIELD_DELEGATOR
public static final java.lang.String FIELD_DELEGATED
public static final java.lang.String FIELD_DELEGATED_FROM
public static final java.lang.String FIELD_DELEGATED_TO
public static final java.lang.String FIELD_DELEGEE
public static final java.lang.String FIELD_EMAIL
public static final java.lang.String FIELD_END
public static final java.lang.String FIELD_ENDDATE
public static final java.lang.String FIELD_ENDDATETIME
public static final java.lang.String FIELD_ENDTIME
public static final java.lang.String FIELD_ENDTIMEZONE
public static final java.lang.String FIELD_EXPANDGROUPS
public static final java.lang.String FIELD_EVENTPATCH
public static final java.lang.String FIELD_FORM
public static final java.lang.String FIELD_FREQUENCY
public static final java.lang.String FIELD_FROM
public static final java.lang.String FIELD_FYIATTENDEES
public static final java.lang.String FIELD_ID
public static final java.lang.String FIELD_INFORMATIONAL
public static final java.lang.String FIELD_INET_FROM
public static final java.lang.String FIELD_INET_OPTIONAL_NAMES
public static final java.lang.String FIELD_INET_REQUIRED_NAMES
public static final java.lang.String FIELD_INET_FYI_NAMES
public static final java.lang.String FIELD_INET_MAIL_MATCHER
public static final java.lang.String FIELD_INTERVAL
public static final java.lang.String FIELD_INVITEE
public static final java.lang.String FIELD_INVITEE_NAME
public static final java.lang.String FIELD_INVITEE_RESPONSE
public static final java.lang.String FIELD_LOCATION
public static final java.lang.String FIELD_LOCATIONS
public static final java.lang.String FIELD_MAILOPTIONS
public static final java.lang.String FIELD_MEETINGTITLE
public static final java.lang.String FIELD_NAME
public static final java.lang.String FIELD_NOPURGE
public static final java.lang.String FIELD_NOTICETYPE
public static final java.lang.String FIELD_NEW_START_DATE
public static final java.lang.String FIELD_NEW_END_DATE
public static final java.lang.String FIELD_OFFSET
public static final java.lang.String FIELD_OFFSETTRIGGER
public static final java.lang.String FIELD_ONLINEMEETING
public static final java.lang.String FIELD_OPTIONAL
public static final java.lang.String FIELD_OPTIONALATTENDEES
public static final java.lang.String FIELD_ORGCONFIDENTIAL
public static final java.lang.String FIELD_ORGREPEAT
public static final java.lang.String FIELD_ORGTABLE
public static final java.lang.String FIELD_OVERRIDES
public static final java.lang.String FIELD_OWNER
public static final java.lang.String FIELD_PARTICIPANT
public static final java.lang.String FIELD_PARTICIPANTS
public static final java.lang.String FIELD_PARTICIPATION_COMMENT
public static final java.lang.String FIELD_PARTICIPATION_STATUS
public static final java.lang.String FIELD_POSTEDDATE
public static final java.lang.String FIELD_PRINCIPAL
public static final java.lang.String FIELD_PRIVACY
public static final java.lang.String FIELD_PRIVATE
public static final java.lang.String FIELD_PROPOSED_START_DATE
public static final java.lang.String FIELD_PROPOSED_END_DATE
public static final java.lang.String FIELD_PUBLIC
public static final java.lang.String FIELD_RELATIVETO
public static final java.lang.String FIELD_REPEATS
public static final java.lang.String FIELD_REVISIONS
public static final java.lang.String FIELD_REQUIREDATTENDEES
public static final java.lang.String FIELD_ROLES
public static final java.lang.String FIELD_SENDTO
public static final java.lang.String FIELD_SEQUENCENUM
public static final java.lang.String FIELD_SHOWWITHOUTTIME
public static final java.lang.String FIELD_START
public static final java.lang.String FIELD_STARTDATE
public static final java.lang.String FIELD_STARTDATETIME
public static final java.lang.String FIELD_STARTTIME
public static final java.lang.String FIELD_STARTTIMEZONE
public static final java.lang.String FIELD_STATUS_UPDATE
public static final java.lang.String FIELD_SUBJECT
public static final java.lang.String FIELD_TIMEZONE
public static final java.lang.String FIELD_TITLE
public static final java.lang.String FIELD_TOPIC
public static final java.lang.String FIELD_TRIGGER
public static final java.lang.String FIELD_TYPE_JSEVENT
public static final java.lang.String FIELD_UPDATED
public static final java.lang.String FIELD_URI
public static final java.lang.String FIELD_VIEWICON
public static final java.lang.String FIELD_VIRTUALLOCATION
public static final java.lang.String FIELD_VIRTUALLOCATIONS
public static final java.lang.String FIELD_WHEN
public static final java.lang.String MSG_CREATION_COMPLETE
public static final java.lang.String MSG_DELETION_COMPLETE
public static final java.lang.String MSG_ERR_CAL_NOT_FOUND
public static final java.lang.String MSG_ERR_CAL_NOT_FOUND_USER
public static final java.lang.String MSG_ERR_NO_RESPONSE
public static final java.lang.String MSG_ERR_DEFAULT_ONLY
public static final java.lang.String MSG_ERR_FAILED_IDS
public static final java.lang.String MSG_ERR_NO_ACCESS_TO_ADDITIONAL_CALENDAR
public static final java.lang.String MSG_ERR_NO_ACCESS_TO_CALENDAR
public static final java.lang.String MSG_ERR_NO_CAL_ENTRY
public static final java.lang.String MSG_ERR_PARAM_MISSING
public static final java.lang.String UTCDATEPATTERN
public static final java.lang.String VALUE_ANNIVERSARY
public static final java.lang.String VALUE_APPOINTMENT_TYPE_MEETING
public static final java.lang.String VALUE_APPOINTMENT_TYPE_ANNIVERSARY
public static final java.lang.String VALUE_APPOINTMENT_TYPE_REMINDER
public static final java.lang.String VALUE_APPOINTMENT_TYPE_ALL_DAY
public static final java.lang.String VALUE_ASIA_CALCUTTA
public static final java.lang.String VALUE_FORM_NOTICE
public static final java.lang.String VALUE_DURATION_ALL_DAY
public static final java.lang.String VALUE_DURATION_ALL_DAY_FORMAT
public static final java.lang.String VALUE_DURATION_ALL_DAY_RGX_FORMAT
public static final java.lang.String VALUE_EVENT
public static final java.lang.String VALUE_INDIA
public static final java.lang.String VALUE_MEETING
public static final java.lang.String VALUE_REMINDER
public static final java.lang.String VALUE_STATUS_ACCEPTED
public static final java.lang.String VALUE_STATUS_DECLINED
public static final java.lang.String VALUE_STATUS_DELEGATED
public static final java.lang.String VALUE_STATUS_NEEDS_ACTION
public static final java.lang.String VALUE_STATUS_TENTATIVE
public static final java.lang.String VALUE_STATUS_WAITING_FOR_REPLY
public static final java.lang.String VALUE_TEXTPLAIN
public static final java.lang.String VALUE_TEXTHTML
public static final java.lang.String VALUE_TZ_ZULU
public static java.lang.String computeDuration(io.vertx.core.json.JsonObject source)
public static java.util.function.Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> convertToJmapResponse()
public static io.vertx.core.json.JsonArray convertToList(java.lang.String key, io.vertx.core.json.JsonObject source)
key
- source
- public static io.vertx.core.Future<java.lang.Void> createSecondaryCalendarDb(@Nonnull io.vertx.core.Vertx vertx, java.lang.String templateCandidateName, @Nonnull KeepDbInfo curDBInfo, java.lang.String userName)
vertx
- templateCandidateName
- curDBInfo
- userName
- public static boolean doesSecondaryMailFileDbExist(@Nonnull KeepDbInfo curDBInfo)
Checks if the physical Calendar extension database exists Name is derived from actual mail file
curDBInfo
- public static java.lang.String ensureRoleHasBrackets(java.lang.String roleName)
Ensures Calendar Names start and end with [ ]
roleName
- candidate rolepublic static void extractParticipantIdAndEmail(io.vertx.core.json.JsonObject dominoResult, java.util.Map<java.lang.String,java.lang.String> participantIdAndEmail)
public static java.util.function.Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> filterCalendarResponseResult()
public static java.lang.String formatDateByEventType(java.lang.String date, java.lang.String eventType, java.lang.String zoneId)
public static java.lang.String formatLocalDateTime(java.lang.String date, java.lang.String zoneId)
date
- zoneId
- public static java.lang.String formatTimeZone(java.lang.String zoneId)
public static java.lang.String getAllDayEventDateAnyZone(java.lang.String dateTime, java.lang.String zoneId, java.lang.String duration, CalendarFunctions.DateStartEnd dateStartEnd)
Updates All Day Event date start time at 4:00am and date end time at 8:00pm
dateTime
- zoneId
- duration
- dateStartEnd
- public static java.lang.String getBase64URLEncoded(java.lang.String name)
public static java.util.List<java.lang.String> getDominoParticipantKeyList()
public static java.lang.String getDominoResponse(java.lang.String response)
public static java.lang.String getDuration(java.lang.String dateTime, java.lang.String duration)
Transforms into hours, minutes and seconds based on the given duration
dateTime
- duration
- public static java.lang.String getISODateTimeZone(java.lang.String dateTime, java.lang.String timeZone)
Transforms date and time to ISO date format in given datetime and timezone
dateTime
- timeZone
- public static java.lang.String getJMapResponse(java.lang.String response)
public static java.lang.String getMapperType(java.lang.String form)
Maps the form to a jmap mapper type
form
- @Deprecated public static com.hcl.domino.data.Database getSecondaryCalendarDB(KeepJnxSession session, KeepDbInfo dbInfo, java.lang.String calID) throws KeepException
Retrieves the secondary Calendar if it exists, the user has access in general and is member of the specific calendar
session
- dbInfo
- calID
- KeepException
public static java.lang.String getSecondaryFileName(@Nonnull KeepDbInfo curDBInfo)
Returns the file name for the secondary Calendar mail files Depending on config it might have or have not a .nsf extension
curDBInfo
- public static com.hcl.domino.data.Database getSecondaryMailFileDb(@Nonnull KeepJnxSession session, @Nonnull KeepDbInfo curDBInfo)
Opens secondary mail file for processing
session
- Keep sessioncurDBInfo
- public static java.lang.String getUTCdate(java.lang.String date)
date
- public static java.lang.String getUTCDateTime(java.lang.String dateTime, java.lang.String timeZone)
Transforms date and time to UTC date format in given datetime and timezone
dateTime
- timeZone
- public static java.lang.Integer getViewIcon(java.lang.String response)
public static boolean isInstantDtTime(java.lang.String date)
Validate Instant date format
date
- public static boolean isLocalDateFormat(java.lang.String date)
Validate LocalDate format
date
- public static boolean isLocalDateTimeFormat(java.lang.String date)
Validate LocalDateTime format
date
- public static java.lang.String removeBrackets(java.lang.String name)
Removes [ ] at the start and end of a String
name
- public static java.util.Collection<java.lang.String> splitRecipients(java.lang.String recipient)
Returns the list of mail recipients
recipient
- public static io.vertx.core.json.JsonObject storeJsCalendarInNotes(io.vertx.core.json.JsonObject source)
public static io.vertx.core.json.JsonObject updateAndSendCalEntry(KeepJnxSession session, com.hcl.domino.data.Document note, io.vertx.core.json.JsonObject jsonSource, java.lang.String calID, boolean send, java.lang.String message)
Create or update and, when requested, sends a calendar entry
session
- note
- jsonSource
- calID
- send
- message
- public static io.vertx.core.json.JsonObject updateCalendarInputData(io.vertx.core.json.JsonObject source, DbRequestParameters<io.vertx.core.json.JsonObject> request)
Update input to prepare for mapping
source
- request
- public static io.vertx.core.json.JsonObject updateCalendarOutputData(io.vertx.core.json.JsonObject source, com.hcl.domino.data.Document parentDoc, DbRequestParameters<io.vertx.core.json.JsonObject> request)
public static io.vertx.core.json.JsonObject updateNameToEmail(io.vertx.core.json.JsonObject source, com.hcl.domino.DominoClient client)
public static java.lang.String getUUID(java.lang.String name)
Retrieves UUID of a name
name
-