|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bea.domingo.monitor.AbstractMonitorEnabled de.bea.domingo.http.BaseHttp de.bea.domingo.http.ViewHttp
public final class ViewHttp
Http implementation of a Domingo view.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class de.bea.domingo.http.BaseHttp |
---|
BaseHttp.BaseHandler |
Field Summary |
---|
Fields inherited from class de.bea.domingo.http.BaseHttp |
---|
DATETIME_STRING_LENGTH, MAX_DATETIME_LENGTH, NUM_DATETIME_VALUES |
Method Summary | |
---|---|
void |
clear()
Clears the full-text search filtering on a view. |
int |
fullTextSearch(java.lang.String query)
Conducts a full-text search on all documents in a view and filters the view so it represents only those documents that match the full-text query. |
int |
fullTextSearch(java.lang.String query,
int maxdocs)
Conducts a full-text search on all documents in a view and filters the view so it represents only those documents that match the full-text query. |
java.util.Iterator |
getAllCategories()
Finds view entries of type category. |
java.util.Iterator |
getAllCategories(int level)
Finds view entries of type category upto a given level. |
java.util.Iterator |
getAllCategoriesByKey(java.util.List key)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.util.List key,
boolean exact)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.util.List key,
int level)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.util.List key,
int level,
boolean exact)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.lang.String key)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.lang.String key,
boolean exact)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.lang.String key,
int level)
Deprecated. |
java.util.Iterator |
getAllCategoriesByKey(java.lang.String key,
int level,
boolean exact)
Deprecated. |
java.util.Iterator |
getAllDocuments()
Returns an Iterator to loop over all documents in the view. |
java.util.Iterator |
getAllDocumentsByKey(java.util.Calendar key)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(java.util.Calendar key,
boolean exact)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(double key)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(double key,
boolean exact)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(int key)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(int key,
boolean exact)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(java.util.List keys)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(java.util.List keys,
boolean exact)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(java.lang.String key)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllDocumentsByKey(java.lang.String key,
boolean exact)
Finds documents based on their column values within a view. |
java.util.Iterator |
getAllEntries()
Iterator over all entries in a view in view order. |
java.util.Iterator |
getAllEntries(DViewEntry entry)
Iterator over all entries in a view in view order starting with a given entry. |
java.util.Iterator |
getAllEntriesByKey(java.util.Calendar start,
java.util.Calendar end,
boolean exact)
Finds view entries of type document based on their column values within a view. |
java.util.Iterator |
getAllEntriesByKey(java.util.List key)
Finds view entries of type document based on their column values within a view. |
java.util.Iterator |
getAllEntriesByKey(java.util.List key,
boolean exact)
Finds view entries of type document based on their column values within a view. |
java.util.Iterator |
getAllEntriesByKey(java.lang.String key)
Finds view entries of type document based on their column values within a view. |
java.util.Iterator |
getAllEntriesByKey(java.lang.String key,
boolean exact)
Finds view entries of type document based on their column values within a view. |
java.util.Iterator |
getAllEntriesReverse()
Iterator over all entries in a view in reverse view order. |
DViewColumn |
getColumn(int i)
Returns a specified column in a view. |
int |
getColumnCount()
Returns the number of columns in a view. |
java.util.List |
getColumnNames()
Retutrns the names of the columns in a view. |
java.util.List |
getColumns()
Returns the columns in a view. |
DDocument |
getDocumentByKey(java.util.List keys,
boolean exact)
Finds a document based on its column values within a view. |
DDocument |
getDocumentByKey(java.lang.String key,
boolean exact)
Finds a document based on the first column value within a view. |
DViewEntry |
getEntryByKey(java.util.List keys)
Finds a view entry based on its column values within a view. |
DViewEntry |
getEntryByKey(java.util.List keys,
boolean exact)
Finds a view entry based on its column values within a view. |
DViewEntry |
getEntryByKey(java.lang.String key)
Finds a view entry based on its column values within a view. |
DViewEntry |
getEntryByKey(java.lang.String key,
boolean exact)
Finds a view entry based on its column values within a view. |
(package private) static DView |
getInstance(NotesHttpFactory theFactory,
DBase theParent,
java.lang.String name,
DNotesMonitor monitor)
Factory method for instances of this class. |
java.lang.String |
getName()
Returns the name of a view. |
java.lang.String |
getSelectionFormula()
Returns the selection formula of a view. |
static java.lang.String |
increase(java.lang.String position)
Increases a position string to the next position. |
void |
refresh()
Updates view contents with any changes that have occurred to the database since the View object was created, or since the last refresh. |
void |
setSelectionFormula(java.lang.String formula)
Sets the selection formula of a view. |
java.lang.String |
toString()
Returns a short description of an instance. |
Methods inherited from class de.bea.domingo.http.BaseHttp |
---|
execute, execute, executeDomingoDatabaseUrl, executeUrl, getDSession, getFactory, getParent, parseViewEntryDateTime, postDXL, toStringIntern |
Methods inherited from class de.bea.domingo.monitor.AbstractMonitorEnabled |
---|
getMonitor, setMonitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.bea.domingo.DBase |
---|
equals, hashCode |
Method Detail |
---|
static DView getInstance(NotesHttpFactory theFactory, DBase theParent, java.lang.String name, DNotesMonitor monitor)
theFactory
- the controlling factorytheParent
- the parent objectname
- the name of the viewmonitor
- the monitor that handles logging
public java.lang.String toString()
BaseHttp
toString
in interface DBase
toString
in class BaseHttp
Object.toString()
public void refresh()
refresh
in interface DView
DView.refresh()
public java.lang.String getName()
getName
in interface DView
DView.getName()
public DDocument getDocumentByKey(java.lang.String key, boolean exact)
null
if there are no matching document.
getDocumentByKey
in interface DView
key
- - String
A partial key must not be in a categorized colum!exact
- - boolean
DView.getDocumentByKey(String, boolean)
public DDocument getDocumentByKey(java.util.List keys, boolean exact)
null
if there are no matching document.
getDocumentByKey
in interface DView
keys
- - List(Column-Value)
A partial key must not be in a categorized colum!exact
- - boolean
DView.getDocumentByKey(List, boolean)
public java.util.Iterator getAllDocumentsByKey(java.lang.String key)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- key
DView.getAllDocumentsByKey(String)
public java.util.Iterator getAllDocumentsByKey(java.util.List keys)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
keys
- list of keys
DView.getAllDocumentsByKey(List)
public java.util.Iterator getAllDocumentsByKey(java.lang.String key, boolean exact)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- keyexact
- True if you want to find an exact match. If you specify
false or omit this parameter, a partial match succeeds.
The use of partial matches with multiple keys may result in
missed documents. If the first key is partial and the second
column does not sort the same with the partial key as with the
exact key, documents that fall out of sequence are missed.
A partial key must not be in a categorized colum!
DView.getAllDocumentsByKey(String, boolean)
public java.util.Iterator getAllDocumentsByKey(java.util.List keys, boolean exact)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
keys
- list of keysexact
- True if you want to find an exact match. If you specify
false or omit this parameter, a partial match succeeds.
The use of partial matches with multiple keys may result in
missed documents. If the first key is partial and the second
column does not sort the same with the partial key as with the
exact key, documents that fall out of sequence are missed.
A partial key must not be in a categorized colum!
DView.getAllDocumentsByKey(List, boolean)
public java.util.Iterator getAllDocumentsByKey(java.util.Calendar key)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- key
DView.getAllDocumentsByKey(java.util.Calendar)
public java.util.Iterator getAllDocumentsByKey(double key)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- key
DView.getAllDocumentsByKey(double)
public java.util.Iterator getAllDocumentsByKey(int key)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- key
DView.getAllDocumentsByKey(int)
public java.util.Iterator getAllDocumentsByKey(java.util.Calendar key, boolean exact)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- keyexact
- True if you want to find an exact match. If you specify
false or omit this parameter, a partial match succeeds.
The use of partial matches with multiple keys may result in
missed documents. If the first key is partial and the second
column does not sort the same with the partial key as with the
exact key, documents that fall out of sequence are missed.
A partial key must not be in a categorized colum!
DView.getAllDocumentsByKey(java.util.Calendar, boolean)
public java.util.Iterator getAllDocumentsByKey(double key, boolean exact)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- keyexact
- True if you want to find an exact match. If you specify
false or omit this parameter, a partial match succeeds.
The use of partial matches with multiple keys may result in
missed documents. If the first key is partial and the second
column does not sort the same with the partial key as with the
exact key, documents that fall out of sequence are missed.
A partial key must not be in a categorized colum!
DView.getAllDocumentsByKey(double, boolean)
public java.util.Iterator getAllDocumentsByKey(int key, boolean exact)
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed. A partial key must not be in a categorized colum!
getAllDocumentsByKey
in interface DView
key
- keyexact
- True if you want to find an exact match. If you specify
false or omit this parameter, a partial match succeeds.
The use of partial matches with multiple keys may result in
missed documents. If the first key is partial and the second
column does not sort the same with the partial key as with the
exact key, documents that fall out of sequence are missed.
A partial key must not be in a categorized colum!
DView.getAllDocumentsByKey(int, boolean)
public java.util.Iterator getAllDocuments()
getAllDocuments
in interface DView
DView.getAllDocuments()
public java.util.Iterator getAllEntries()
A view entry collection contains only document entries (no categories or totals). If a view is filtered by FTSearch, this property returns the entries in the filtered view.
getAllEntries
in interface DView
DView.getAllEntries()
public java.util.Iterator getAllEntriesReverse()
A view entry collection contains only document entries (no categories or totals). If a view is filtered by FTSearch, this property returns the entries in the filtered view.
getAllEntriesReverse
in interface DView
DView.getAllEntriesReverse()
public static java.lang.String increase(java.lang.String position)
position
- a position string
public DViewEntry getEntryByKey(java.lang.String key)
You create a key or vector of keys, where each key corresponds to a value in a sorted column in the view. The method returns the first entry with column values that match the keys.
This method returns only the first entry with column values that
match the strings you indicate. To locate all matching documents, use
DView.getAllEntriesByKey(String)
getEntryByKey
in interface DView
key
- String that is compared to the first sorted column in the
view.
null
if there are no matching entries.DView.getEntryByKey(String)
public DViewEntry getEntryByKey(java.lang.String key, boolean exact)
You create a key or vector of keys, where each key corresponds to a value in a sorted column in the view. The method returns the first entry with column values that match the keys.
This method returns only the first entry with column values that
match the strings you indicate. To locate all matching documents, use
DView.getAllEntriesByKey(String)
getEntryByKey
in interface DView
key
- String that is compared to the first sorted column in the view.exact
- use true if you want an exact match or false for a partial
one
null
if there are no matching entries.DView.getEntryByKey(String, boolean)
public DViewEntry getEntryByKey(java.util.List keys)
You create a key or vector of keys, where each key corresponds to a value in a sorted column in the view. The method returns the first entry with column values that match the keys.
This method returns only the first entry with column values that
match the strings you indicate. To locate all matching documents, use
DView.getAllEntriesByKey(String)
getEntryByKey
in interface DView
keys
- A String object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integer
null
if there are no matching entries.DView.getEntryByKey(List)
public DViewEntry getEntryByKey(java.util.List keys, boolean exact)
You create a key or vector of keys, where each key corresponds to a value in a sorted column in the view. The method returns the first entry with column values that match the keys.
This method returns only the first entry with column values that
match the strings you indicate. To locate all matching documents, use
DView.getAllEntriesByKey(String)
getEntryByKey
in interface DView
keys
- A String object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerexact
- use true if you want an exact match or false for a partial
one
null
if there are no matching entries.DView.getEntryByKey(List, boolean)
public java.util.Iterator getAllEntries(DViewEntry entry)
A view entry collection contains only document entries (no categories or totals). If a view is filtered by FTSearch, this property returns the entries in the filtered view.
getAllEntries
in interface DView
entry
- A Document or ViewEntry object. Cannot be null.
DView.getAllEntries(DViewEntry)
public java.util.Iterator getAllEntriesByKey(java.lang.String key)
Note For the getAllEntriesByKey method to work using a key, you must have at least one column sorted for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllEntriesByKey
in interface DView
key
- A String object that is compared to the first sorted column
in the view.
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllEntriesByKey(String)
public java.util.Iterator getAllEntriesByKey(java.lang.String key, boolean exact)
Note For the getAllEntriesByKey method to work using a key, you must have at least one column sorted for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllEntriesByKey
in interface DView
key
- A String object that is compared to the first sorted column
in the view.exact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllEntriesByKey(String, boolean)
public java.util.Iterator getAllEntriesByKey(java.util.List key)
Note For the getAllEntriesByKey method to work using a key, you must have at least one column sorted for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllEntriesByKey
in interface DView
key
- A String object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integer
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllEntriesByKey(List)
public java.util.Iterator getAllEntriesByKey(java.util.List key, boolean exact)
Note For the getAllEntriesByKey method to work using a key, you must have at least one column sorted for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllEntriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerexact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllEntriesByKey(List, boolean)
public java.util.Iterator getAllCategories()
DView.getAllCategories(int)
to retrieve sub categories.
getAllCategories
in interface DView
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategories()
public java.util.Iterator getAllCategories(int level)
getAllCategories
in interface DView
level
- The maximum level of navigation 0 (top level) through 30
(default).
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategories(int)
public java.util.Iterator getAllCategoriesByKey(java.lang.String key)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A String that is compared to the first categorized column
in the view.
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(String)
public java.util.Iterator getAllCategoriesByKey(java.lang.String key, int level)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerlevel
- The maximum level of navigation 0 (top level) through 30
(default).
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(String, int)
public java.util.Iterator getAllCategoriesByKey(java.lang.String key, boolean exact)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerexact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(String, boolean)
public java.util.Iterator getAllCategoriesByKey(java.lang.String key, int level, boolean exact)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerlevel
- The maximum level of navigation 0 (top level) through 30
(default).exact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(String, int, boolean)
public java.util.Iterator getAllCategoriesByKey(java.util.List key)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integer
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(List)
public java.util.Iterator getAllCategoriesByKey(java.util.List key, int level)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerlevel
- The maximum level of navigation 0 (top level) through 30
(default).
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(List, int)
public java.util.Iterator getAllCategoriesByKey(java.util.List key, boolean exact)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerexact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(List, boolean)
public java.util.Iterator getAllCategoriesByKey(java.util.List key, int level, boolean exact)
Note For the getAllCategoriesByKey method to work using a key, you must have at least one column categorized for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllCategoriesByKey
in interface DView
key
- A List object that is compared to the first sorted column
in the view. The List only must contain the types String, Date,
Double and Integerlevel
- The maximum level of navigation 0 (top level) through 30
(default).exact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllCategoriesByKey(List, int, boolean)
public int fullTextSearch(java.lang.String query)
See DView.fullTextSearch(String, int)
for more details.
fullTextSearch
in interface DView
query
- The full-text query. See the "Query Syntax" for details
DView.fullTextSearch(java.lang.String)
public int fullTextSearch(java.lang.String query, int maxdocs)
Usage
After calling FTSearch, you can use the regular View methods to navigate the result, which is a subset of the documents in the view. If the database is not full-text indexed, the documents in the subset are in the same order as they are in the original view. However, if the database is full-text indexed, the documents in the subset are sorted into descending order of relevance. The method getFirstDocument returns the first document in the subset, getLastDocument returns the last document, and so on.
Use the DView.clear()
method to clear the full-text search filtering.
The View methods now navigate to the full set of documents in the view.
If the database is not full-text indexed, this method works,
but less efficiently. To test for an index, use DDatabase.isFTIndexed()
.
To create an index on a local database, use DDatabase.updateFTIndex(boolean)
.
Query syntax
To search for a word or phrase, enter the word or phrase as is, except that search keywords must be enclosed in quotes. Remember to escape quotes if you are inside a literal. Wildcards, operators, and other syntax are permitted. For the complete syntax rules, see "Finding documents in a database" in Lotus Notes 6 Help.
fullTextSearch
in interface DView
query
- The full-text query. See the "Query Syntax" for detailsmaxdocs
- The maximum number of documents you want returned from the
search. If you want to receive all documents that match the
query, specify 0
DView.fullTextSearch(java.lang.String, int)
public void clear()
clear
in interface DView
DView.clear()
public java.lang.String getSelectionFormula()
getSelectionFormula
in interface DView
DView.getSelectionFormula()
public void setSelectionFormula(java.lang.String formula)
setSelectionFormula
in interface DView
formula
- new selection formulaDView.setSelectionFormula(java.lang.String)
public DViewColumn getColumn(int i)
getColumn
in interface DView
i
- A column number where 1 is the first column. Cannot be less than 1
or greater than the number of columns in the view.
DView.getColumn(int)
public int getColumnCount()
getColumnCount
in interface DView
DView.getColumnCount()
public java.util.List getColumnNames()
getColumnNames
in interface DView
DView.getColumnNames()
public java.util.List getColumns()
The order of ViewColumn objects in the vector corresponds to the order of the columns in the view, from left to right.
getColumns
in interface DView
DView.getColumns()
public java.util.Iterator getAllEntriesByKey(java.util.Calendar start, java.util.Calendar end, boolean exact)
Note For the getAllEntriesByKey method to work using a key, you must have at least one column sorted for every key in the array.
Note The use of partial matches with multiple keys may result in missed entries. If the first key is partial and the second column does not sort the same with the partial key as with the exact key, entries that fall out of sequence are missed.
getAllEntriesByKey
in interface DView
start
- A Calendar object that represents the start of a date range.
Compared to the first column in the view.end
- A Calendar object that represents the start of a end range.
Compared to the first column in the view.exact
- use true if you want an exact match or false for a partial
one
ViewEntry
s,
Entries returned by this method are in view order.DView.getAllEntriesByKey(java.util.Calendar, java.util.Calendar, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |