public class NSFViewEntry extends NSFBase
The entry data is not read until one of the entry-data getters is called, so if the native in-memory object is closed before getting any data, all getters will act as if the read mask was empty.
This object is externally immutable.
Constructor and Description |
---|
NSFViewEntry(NSFViewEntryCollection parent,
int index,
long infoPtr,
int readMask) |
Modifier and Type | Method and Description |
---|---|
protected long |
_getFinalPointer() |
protected void |
doFree()
This method is called when the final reference to this object is freed.
|
long |
getChildCount() |
Object[] |
getColumnValues() |
Map<String,Object> |
getColumnValuesMap() |
long |
getDescendantCount() |
int |
getIndentLevel() |
short |
getNoteClass() |
int |
getNoteId() |
NSFViewEntryCollection |
getParent() |
NSFView |
getParentView() |
int |
getPositionLevel() |
int |
getPositionMaxLevel() |
int |
getPositionMinLevel() |
int |
getPositionTumbler(int index) |
int |
getSearchScore() |
long |
getSiblingCount() |
String |
getUniversalID() |
boolean |
isAnyUnread() |
boolean |
isCategory() |
boolean |
isDocument() |
boolean |
isRefValid()
Checks whether the object's inner reference is valid.
|
boolean |
isTotal() |
boolean |
isUnread() |
protected void |
removeFromParent() |
String |
toString() |
_checkRefValidity, addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, isFreed, isTraceCreation, removeChild, removeChildStruct, retain, setNeedsFree, setTraceCreation
public NSFViewEntry(NSFViewEntryCollection parent, int index, long infoPtr, int readMask) throws DominoException
DominoException
public NSFViewEntryCollection getParent()
getParent
in class NSFBase
NSFViewEntryCollection
of this entry, or null
if the entry did not come from a collectionpublic NSFView getParentView()
public int getNoteId()
public String getUniversalID()
null
if the data was not read from the viewpublic short getNoteClass()
public long getSiblingCount()
public long getChildCount()
public long getDescendantCount()
public boolean isAnyUnread()
false
if the data was not read from the viewpublic int getIndentLevel()
public int getSearchScore()
public boolean isUnread()
false
if the data was not read from the viewpublic int getPositionLevel()
public int getPositionMinLevel()
public int getPositionMaxLevel()
public int getPositionTumbler(int index)
the
- 0-based index of the tumbler to returnIndexOutOfBoundsException
- if index
is higher than level of this entry - 1public boolean isDocument()
public boolean isCategory()
public boolean isTotal()
public Object[] getColumnValues()
protected void doFree()
NSFBase
Implemented classes are expected to release any memory or network resources they have open. They are also expected to write this defensively, allowing the method to be called multiple times on the same object without problem.
protected long _getFinalPointer()
public boolean isRefValid()
NSFBase
isRefValid
in class NSFBase
protected void removeFromParent()
removeFromParent
in class NSFBase
Copyright © 2014–2018. All rights reserved.