Package com.saperion.ngc.resultset
Interface ResultListItem
- 
- All Superinterfaces:
- java.io.Serializable
 - All Known Implementing Classes:
- DraggableListItem
 
 public interface ResultListItem extends java.io.SerializableRepresents an item in theResultListof aResultSetView.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentIdgetAttachmentId()If this is a workflow-item, this method returns the ID of the attached document.ResultSetViewgetCorrespondingView()Returns theResultSetViewthat contains this item.java.lang.StringgetDdcName()Returns the name of the DDC this item belongs to.DocumentIdgetDocumentId()Returns the ID that identifies the document represented by this ResultListItem.intgetIndex()Returns the index of this item.intgetOriginalIndex()Returns the index of this item in the list like it was returned from the query.booleanisFolderItem()Returns true if this item represents any kind of folder.booleanisSelected()Returns true if this item is selected in the list.booleanisUnread()Returns true if this item was not yet read.booleanisWorkflowItem()Returns true if this item is contained in a workflow-inbox.voidsetFocus(boolean focus)Sets or removes the focus on this item.voidsetRead()Marks this item as read.voidsetSelected(boolean selected)Selects or deselects this item.voidsetUnread()Marks this item as unread.
 
- 
- 
- 
Method Detail- 
getAttachmentIdDocumentId getAttachmentId() If this is a workflow-item, this method returns the ID of the attached document. If this is not a workflow-item, this method returns null.- Returns:
- ID of the attachment or null if this is not a workflow-item
 
 - 
getDocumentIdDocumentId getDocumentId() Returns the ID that identifies the document represented by this ResultListItem.- Returns:
- the ID of the document represented by this ResultListItem
 
 - 
getOriginalIndexint getOriginalIndex() Returns the index of this item in the list like it was returned from the query. This index does not change when the list gets sorted.- Returns:
- original index of this item
 
 - 
getIndexint getIndex() Returns the index of this item. This index changes when the list gets sorted.- Returns:
- current index of this item
 
 - 
getCorrespondingViewResultSetView getCorrespondingView() Returns theResultSetViewthat contains this item.- Returns:
- corresponding ResultSetView. Never null.
 
 - 
getDdcNamejava.lang.String getDdcName() Returns the name of the DDC this item belongs to.- Returns:
- DDC name
 
 - 
isFolderItemboolean isFolderItem() Returns true if this item represents any kind of folder.- Returns:
- true if this item represents a folder
 
 - 
isWorkflowItemboolean isWorkflowItem() Returns true if this item is contained in a workflow-inbox.- Returns:
- true if this is a workflow-item
 
 - 
isUnreadboolean isUnread() Returns true if this item was not yet read.- Returns:
- true if unread
 
 - 
setReadvoid setRead() Marks this item as read.
 - 
setUnreadvoid setUnread() Marks this item as unread.
 - 
setFocusvoid setFocus(boolean focus) Sets or removes the focus on this item.- Parameters:
- focus- true to focus
 
 - 
isSelectedboolean isSelected() Returns true if this item is selected in the list.- Returns:
- true if selected
 
 - 
setSelectedvoid setSelected(boolean selected) Selects or deselects this item.- Parameters:
- selected- true to select this item
 
 
- 
 
-