|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.monitor.AbstractMonitorEnabled
de.bea.domingo.http.BaseHttp
de.bea.domingo.http.ViewEntryHttp
public final class ViewEntryHttp
| Nested Class Summary | |
|---|---|
(package private) class |
ViewEntryHttp.ViewEntryParser
SAX parser for view entries. |
| 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 | |
|---|---|
int |
getChildCount()
The number of immediate children belonging to the current view entry. |
java.util.List |
getColumnValues()
The value of each column in the view entry. |
int |
getDescendantCount()
The number of descendants belonging to the current view entry. |
DDocument |
getDocument()
The document associated with the view entry. |
int |
getIndentLevel()
The indent level of a view entry within the view. |
(package private) static DViewEntry |
getInstance(NotesHttpFactory theFactory,
DBase theParent,
DNotesMonitor monitor)
Factory method for instances of this class. |
java.lang.String |
getNoteID()
The note ID of a view entry of type document. |
protected BaseHttp.BaseHandler |
getParser()
Returns a SAX parser for the current view entry. |
java.lang.String |
getPosition(char seperator)
Returns the position of the entry in the view hierarchy, for example, "2.3" for the third document of the second category. |
int |
getSibblingCount()
Deprecated. use method getSiblingCount() instead |
int |
getSiblingCount()
The number of siblings belonging to the current view entry. |
java.lang.String |
getUniversalID()
|
boolean |
isCategory()
Indicates whether a view entry is a category. |
boolean |
isConflict()
Indicates if a view entry is for a document on which a replication or save conflict occurred. |
boolean |
isDocument()
Indicates whether a view entry is a document. |
boolean |
isTotal()
Indicates whether a view entry is a total. |
boolean |
isValid()
Indicates whether a view entry is a valid entry and not a deletion stub. |
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 DViewEntry getInstance(NotesHttpFactory theFactory,
DBase theParent,
DNotesMonitor monitor)
theFactory - the controlling factorytheParent - the parent objectmonitor - the monitor that handles logging
protected BaseHttp.BaseHandler getParser()
public java.lang.String toString()
BaseHttp
toString in interface DBasetoString in class BaseHttpObject.toString()public java.util.List getColumnValues()
getColumnValues in interface DViewEntryDViewEntry.getColumnValues()public DDocument getDocument()
Returns null if the view entry is not a document. Returns null if the document is deleted after the ViewEntry object is created.
getDocument in interface DViewEntryDViewEntry.getDocument()public boolean isCategory()
isCategory in interface DViewEntrytrue if the entry is a category,
false if the entry is not a categoryDViewEntry.isCategory()public boolean isDocument()
isDocument in interface DViewEntrytrue if the entry is a document,
false if the entry is not a documentDViewEntry.isDocument()public boolean isTotal()
isTotal in interface DViewEntrytrue if the entry is a total,
false if the entry is not a totalDViewEntry.isTotal()public java.lang.String getUniversalID()
getUniversalID in interface DViewEntryDViewEntry.getUniversalID()public int getChildCount()
getChildCount in interface DViewEntryDViewEntry.getChildCount()public boolean isConflict()
isConflict in interface DViewEntrytrue if the entry is a conflict document,
false if the entry is not a conflict documentDViewEntry.isConflict()public int getDescendantCount()
getDescendantCount in interface DViewEntryDViewEntry.getDescendantCount()public int getSiblingCount()
The sibling count includes the current entry unless it is a total.
getSiblingCount in interface DViewEntryDViewEntry.getSiblingCount()public int getSibblingCount()
getSiblingCount() instead
The sibling count includes the current entry unless it is a total.
getSibblingCount in interface DViewEntryDViewEntry.getSibblingCount()public int getIndentLevel()
The indent level corresponds to the number of levels in the position. Position 1 is indent level 0, position 1.1 is indent level 1, position 1.1.1 is indent level 2, and so on.
getIndentLevel in interface DViewEntryDViewEntry.getIndentLevel()public boolean isValid()
If a document is removed after a view entry collection containing it is created, you can use the corresponding view entry for navigation but cannot access the document. If the possibility of removal exists, you should check isValid before attempting to access the document.
isValid in interface DViewEntrytrue if a view entry is a valid entry and not a
deletion stubDViewEntry.isValid()public java.lang.String getNoteID()
This property returns the empty string for entries of type category and total.
getNoteID in interface DViewEntryDViewEntry.getNoteID()public java.lang.String getPosition(char seperator)
getPosition in interface DViewEntryseperator - The separator to be used in the return value.
DViewEntry.getPosition(char)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||