|
||||||||||
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
public abstract class AbstractDominoViewEntry
Extended ViewEntry with extra methods.
Field Summary | |
---|---|
protected lotus.domino.ViewEntry |
_wrappedObject
|
protected java.util.Vector |
javaColumnValues
|
protected java.util.Vector |
notesColumnValues
|
static int |
VC_NOT_PRESENT
|
Fields inherited from interface lotus.domino.ViewEntry |
---|
TYPE_CATEGORY, TYPE_DOCUMENT, TYPE_TOTAL |
Constructor Summary | |
---|---|
|
AbstractDominoViewEntry()
Default constructor - for Serialization only |
protected |
AbstractDominoViewEntry(lotus.domino.ViewEntry _wrappedObject)
Constructor that takes a ViewEntry to be wrapped |
Method Summary | |
---|---|
void |
clearTransientValues()
Clear the transient values (the Notes format one). |
void |
clearValues()
Clear the cached values. |
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. |
abstract 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 |
getColumnValues()
Returns the value of each column in the view entry. |
protected lotus.domino.Database |
getDatabase()
Return the Database contain the View this View Entry comes from. |
java.lang.String |
getDatabaseName()
Return the name of Database contain the View this View Entry comes from. |
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. |
java.lang.String |
getId()
Deprecated. |
int |
getIndentLevel()
The indent level of a view entry within the view. |
java.util.Vector |
getJavaColumnValues()
Returns the value of each column in the view entry using Java type. |
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. |
int |
getNoteIDAsInt()
|
java.lang.String |
getOpenPageURL(java.lang.String pageName,
boolean readOnly)
XPages extended API. Get the URL of the page to open when a View Entry is selected |
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 arg0)
Returns true if the current entry has been read, otherwise false. |
int |
getResponseCount()
Deprecated. |
int |
getResponseLevel()
Deprecated. |
int |
getSiblingCount()
The number of siblings belonging to the current view entry (Read Only). |
protected java.lang.String |
getTarget(boolean readOnly)
|
java.lang.String |
getUniversalID()
The universal ID of a document associated with a view entry. |
protected lotus.domino.View |
getView()
Return the View this View Entry is part of. |
protected lotus.domino.ViewEntry |
getViewEntry()
Returned the wrapped ViewEntry |
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()
XPages extended API. Return true if the ViewEntry is expanded
Returns false. |
boolean |
isPreferJavaDates()
Return whether the View Entry will return Java Dates. |
boolean |
isSelected()
XPages extended API. Simply return false . |
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 |
setExpanded(boolean expanded)
XPages extended API. Set the state of whether the ViewEntry is expanded or not Empty method that should be overridden |
void |
setPreferJavaDates(boolean javaDate)
Set whether the View Entry will return Java Dates. |
void |
setSelected(boolean selected)
XPages extended API. Empty method. |
void |
toggleExpanded()
XPages extended API. Empty methoid that should be overridden |
java.lang.String |
toString()
XPages extended API. Return the list of Java Column Values as a String |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int VC_NOT_PRESENT
protected transient lotus.domino.ViewEntry _wrappedObject
protected transient java.util.Vector notesColumnValues
protected java.util.Vector javaColumnValues
Constructor Detail |
---|
public AbstractDominoViewEntry()
protected AbstractDominoViewEntry(lotus.domino.ViewEntry _wrappedObject) throws lotus.domino.NotesException
_wrappedObject
-
lotus.domino.NotesException
Method Detail |
---|
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
protected lotus.domino.View getView() throws lotus.domino.NotesException
lotus.domino.NotesException
protected lotus.domino.Database getDatabase() throws lotus.domino.NotesException
lotus.domino.NotesException
public java.lang.String getDatabaseName() throws lotus.domino.NotesException
lotus.domino.NotesException
protected lotus.domino.ViewEntry getViewEntry()
public void clearValues()
public void clearTransientValues()
public int getChildCount() throws lotus.domino.NotesException
getChildCount
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public int getColumnIndentLevel() throws lotus.domino.NotesException
getColumnIndentLevel
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public java.util.Vector getColumnValues() throws lotus.domino.NotesException
getColumnValues
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public java.util.Vector getJavaColumnValues() throws lotus.domino.NotesException
lotus.domino.NotesException
public int getDescendantCount() throws lotus.domino.NotesException
getDescendantCount
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public lotus.domino.Document getDocument() throws lotus.domino.NotesException
getDocument
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public int getFTSearchScore() throws lotus.domino.NotesException
getFTSearchScore
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public int getIndentLevel() throws lotus.domino.NotesException
getIndentLevel
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public java.lang.String getNoteID() throws lotus.domino.NotesException
getNoteID
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public java.lang.Object getParent() throws lotus.domino.NotesException
getParent
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public java.lang.String getPosition(char arg0) throws lotus.domino.NotesException
getPosition
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
public boolean getRead() throws lotus.domino.NotesException
getRead
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.getRead()
public boolean getRead(java.lang.String arg0) throws lotus.domino.NotesException
getRead
in interface lotus.domino.ViewEntry
arg0
- 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() throws lotus.domino.NotesException
getSiblingCount
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.getSiblingCount()
public java.lang.String getUniversalID() throws lotus.domino.NotesException
getUniversalID
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.getUniversalID()
public boolean isCategory() throws lotus.domino.NotesException
isCategory
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.isCategory()
public boolean isConflict() throws lotus.domino.NotesException
isConflict
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.isConflict()
public boolean isDocument() throws lotus.domino.NotesException
isDocument
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.isDocument()
public boolean isTotal() throws lotus.domino.NotesException
isTotal
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.isTotal()
public boolean isPreferJavaDates() throws lotus.domino.NotesException
isPreferJavaDates
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.isPreferJavaDates()
public void setPreferJavaDates(boolean javaDate) throws lotus.domino.NotesException
setPreferJavaDates
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.setPreferJavaDates(boolean)
public boolean isValid() throws lotus.domino.NotesException
isValid
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
ViewEntry.isValid()
public void recycle() throws lotus.domino.NotesException
recycle
in interface lotus.domino.Base
lotus.domino.NotesException
Base.recycle()
public void recycle(java.util.Vector arg0) throws lotus.domino.NotesException
recycle
in interface lotus.domino.Base
lotus.domino.NotesException
Base.recycle(java.util.Vector)
public int getNoteIDAsInt() throws lotus.domino.NotesException
getNoteIDAsInt
in interface lotus.domino.ViewEntry
lotus.domino.NotesException
lotus.domino.Base#getNoteIDAsInt(java.util.Vector)
public abstract java.lang.Object getColumnValue(java.lang.String name)
public java.lang.String getOpenPageURL(java.lang.String pageName, boolean readOnly)
protected java.lang.String getTarget(boolean readOnly)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getNavigatorPosition() throws lotus.domino.NotesException
getPosition(char)
lotus.domino.NotesException
public java.lang.String getPosition() throws lotus.domino.NotesException
getPosition(char)
lotus.domino.NotesException
public boolean isSelected()
false
. Should be overridden.
public void setSelected(boolean selected)
public boolean isExpanded()
true
if the ViewEntry is expanded
Returns false. Should be overridden.
public void setExpanded(boolean expanded)
public void toggleExpanded()
public int getResponseCount() throws lotus.domino.NotesException
lotus.domino.NotesException
public int getResponseLevel() throws lotus.domino.NotesException
lotus.domino.NotesException
public java.lang.String getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |