Class NodePageResult
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.docman.NodePageResult
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class NodePageResult extends ServiceDataObject implements java.io.Serializable
NodePageResult is returned by ListNodesByPage(), and contains the requested nodes, and other information about the list.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodePageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node[]getNodes()Gets the list of nodes on the specified page.NodegetNodes(int index)Gets the value at the specified index in the Nodes array.intgetNumberOfPages()Gets the maximum number of pages (actual number will be based on permissions and hidden state).java.lang.StringgetPageContext()Gets the page context is a state token which should be used when getting next page.intgetPageNumber()Gets the page number returned, or 0 if the page does not exist.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetNodes(int index, Node value)Sets the value at the specified index in the fNodes array.voidsetNodes(Node[] value)Sets the list of nodes on the specified page.voidsetNumberOfPages(int value)Sets the maximum number of pages (actual number will be based on permissions and hidden state).voidsetPageContext(java.lang.String value)Sets the page context is a state token which should be used when getting next page.voidsetPageNumber(int value)Sets the page number returned, or 0 if the page does not exist.com.opentext.api.LLValuetoLLValue()Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.StringtoString()Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
-
-
-
Method Detail
-
setNodes
public void setNodes(Node[] value)
Sets the list of nodes on the specified page.
-
getNodes
public Node[] getNodes()
Gets the list of nodes on the specified page.
-
setNodes
public void setNodes(int index, Node value)Sets the value at the specified index in the fNodes array.
-
getNodes
public Node getNodes(int index)
Gets the value at the specified index in the Nodes array.
-
setNumberOfPages
public void setNumberOfPages(int value)
Sets the maximum number of pages (actual number will be based on permissions and hidden state).
-
getNumberOfPages
public int getNumberOfPages()
Gets the maximum number of pages (actual number will be based on permissions and hidden state).
-
setPageContext
public void setPageContext(java.lang.String value)
Sets the page context is a state token which should be used when getting next page.
-
getPageContext
public java.lang.String getPageContext()
Gets the page context is a state token which should be used when getting next page.
-
setPageNumber
public void setPageNumber(int value)
Sets the page number returned, or 0 if the page does not exist.
-
getPageNumber
public int getPageNumber()
Gets the page number returned, or 0 if the page does not exist.
-
load
public void load(com.opentext.api.LLValue value)
Description copied from interface:IServiceDataObjectDeserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.- Specified by:
loadin interfaceIServiceDataObject- Overrides:
loadin classServiceDataObject- Parameters:
value- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObjectSerialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.- Specified by:
toLLValuein interfaceIServiceDataObject- Overrides:
toLLValuein classServiceDataObject- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public java.lang.String toString()
Description copied from class:ServiceDataObjectReturns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.- Overrides:
toStringin classServiceDataObject
-
-