public static enum DirectorySearchQuery.SearchFlag extends Enum<DirectorySearchQuery.SearchFlag>
Database.queryDQL(com.hcl.domino.dql.DQL.DQLTerm)
.
These values can be bitwise ORed together to combine functionality.
Note: The values are directly taken fromEnum Constant and Description |
---|
ALL_VERSIONS
Include deleted and non-matching notes in search (ALWAYS "ON" in partial searches, which are searches using a since date!)
|
ALLCHILDREN
Search includes all children of matching documents.
|
ALLDESCENDANTS
Search includes all descendants of matching documents.
|
ALLPRIVS
return error if we don't have full privileges
|
DATAONLY_FORMULA
Search formula applies only to data notes, i.e., others match
|
FILETYPE
For directory mode file type filtering.
|
FULL_DATACUTOFF
Full search (as if Since was "1") but exclude DATA notes prior to passed-in Since time
|
NAMED_GHOSTS
Include *** ALL *** named ghost notes in the search (profile docs,
xACL's, etc).
|
NOABSTRACTS
Filter out "Truncated" documents
|
NOITEMNAMES
by using this search option combined with a map of (key=programmatic column name, value=column formula)
entries, the NSF search function just returns these specified column values instead of the
whole note's summary buffer.
|
NONREPLICATABLE
INCLUDE notes with non-replicatable OID flag
|
NOPRIVCHECK
Allow search to return id's only i.e.
|
NOTIFYDELETIONS
Set NOTE_CLASS_NOTIFYDELETION bit of NoteClass for deleted notes
|
ONLYPROTECTED
Return only docs with protection fields (BS_PROTECTED set in note header)
|
PROFILE_DOCS
Include profile documents (a specific type of named ghost note) in the
search Note: set
SELECT_NAMED_GHOSTS , too, if you want the
selection formula to be applied to the profile docs (so as not to get
them all back as matches). |
SELECT_NAMED_GHOSTS
flag to let the selection formula be run against profile documents; must
be used together with
PROFILE_DOCS |
SESSION_USERNAME
Use current session's user name, not server's
|
SOFTDELETIONS
Return soft deleted documents
|
SUMMARY
TRUE to return summary buffer with each match
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static short |
toBitMaskSearch1Flags(Collection<DirectorySearchQuery.SearchFlag> searchFlagSet) |
static int |
toBitMaskStdFlagsInt(Collection<DirectorySearchQuery.SearchFlag> searchFlagSet) |
static DirectorySearchQuery.SearchFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DirectorySearchQuery.SearchFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectorySearchQuery.SearchFlag ALL_VERSIONS
public static final DirectorySearchQuery.SearchFlag SUMMARY
public static final DirectorySearchQuery.SearchFlag FILETYPE
public static final DirectorySearchQuery.SearchFlag NOTIFYDELETIONS
public static final DirectorySearchQuery.SearchFlag NOITEMNAMES
public static final DirectorySearchQuery.SearchFlag ALLPRIVS
public static final DirectorySearchQuery.SearchFlag SESSION_USERNAME
public static final DirectorySearchQuery.SearchFlag NOABSTRACTS
public static final DirectorySearchQuery.SearchFlag DATAONLY_FORMULA
public static final DirectorySearchQuery.SearchFlag NONREPLICATABLE
public static final DirectorySearchQuery.SearchFlag FULL_DATACUTOFF
public static final DirectorySearchQuery.SearchFlag NOPRIVCHECK
public static final DirectorySearchQuery.SearchFlag ALLCHILDREN
public static final DirectorySearchQuery.SearchFlag ALLDESCENDANTS
public static final DirectorySearchQuery.SearchFlag NAMED_GHOSTS
public static final DirectorySearchQuery.SearchFlag ONLYPROTECTED
public static final DirectorySearchQuery.SearchFlag SOFTDELETIONS
public static final DirectorySearchQuery.SearchFlag SELECT_NAMED_GHOSTS
PROFILE_DOCS
public static final DirectorySearchQuery.SearchFlag PROFILE_DOCS
SELECT_NAMED_GHOSTS
, too, if you want the
selection formula to be applied to the profile docs (so as not to get
them all back as matches).public static DirectorySearchQuery.SearchFlag[] values()
for (DirectorySearchQuery.SearchFlag c : DirectorySearchQuery.SearchFlag.values()) System.out.println(c);
public static DirectorySearchQuery.SearchFlag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public static short toBitMaskSearch1Flags(Collection<DirectorySearchQuery.SearchFlag> searchFlagSet)
public static int toBitMaskStdFlagsInt(Collection<DirectorySearchQuery.SearchFlag> searchFlagSet)
Copyright © 2019–2021 HCL. All rights reserved.