public interface DominoCollection extends IAdaptable, DominoClientDescendant
Modifier and Type | Interface and Description |
---|---|
static class |
DominoCollection.Direction
Available column sort directions
|
Modifier and Type | Method and Description |
---|---|
void |
forEachDocument(int skip,
int count,
BiConsumer<Document,Loop> consumer) |
List<String> |
getAliases() |
Set<Integer> |
getAllIds(boolean withDocuments,
boolean withCategories)
Returns an ordered set of note ids for collection entries that the current user is
allowed to see.
|
IDTable |
getAllIdsAsIDTable(boolean checkRights) |
Set<Integer> |
getAllIdsByKey(Set<Find> findFlags,
Collection<Object> key)
Returns an ordered set of note ids for collection entries that match the
specified lookup key (supporting multi column lookups)
|
Set<Integer> |
getAllIdsByKey(Set<Find> findFlags,
Object key)
Returns an ordered set of note ids for collection entries that match the
specified lookup key
|
List<CollectionColumn> |
getColumns() |
int |
getDocumentCount() |
DominoDateTime |
getLastAccessedTime()
Returns the
DominoDateTime when this view was last accessed |
String |
getName() |
DominoDateTime |
getNextDiscardTime()
Returns the
DominoDateTime when the view index will be discarded |
int |
getNoteId() |
Database |
getParentDatabase() |
String |
getSelectionFormula() |
int |
getTopLevelEntries() |
String |
getUNID() |
boolean |
isFolder() |
CollectionSearchQuery |
query() |
void |
refresh() |
void |
resetViewSortingToDefault() |
void |
resortView(String progColumnName,
DominoCollection.Direction direction) |
getAdapter
getParentDominoClient
Database getParentDatabase()
String getName()
String getUNID()
int getNoteId()
String getSelectionFormula()
IDTable getAllIdsAsIDTable(boolean checkRights)
Set<Integer> getAllIds(boolean withDocuments, boolean withCategories)
Implementations are likely, but not guaranteed, to return a LinkedHashSet
.
withDocuments
- true to return document note idswithCategories
- true to return category note idsSet<Integer> getAllIdsByKey(Set<Find> findFlags, Object key)
Implementations are likely, but not guaranteed, to return a LinkedHashSet
.
findFlags
- flags to configure the lookup operationkey
- lookup key (String, Number, DominoDateRange)Set<Integer> getAllIdsByKey(Set<Find> findFlags, Collection<Object> key)
Implementations are likely, but not guaranteed, to return a LinkedHashSet
.
findFlags
- flags to configure the lookup operationkey
- lookup key (list of String, Number, DominoDateRange)void forEachDocument(int skip, int count, BiConsumer<Document,Loop> consumer)
List<CollectionColumn> getColumns()
void refresh()
int getTopLevelEntries()
int getDocumentCount()
void resetViewSortingToDefault()
void resortView(String progColumnName, DominoCollection.Direction direction)
boolean isFolder()
DominoDateTime getLastAccessedTime()
DominoDateTime
when this view was last accessedDominoDateTime getNextDiscardTime()
DominoDateTime
when the view index will be discardedCollectionSearchQuery query()
Copyright © 2019–2021 HCL. All rights reserved.