public class FolderViewFunctions
extends java.lang.Object
Helper functions to process views and folders to deal with access and JSON conversion
Modifier and Type | Method and Description |
---|---|
static CollectionResult |
getCollectionEntries(DbRequestParameters<io.vertx.core.json.JsonObject> request) |
static java.util.Optional<com.hcl.domino.data.CollectionColumn> |
getColumnFromName(com.hcl.domino.data.DominoCollection nc,
java.lang.String columnName) |
static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> |
getViewSortColumns(com.hcl.domino.data.DominoCollection nc) |
static void |
processViewEntries(DbRequestParameters<io.vertx.core.json.JsonObject> request,
com.hcl.domino.data.DominoCollection nc,
java.util.List<com.hcl.domino.data.CollectionEntry> entries,
boolean includeUnread)
Based on a searchQuery, process all collection entries
|
public static CollectionResult getCollectionEntries(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws KeepException
request
- KeepException
public static void processViewEntries(DbRequestParameters<io.vertx.core.json.JsonObject> request, com.hcl.domino.data.DominoCollection nc, java.util.List<com.hcl.domino.data.CollectionEntry> entries, boolean includeUnread)
Based on a searchQuery, process all collection entries
request
- the request to answernc
- DominoCollection to processentries
- includeUnread
- public static java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Object>> getViewSortColumns(com.hcl.domino.data.DominoCollection nc)
nc
- notesCollectionpublic static java.util.Optional<com.hcl.domino.data.CollectionColumn> getColumnFromName(com.hcl.domino.data.DominoCollection nc, java.lang.String columnName)
nc
- columnName
-