|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.model.domino.wrapped.AbstractDominoViewEntry com.ibm.xsp.model.domino.wrapped.DominoViewEntry
public class DominoViewEntry
NotesXspViewEntry represents a View Entry in XPages
ViewRowData
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.xsp.model.ViewRowData |
---|
ViewRowData.ColumnInfo, ViewRowData.ValueColumnInfo |
Field Summary | |
---|---|
protected java.util.Vector |
_columnValuesEx
|
protected DominoViewDataModel |
_viewDataModel
|
protected int |
childCount
|
protected int |
columnIndentLevel
|
protected java.lang.String |
databaseName
|
protected int |
descendantCount
|
protected int |
FTSearchScore
|
protected int |
indentLevel
|
protected boolean |
isCategory
|
protected boolean |
isConflict
|
protected boolean |
isDocument
|
protected boolean |
isTotal
|
protected boolean |
isValid
|
protected java.lang.String |
noteId
|
static char |
PATH_SEPARATOR
|
protected java.lang.String |
position
|
protected boolean |
preferJavaDate
|
protected int |
siblingCount
|
protected java.lang.String |
UNID
|
Fields inherited from class com.ibm.xsp.model.domino.wrapped.AbstractDominoViewEntry |
---|
_wrappedObject, javaColumnValues, notesColumnValues, VC_NOT_PRESENT |
Fields inherited from interface lotus.domino.ViewEntry |
---|
TYPE_CATEGORY, TYPE_DOCUMENT, TYPE_TOTAL |
Constructor Summary | |
---|---|
DominoViewEntry()
Contructor - for Serielization only |
|
DominoViewEntry(java.lang.String databaseName,
java.lang.String pos)
Create a DominoViewEntry |
|
DominoViewEntry(lotus.domino.ViewEntry wrappedObject,
java.lang.String databaseName,
java.lang.String position)
Create a DominoViewEntry specifying a ViewEntry to be wrapped |
Method Summary | |
---|---|
void |
discardWrappedObject(java.lang.String dataCache)
Discard the wrapped object, column values and the view data model |
int |
getChildCount()
Return the number of immediate children belonging to the current view entry |
int |
getColumnIndentLevel()
The indent level of a view entry within its column. |
ViewRowData.ColumnInfo |
getColumnInfo(java.lang.String name)
Return the column info for the specified column. |
java.lang.Object |
getColumnValue(java.lang.String name)
XPages extended API. Return the value for the specified column name from the View Entry |
java.util.Vector |
getColumnValuesEx()
Return Java Columns Values for the View Entry |
java.lang.String |
getDatabaseName()
Return the name of Database contain the View this View Entry comes from. |
DominoViewDataModel |
getDataModel()
Return the DominoViewDataModel for the ViewEntry |
int |
getDescendantCount()
The number of descendants belonging to the current view entry. |
lotus.domino.Document |
getDocument()
The document associated with the view entry. |
int |
getFTSearchScore()
The full-text search score of a view entry, if it was retrieved as part of a full-text search. |
int |
getIndentLevel()
The indent level of a view entry within the view. |
java.lang.String |
getNavigatorPosition()
XPages extended API. Get the position of the ViewEntry using '.' as the character separator. |
java.lang.String |
getNoteID()
The note ID of a view entry of type document. |
java.lang.Object |
getParent()
Return the parent ViewEntryCollection, ViewNavigator, or View object of a view entry. |
java.lang.String |
getPosition()
XPages extended API. Get the position of the ViewEntry using '.' as the character separator. |
java.lang.String |
getPosition(char arg0)
Returns the position of the entry in the view hierarchy, for example, "2.3" for the third document of the second category. |
boolean |
getRead()
Returns true if the current entry has been read, otherwise false. |
boolean |
getRead(java.lang.String onBehalfOf)
Returns true if the current entry has been read, otherwise false. |
int |
getSiblingCount()
The number of siblings belonging to the current view entry (Read Only). |
java.lang.String |
getUniversalID()
The universal ID of a document associated with a view entry. |
java.lang.Object |
getValue(java.lang.String name)
Return the value for the specified property. |
protected lotus.domino.View |
getView()
Return the View this View Entry is part of. |
boolean |
isCategory()
Indicates whether a view entry is a category. |
boolean |
isConflict()
Indicates whether 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 |
isExpanded()
return true if the View Entry has been expanded in the View Panel |
boolean |
isPreferJavaDates()
Return whether the View Entry will return Java Dates. |
boolean |
isReadOnly(java.lang.String name)
Always returns true |
boolean |
isSelected()
returns true is the ViewEntry has been selected in the View Panel |
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. |
void |
readExternal(java.io.ObjectInput in)
|
void |
recycle()
The recycle method unconditionally destroys an object and returns its memory to the system. |
void |
recycle(java.util.Vector arg0)
The recycle method unconditionally destroys an object and returns its memory to the system. |
void |
setColumnValue(java.lang.String name,
java.lang.Object value)
Views are readonly data source - does nothing. |
void |
setDataModel(DominoViewDataModel viewDataModel)
Set the DominoViewDataModel foe this View Entry |
void |
setExpanded(boolean expanded)
add or remove this ViewEntry from the list of expanded rows in the View Data Model. |
void |
setPreferJavaDates(boolean javaDate)
Set whether the View Entry will return Java Dates. |
void |
setSelected(boolean selected)
adds or removes the ViewEntry from the list of selected ViewEntrys in the View model. |
void |
toggleExpanded()
toggle whether this ViewEntry is expanded in the View Data Model |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class com.ibm.xsp.model.domino.wrapped.AbstractDominoViewEntry |
---|
clearTransientValues, clearValues, getColumnValues, getDatabase, getId, getJavaColumnValues, getNoteIDAsInt, getOpenPageURL, getResponseCount, getResponseLevel, getTarget, getViewEntry, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.model.ViewRowData |
---|
getOpenPageURL |
Field Detail |
---|
public static final char PATH_SEPARATOR
protected transient DominoViewDataModel _viewDataModel
protected transient java.util.Vector _columnValuesEx
protected java.lang.String databaseName
protected java.lang.String UNID
protected java.lang.String noteId
protected java.lang.String position
protected boolean isCategory
protected boolean isDocument
protected boolean isTotal
protected boolean isValid
protected boolean isConflict
protected int siblingCount
protected int childCount
protected int descendantCount
protected int indentLevel
protected int FTSearchScore
protected int columnIndentLevel
protected boolean preferJavaDate
Constructor Detail |
---|
public DominoViewEntry()
public DominoViewEntry(java.lang.String databaseName, java.lang.String pos)
databaseName
- the Database that owns the View the the ViewEntry belongsnavPos
- position of the ViewEntry in the Viewpublic DominoViewEntry(lotus.domino.ViewEntry wrappedObject, java.lang.String databaseName, java.lang.String position) throws lotus.domino.NotesException
wrappedObject
- the ViewEntry to be wrappeddatabaseName
- the Database that owns the View the the ViewEntry belongsnavPos
- position of the ViewEntry in the View
lotus.domino.NotesException
Method Detail |
---|
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class AbstractDominoViewEntry
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class AbstractDominoViewEntry
java.io.IOException
java.lang.ClassNotFoundException
public void discardWrappedObject(java.lang.String dataCache)
dataCache
- public java.lang.String getDatabaseName() throws lotus.domino.NotesException
AbstractDominoViewEntry
getDatabaseName
in class AbstractDominoViewEntry
lotus.domino.NotesException
public int getChildCount()
AbstractDominoViewEntry
getChildCount
in interface lotus.domino.ViewEntry
getChildCount
in class AbstractDominoViewEntry
public int getColumnIndentLevel()
AbstractDominoViewEntry
getColumnIndentLevel
in interface lotus.domino.ViewEntry
getColumnIndentLevel
in class AbstractDominoViewEntry
public ViewRowData.ColumnInfo getColumnInfo(java.lang.String name)
ViewRowData
getColumnInfo
in interface ViewRowData
public java.lang.Object getColumnValue(java.lang.String name)
AbstractDominoViewEntry
getColumnValue
in interface ViewRowData
getColumnValue
in class AbstractDominoViewEntry
public void setColumnValue(java.lang.String name, java.lang.Object value)
setColumnValue
in interface ViewRowData
ViewRowData.setColumnValue(java.lang.String, java.lang.Object)
public java.util.Vector getColumnValuesEx() throws lotus.domino.NotesException
lotus.domino.NotesException
public DominoViewDataModel getDataModel()
public void setDataModel(DominoViewDataModel viewDataModel)
viewDataModel
- public int getDescendantCount()
AbstractDominoViewEntry
getDescendantCount
in interface lotus.domino.ViewEntry
getDescendantCount
in class AbstractDominoViewEntry
public lotus.domino.Document getDocument() throws lotus.domino.NotesException
AbstractDominoViewEntry
getDocument
in interface lotus.domino.ViewEntry
getDocument
in class AbstractDominoViewEntry
lotus.domino.NotesException
public int getFTSearchScore()
AbstractDominoViewEntry
getFTSearchScore
in interface lotus.domino.ViewEntry
getFTSearchScore
in class AbstractDominoViewEntry
public int getIndentLevel()
AbstractDominoViewEntry
getIndentLevel
in interface lotus.domino.ViewEntry
getIndentLevel
in class AbstractDominoViewEntry
public java.lang.String getNoteID()
AbstractDominoViewEntry
getNoteID
in interface lotus.domino.ViewEntry
getNoteID
in class AbstractDominoViewEntry
public java.lang.Object getParent() throws lotus.domino.NotesException
AbstractDominoViewEntry
getParent
in interface lotus.domino.ViewEntry
getParent
in class AbstractDominoViewEntry
lotus.domino.NotesException
public java.lang.String getNavigatorPosition()
AbstractDominoViewEntry
AbstractDominoViewEntry.getPosition(char)
getNavigatorPosition
in class AbstractDominoViewEntry
public java.lang.String getPosition()
AbstractDominoViewEntry
AbstractDominoViewEntry.getPosition(char)
getPosition
in class AbstractDominoViewEntry
public java.lang.String getPosition(char arg0) throws lotus.domino.NotesException
AbstractDominoViewEntry
getPosition
in interface lotus.domino.ViewEntry
getPosition
in class AbstractDominoViewEntry
lotus.domino.NotesException
public boolean getRead() throws lotus.domino.NotesException
AbstractDominoViewEntry
getRead
in interface lotus.domino.ViewEntry
getRead
in class AbstractDominoViewEntry
lotus.domino.NotesException
ViewEntry.getRead()
public boolean getRead(java.lang.String onBehalfOf) throws lotus.domino.NotesException
AbstractDominoViewEntry
getRead
in interface lotus.domino.ViewEntry
getRead
in class AbstractDominoViewEntry
onBehalfOf
- If supplied, the username who has or has not read the entry. Otherwise, defaults to the name of the current user.
lotus.domino.NotesException
ViewEntry.getRead(java.lang.String)
public int getSiblingCount()
AbstractDominoViewEntry
getSiblingCount
in interface lotus.domino.ViewEntry
getSiblingCount
in class AbstractDominoViewEntry
ViewEntry.getSiblingCount()
public java.lang.String getUniversalID()
AbstractDominoViewEntry
getUniversalID
in interface lotus.domino.ViewEntry
getUniversalID
in class AbstractDominoViewEntry
ViewEntry.getUniversalID()
public java.lang.Object getValue(java.lang.String name)
ViewRowData
getValue
in interface ViewRowData
protected lotus.domino.View getView() throws lotus.domino.NotesException
AbstractDominoViewEntry
getView
in class AbstractDominoViewEntry
lotus.domino.NotesException
public boolean isCategory()
AbstractDominoViewEntry
isCategory
in interface lotus.domino.ViewEntry
isCategory
in class AbstractDominoViewEntry
ViewEntry.isCategory()
public boolean isConflict()
AbstractDominoViewEntry
isConflict
in interface lotus.domino.ViewEntry
isConflict
in class AbstractDominoViewEntry
ViewEntry.isConflict()
public boolean isDocument()
AbstractDominoViewEntry
isDocument
in interface lotus.domino.ViewEntry
isDocument
in class AbstractDominoViewEntry
ViewEntry.isDocument()
public boolean isReadOnly(java.lang.String name)
true
isReadOnly
in interface ViewRowData
public boolean isSelected()
true
is the ViewEntry has been selected in the View Panel
isSelected
in class AbstractDominoViewEntry
public void setSelected(boolean selected)
setSelected
in class AbstractDominoViewEntry
public boolean isExpanded()
true
if the View Entry has been expanded in the View Panel
isExpanded
in class AbstractDominoViewEntry
public void setExpanded(boolean expanded)
setExpanded
in class AbstractDominoViewEntry
public void toggleExpanded()
toggleExpanded
in class AbstractDominoViewEntry
public boolean isTotal()
AbstractDominoViewEntry
isTotal
in interface lotus.domino.ViewEntry
isTotal
in class AbstractDominoViewEntry
ViewEntry.isTotal()
public boolean isValid()
AbstractDominoViewEntry
isValid
in interface lotus.domino.ViewEntry
isValid
in class AbstractDominoViewEntry
ViewEntry.isValid()
public void recycle() throws lotus.domino.NotesException
AbstractDominoViewEntry
recycle
in interface lotus.domino.Base
recycle
in class AbstractDominoViewEntry
lotus.domino.NotesException
Base.recycle()
public void recycle(java.util.Vector arg0) throws lotus.domino.NotesException
AbstractDominoViewEntry
recycle
in interface lotus.domino.Base
recycle
in class AbstractDominoViewEntry
lotus.domino.NotesException
Base.recycle(java.util.Vector)
public boolean isPreferJavaDates() throws lotus.domino.NotesException
AbstractDominoViewEntry
isPreferJavaDates
in interface lotus.domino.ViewEntry
isPreferJavaDates
in class AbstractDominoViewEntry
lotus.domino.NotesException
ViewEntry.isPreferJavaDates()
public void setPreferJavaDates(boolean javaDate) throws lotus.domino.NotesException
AbstractDominoViewEntry
setPreferJavaDates
in interface lotus.domino.ViewEntry
setPreferJavaDates
in class AbstractDominoViewEntry
lotus.domino.NotesException
ViewEntry.setPreferJavaDates(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |