public class TaskFunctions
extends java.lang.Object
Utility class to translate and process Task functionality
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_FORMAT_UTC |
static java.lang.String |
DOCUMENT_FIELD_FOLDERREF |
static java.lang.String |
ERROR_MSG_NO_TASK_FOUND |
static java.lang.String |
ERROR_MSG_NO_TASKRESPONSE_FOUND |
static java.lang.String |
FIELD_ABSTRACT |
static java.lang.String |
FIELD_ALARMENABLED |
static java.lang.String |
FIELD_ALTCHAIR |
static java.lang.String |
FIELD_ALTPRINCIPAL |
static java.lang.String |
FIELD_ASSIGNEDTO |
static java.lang.String |
FIELD_ASSIGNSTATE |
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_CALENDAR_DATE_TIME |
static java.lang.String |
FIELD_CATEGORIES |
static java.lang.String |
FIELD_CHAIR |
static java.lang.String |
FIELD_COMMENT |
static java.lang.String |
FIELD_COMPLETED_DATETIME |
static java.lang.String |
FIELD_CREATED |
static java.lang.String |
FIELD_CURRENTUSER |
static java.lang.String |
FIELD_DEFAULT_MAILSAVE_OPTIONS |
static java.lang.String |
FIELD_DELEGATOR |
static java.lang.String |
FIELD_DELEGEE |
static java.lang.String |
FIELD_DESCRIPTION |
static java.lang.String |
FIELD_DOLL_CSVERSION |
static java.lang.String |
FIELD_DOLL_EXPANDED_GROUPS |
static java.lang.String |
FIELD_DOLL_FOLDER_REF |
static java.lang.String |
FIELD_DOLL_HFFLAGS |
static java.lang.String |
FIELD_DOLL_INET_CHAIR |
static java.lang.String |
FIELD_DOLL_PUBLIC_ACCESS |
static java.lang.String |
FIELD_DOLL_SMTPKEEP_NOTES_ITEMS |
static java.lang.String |
FIELD_DOLL_UPDATEDBY |
static java.lang.String |
FIELD_DUE |
static java.lang.String |
FIELD_DUE_DATE |
static java.lang.String |
FIELD_DUE_DATE_TIME |
static java.lang.String |
FIELD_DUESTATE |
static java.lang.String |
FIELD_EMAIL |
static java.lang.String |
FIELD_END_DATE |
static java.lang.String |
FIELD_EXCLUDE_FROM_VIEW |
static java.lang.String |
FIELD_FROM |
static java.lang.String |
FIELD_FYIASSIGNEDTO |
static java.lang.String |
FIELD_IMPORTANCE |
static java.lang.String |
FIELD_INET_FYI_NAMES |
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_INVITEE |
static java.lang.String |
FIELD_INVITEE_NAME |
static java.lang.String |
FIELD_KEEP_POSTED |
static java.lang.String |
FIELD_NEW_END_DATE |
static java.lang.String |
FIELD_NEW_START_DATE |
static java.lang.String |
FIELD_NOTICETYPE |
static java.lang.String |
FIELD_OPTIONAL |
static java.lang.String |
FIELD_OPTIONAL_ASSIGNEDTO |
static java.lang.String |
FIELD_ORG_CONFIDENTIAL |
static java.lang.String |
FIELD_OWNER |
static java.lang.String |
FIELD_PARENTFOLDER |
static java.lang.String |
FIELD_PARTICIPANT |
static java.lang.String |
FIELD_PARTICIPANTS |
static java.lang.String |
FIELD_POSTED_DATE |
static java.lang.String |
FIELD_PRINCIPAL |
static java.lang.String |
FIELD_PRIORITY |
static java.lang.String |
FIELD_PRIVACY |
static java.lang.String |
FIELD_PRIVATE |
static java.lang.String |
FIELD_PROGRESS |
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_REF_FOLDER |
static java.lang.String |
FIELD_ROLES |
static java.lang.String |
FIELD_START |
static java.lang.String |
FIELD_START_DATE |
static java.lang.String |
FIELD_START_DATE_TIME |
static java.lang.String |
FIELD_STATUS_UPDATE |
static java.lang.String |
FIELD_TASK_ID |
static java.lang.String |
FIELD_TASKSTATUS |
static java.lang.String |
FIELD_TASKTYPE |
static java.lang.String |
FIELD_TYPE_JSTASK |
static java.lang.String |
FIELD_UPDATED |
static java.lang.String |
FIELD_VIEWICON |
static java.lang.String |
MSG_CREATION_COMPLETE |
static java.lang.String |
MSG_DELETION_COMPLETE |
static java.lang.String |
MSG_UPDATE_COMPLETE |
static java.lang.String |
VALUE_PRIORITY_HIGH |
static java.lang.String |
VALUE_PRIORITY_LOW |
static java.lang.String |
VALUE_PRIORITY_MEDIUM |
static java.lang.String |
VALUE_STATUS_ACCEPTED |
static java.lang.String |
VALUE_STATUS_COMPLETED |
static java.lang.String |
VALUE_STATUS_DECLINED |
static java.lang.String |
VALUE_STATUS_DELEGATED |
static java.lang.String |
VALUE_STATUS_INPROCESS |
static java.lang.String |
VALUE_STATUS_NEEDSACTION |
static java.lang.String |
VALUE_STATUS_OVERDUE |
static java.lang.String |
VALUE_STATUS_PROPOSED_NEW_DATE |
static java.lang.String |
VALUE_STATUS_REJECTED |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.json.JsonArray |
convertToList(java.lang.String key,
io.vertx.core.json.JsonObject source)
Validate and/or convert values into list format
|
static java.util.function.Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> |
filterTaskResponseResult() |
static java.util.function.Function<java.lang.Integer,io.vertx.core.json.JsonObject> |
getOriginalResult(DbRequestParameters<io.vertx.core.json.JsonObject> request) |
static java.lang.String |
getUTCCurrentDate() |
static java.lang.String |
getUTCdate(java.lang.String date) |
static java.lang.String |
getUUID(java.lang.String name)
Retrieves UUID of a name
|
static io.vertx.core.json.JsonObject |
updateDominoTaskOutpuData(io.vertx.core.json.JsonObject source,
DbRequestParameters<io.vertx.core.json.JsonObject> request)
Update domino result to prepare for jmap mapping
|
static io.vertx.core.json.JsonObject |
updateJMapTaskInputData(io.vertx.core.json.JsonObject source,
DbRequestParameters<io.vertx.core.json.JsonObject> request)
Update input to prepare for mapping
|
public static final java.lang.String FIELD_ABSTRACT
public static final java.lang.String FIELD_ALARMENABLED
public static final java.lang.String FIELD_ALTCHAIR
public static final java.lang.String FIELD_ALTPRINCIPAL
public static final java.lang.String FIELD_ASSIGNSTATE
public static final java.lang.String FIELD_ASSIGNEDTO
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_LASTMODIFIED
public static final java.lang.String FIELD_AT_TYPE
public static final java.lang.String FIELD_BODY
public static final java.lang.String FIELD_CALENDAR_DATE_TIME
public static final java.lang.String FIELD_CATEGORIES
public static final java.lang.String FIELD_CHAIR
public static final java.lang.String FIELD_COMMENT
public static final java.lang.String FIELD_COMPLETED_DATETIME
public static final java.lang.String FIELD_CREATED
public static final java.lang.String FIELD_CURRENTUSER
public static final java.lang.String FIELD_DEFAULT_MAILSAVE_OPTIONS
public static final java.lang.String FIELD_DELEGATOR
public static final java.lang.String FIELD_DELEGEE
public static final java.lang.String FIELD_DESCRIPTION
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_FOLDER_REF
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_PUBLIC_ACCESS
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_DUE
public static final java.lang.String FIELD_DUE_DATE
public static final java.lang.String FIELD_DUE_DATE_TIME
public static final java.lang.String FIELD_DUESTATE
public static final java.lang.String FIELD_EMAIL
public static final java.lang.String FIELD_END_DATE
public static final java.lang.String FIELD_EXCLUDE_FROM_VIEW
public static final java.lang.String FIELD_FROM
public static final java.lang.String FIELD_FYIASSIGNEDTO
public static final java.lang.String FIELD_IMPORTANCE
public static final java.lang.String FIELD_INFORMATIONAL
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_INVITEE
public static final java.lang.String FIELD_INVITEE_NAME
public static final java.lang.String FIELD_KEEP_POSTED
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_NOTICETYPE
public static final java.lang.String FIELD_ORG_CONFIDENTIAL
public static final java.lang.String FIELD_OPTIONAL
public static final java.lang.String FIELD_OPTIONAL_ASSIGNEDTO
public static final java.lang.String FIELD_OWNER
public static final java.lang.String FIELD_PARENTFOLDER
public static final java.lang.String FIELD_PARTICIPANT
public static final java.lang.String FIELD_PARTICIPANTS
public static final java.lang.String FIELD_POSTED_DATE
public static final java.lang.String FIELD_REF_FOLDER
public static final java.lang.String FIELD_ROLES
public static final java.lang.String FIELD_PRINCIPAL
public static final java.lang.String FIELD_PRIORITY
public static final java.lang.String FIELD_PRIVACY
public static final java.lang.String FIELD_PRIVATE
public static final java.lang.String FIELD_PROGRESS
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_START
public static final java.lang.String FIELD_START_DATE
public static final java.lang.String FIELD_START_DATE_TIME
public static final java.lang.String FIELD_STATUS_UPDATE
public static final java.lang.String FIELD_TASK_ID
public static final java.lang.String FIELD_TASKSTATUS
public static final java.lang.String FIELD_TASKTYPE
public static final java.lang.String FIELD_TYPE_JSTASK
public static final java.lang.String FIELD_UPDATED
public static final java.lang.String FIELD_VIEWICON
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_PROPOSED_NEW_DATE
public static final java.lang.String VALUE_STATUS_INPROCESS
public static final java.lang.String VALUE_STATUS_OVERDUE
public static final java.lang.String VALUE_STATUS_NEEDSACTION
public static final java.lang.String VALUE_STATUS_REJECTED
public static final java.lang.String VALUE_STATUS_COMPLETED
public static final java.lang.String VALUE_PRIORITY_HIGH
public static final java.lang.String VALUE_PRIORITY_MEDIUM
public static final java.lang.String VALUE_PRIORITY_LOW
public static final java.lang.String DOCUMENT_FIELD_FOLDERREF
public static final java.lang.String DATE_FORMAT_UTC
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_UPDATE_COMPLETE
public static final java.lang.String ERROR_MSG_NO_TASK_FOUND
public static final java.lang.String ERROR_MSG_NO_TASKRESPONSE_FOUND
public static java.util.function.Function<io.vertx.core.json.JsonObject,io.vertx.core.json.JsonObject> filterTaskResponseResult()
public static java.util.function.Function<java.lang.Integer,io.vertx.core.json.JsonObject> getOriginalResult(DbRequestParameters<io.vertx.core.json.JsonObject> request)
request
- public static java.lang.String getUTCCurrentDate()
public static io.vertx.core.json.JsonObject updateJMapTaskInputData(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 updateDominoTaskOutpuData(io.vertx.core.json.JsonObject source, DbRequestParameters<io.vertx.core.json.JsonObject> request)
Update domino result to prepare for jmap mapping
source
- request
- public static java.lang.String getUUID(java.lang.String name)
Retrieves UUID of a name
name
- public static io.vertx.core.json.JsonArray convertToList(java.lang.String key, io.vertx.core.json.JsonObject source)
Validate and/or convert values into list format
key
- source
- public static java.lang.String getUTCdate(java.lang.String date)
date
-