Class NodeVersionInfo
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.docman.NodeVersionInfo
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class NodeVersionInfo extends ServiceDataObject implements java.io.Serializable
NodeVersionInfo contains version information about a node.- Version:
- 2013-10-25
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeVersionInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAdvancedVersionControl()Gets the flag indicating whether the node uses advanced versioning.java.lang.LonggetFileDataSize()Gets the data size of the current version of the node.java.lang.LonggetFileResSize()Gets the resource size of the current version of the node.java.lang.LonggetMajor()Gets the current major version number of the node.java.lang.StringgetMimeType()Gets the MIME type of the current version number of the node.booleangetSupportsAdvancedVersionControl()Gets the flag indicating whether the node supports advanced versioning.longgetVersionNum()Gets the current version number of the node.Version[]getVersions()Gets the list of versions of the node.VersiongetVersions(int index)Gets the value at the specified index in the Versions array.java.lang.IntegergetVersionsToKeep()Gets the number of versions that will be kept.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetAdvancedVersionControl(boolean value)Sets the flag indicating whether the node uses advanced versioning.voidsetFileDataSize(java.lang.Long value)Sets the data size of the current version of the node.voidsetFileResSize(java.lang.Long value)Sets the resource size of the current version of the node.voidsetMajor(java.lang.Long value)Sets the current major version number of the node.voidsetMimeType(java.lang.String value)Sets the MIME type of the current version number of the node.voidsetSupportsAdvancedVersionControl(boolean value)Sets the flag indicating whether the node supports advanced versioning.voidsetVersionNum(long value)Sets the current version number of the node.voidsetVersions(int index, Version value)Sets the value at the specified index in the fVersions array.voidsetVersions(Version[] value)Sets the list of versions of the node.voidsetVersionsToKeep(java.lang.Integer value)Sets the number of versions that will be kept.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
-
setAdvancedVersionControl
public void setAdvancedVersionControl(boolean value)
Sets the flag indicating whether the node uses advanced versioning.
-
getAdvancedVersionControl
public boolean getAdvancedVersionControl()
Gets the flag indicating whether the node uses advanced versioning.
-
setFileDataSize
public void setFileDataSize(java.lang.Long value)
Sets the data size of the current version of the node.
-
getFileDataSize
public java.lang.Long getFileDataSize()
Gets the data size of the current version of the node.
-
setFileResSize
public void setFileResSize(java.lang.Long value)
Sets the resource size of the current version of the node.
-
getFileResSize
public java.lang.Long getFileResSize()
Gets the resource size of the current version of the node.
-
setMajor
public void setMajor(java.lang.Long value)
Sets the current major version number of the node.
-
getMajor
public java.lang.Long getMajor()
Gets the current major version number of the node.
-
setMimeType
public void setMimeType(java.lang.String value)
Sets the MIME type of the current version number of the node.
-
getMimeType
public java.lang.String getMimeType()
Gets the MIME type of the current version number of the node.
-
setSupportsAdvancedVersionControl
public void setSupportsAdvancedVersionControl(boolean value)
Sets the flag indicating whether the node supports advanced versioning.
-
getSupportsAdvancedVersionControl
public boolean getSupportsAdvancedVersionControl()
Gets the flag indicating whether the node supports advanced versioning.
-
setVersionNum
public void setVersionNum(long value)
Sets the current version number of the node.
-
getVersionNum
public long getVersionNum()
Gets the current version number of the node.
-
setVersions
public void setVersions(Version[] value)
Sets the list of versions of the node.
-
getVersions
public Version[] getVersions()
Gets the list of versions of the node.
-
setVersions
public void setVersions(int index, Version value)Sets the value at the specified index in the fVersions array.
-
getVersions
public Version getVersions(int index)
Gets the value at the specified index in the Versions array.
-
setVersionsToKeep
public void setVersionsToKeep(java.lang.Integer value)
Sets the number of versions that will be kept.
-
getVersionsToKeep
public java.lang.Integer getVersionsToKeep()
Gets the number of versions that will be kept.
-
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
-
-