public class GetLabelsAll extends AsyncDominoJNXJson
Implements OperationId: getLabelsAll Retrieve list of all labels Retrive all labels: Calendar, Contacts, Journal, Mail, Tasks Example Payload: { "*":
"/labels/all", "Authorization": "Bearer
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3Vi
IjoiQ049Sm9obiBEb2UvTz1NYXVyYWRlcnMiLCJpYXQiOjE2MDczNjU1MTEsImV4cCI6MTYwNzM4NzExMSwiYXVkIjoiRG9taW5vIn0
._nKXE_Vg4dKwBdlOZqUTKitfmuLW0OQ1fgRHu1zQubk", "User-Agent":
"PostmanRuntime/7.26.8", "Accept": "*\/*", "Cache-Control": "no-cache",
"Postman-Token": "efb74717-525b-43ce-9e7a-c748da7cda64", "Host":
"frascati.projectkeep.local:8880", "Accept-Encoding": "gzip, deflate, br",
"Connection": "keep-alive", "headers": { "jwtclaim":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiQ049Sm9obiBEb2UvTz
1NYXVyYWRlcnMiLCJpYXQiOjE2MDczNjU1MTEsImV4cCI6MTYwNzM4NzExMSwiYXVkIjoiRG9taW5vIn0
._nKXE_Vg4dKwBdlOZqUTKitfmuLW0OQ1fgRHu1zQubk", "db": "MAIL", "operationId":
"getLabelsAll", "eventBusId": "mail-getLabelsAll", "mergeChunks": "true",
"sourceForEventBus": "com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags": "mail" }, "UUID": "4230fb54-97fe-4e06-b1b8-f1ff8aaa5fde",
"replicaid": "482585590040A750", "apiName": "MAIL", "filepath":
"DemoMail.nsf", "title": "DemoMail" } Example Result: [ { "FolderId":
"A4D87D90E1B19842852564FF006DED4E", "View": "($All)", "isFolder": "false",
"DocumentCount": 65, "Type": "Mail", "DisplayName": "All Documents" }, {
"FolderId": "C06D4FB77A26FE7A48258600004EECAD", "View":
"(NotesContacts)\\Important contacts", "isFolder": "true", "DocumentCount":
0, "Type": "Contacts", "DisplayName": "Important contacts" }, { "FolderId":
"69466BE5F5385ED748258600004E9B94", "View": "(NotesJournal)\\Important
notes", "isFolder": "true", "DocumentCount": 0, "Type": "Journal",
"DisplayName": "Important notes" } ]
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
GetLabelsAll() |
GetLabelsAll(LabelHelper labelHelper)
//FIXME: Move labelhelper to facotry? Constructor with mock
|
| Modifier and Type | Method and Description |
|---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns the list of all labels
|
getDbRequestParametersaccessControlCheck, dontCallProcessPayload, emitterToObserver, getActualDatabaseName, getApiName, getAppTags, getBarbican, getEventbusId, getKeepDbInfo, getRequestType, getSubscriber, getUser, getUserForMetrics, isProcessPayloadRequired, isWorkInProgress, processDominoRequest, recordAppMetrics, setApiName, setBarbican, setDbFileName, setKeepDbInfo, setProcessPayloadRequired, setRequestParams, setRequestType, setSubscriber, setUser, setVertx, subscribe, validateDqlAccess, validateOpenAccess, validationCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomValidator, preflightpublic GetLabelsAll()
public GetLabelsAll(LabelHelper labelHelper)
//FIXME: Move labelhelper to facotry? Constructor with mock
labelHelper - public void process(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws java.lang.Exception
Returns the list of all labels
request - DbRequestParameters granting access to session and databasejava.lang.Exception - Anything that can go wrong, will go wrong