Class Version
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.docman.Version
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class Version extends ServiceDataObject implements java.io.Serializable
A Version object contains information about a (Document) version.- Version:
- 2013-10-25
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Version()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComment()Gets the comment of the version.java.util.DategetCreateDate()Gets the creation date of the version.java.util.DategetFileCreateDate()Gets the creation date of the source file for the version.java.lang.StringgetFileCreator()Gets the creator of the source file for the version.longgetFileDataSize()Gets the data size of the version.java.util.DategetFileModifyDate()Gets the modification date of the source file for the version.java.lang.StringgetFilename()Gets the filename of the source file for the version.intgetFilePlatform()Gets the platform of the source file for the version.longgetFileResSize()Gets the resource size of the version.java.lang.StringgetFileType()Gets the file type of the source file of the version.longgetID()Gets the ID of the version.intgetLocked()Gets the flag indicating whether the version is locked.java.lang.LonggetLockedBy()Gets the ID of the user who locked the version.java.util.DategetLockedDate()Gets the date the version was locked.MetadatagetMetadata()Gets the metadata for the version (null means none specified).java.lang.StringgetMimeType()Gets the MIME type of the version.java.util.DategetModifyDate()Gets the modification date of the version.java.lang.StringgetName()Gets the name of the version.longgetNodeID()Gets the node ID of the version.longgetNumber()Gets the version number.longgetOwner()Gets the owner of the version.longgetProviderID()Gets the provider ID for the version.java.lang.StringgetProviderName()Gets the provider name for the version.java.lang.StringgetType()Gets the type of version.longgetVerMajor()Gets the version major number.longgetVerMinor()Gets the version minor number.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetComment(java.lang.String value)Sets the comment of the version.voidsetCreateDate(java.util.Date value)Sets the creation date of the version.voidsetFileCreateDate(java.util.Date value)Sets the creation date of the source file for the version.voidsetFileCreator(java.lang.String value)Sets the creator of the source file for the version.voidsetFileDataSize(long value)Sets the data size of the version.voidsetFileModifyDate(java.util.Date value)Sets the modification date of the source file for the version.voidsetFilename(java.lang.String value)Sets the filename of the source file for the version.voidsetFilePlatform(int value)Sets the platform of the source file for the version.voidsetFileResSize(long value)Sets the resource size of the version.voidsetFileType(java.lang.String value)Sets the file type of the source file of the version.voidsetID(long value)Sets the ID of the version.voidsetLocked(int value)Sets the flag indicating whether the version is locked.voidsetLockedBy(java.lang.Long value)Sets the ID of the user who locked the version.voidsetLockedDate(java.util.Date value)Sets the date the version was locked.voidsetMetadata(Metadata value)Sets the metadata for the version (null means none specified).voidsetMimeType(java.lang.String value)Sets the MIME type of the version.voidsetModifyDate(java.util.Date value)Sets the modification date of the version.voidsetName(java.lang.String value)Sets the name of the version.voidsetNodeID(long value)Sets the node ID of the version.voidsetNumber(long value)Sets the version number.voidsetOwner(long value)Sets the owner of the version.voidsetProviderID(long value)Sets the provider ID for the version.voidsetProviderName(java.lang.String value)Sets the provider name for the version.voidsetType(java.lang.String value)Sets the type of version.voidsetVerMajor(long value)Sets the version major number.voidsetVerMinor(long value)Sets the version minor number.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
-
setComment
public void setComment(java.lang.String value)
Sets the comment of the version.
-
getComment
public java.lang.String getComment()
Gets the comment of the version.
-
setCreateDate
public void setCreateDate(java.util.Date value)
Sets the creation date of the version.
-
getCreateDate
public java.util.Date getCreateDate()
Gets the creation date of the version.
-
setFileCreateDate
public void setFileCreateDate(java.util.Date value)
Sets the creation date of the source file for the version.
-
getFileCreateDate
public java.util.Date getFileCreateDate()
Gets the creation date of the source file for the version.
-
setFileCreator
public void setFileCreator(java.lang.String value)
Sets the creator of the source file for the version.
-
getFileCreator
public java.lang.String getFileCreator()
Gets the creator of the source file for the version.
-
setFileDataSize
public void setFileDataSize(long value)
Sets the data size of the version.
-
getFileDataSize
public long getFileDataSize()
Gets the data size of the version.
-
setFileModifyDate
public void setFileModifyDate(java.util.Date value)
Sets the modification date of the source file for the version.
-
getFileModifyDate
public java.util.Date getFileModifyDate()
Gets the modification date of the source file for the version.
-
setFilename
public void setFilename(java.lang.String value)
Sets the filename of the source file for the version.
-
getFilename
public java.lang.String getFilename()
Gets the filename of the source file for the version.
-
setFilePlatform
public void setFilePlatform(int value)
Sets the platform of the source file for the version.
-
getFilePlatform
public int getFilePlatform()
Gets the platform of the source file for the version.
-
setFileResSize
public void setFileResSize(long value)
Sets the resource size of the version.
-
getFileResSize
public long getFileResSize()
Gets the resource size of the version.
-
setFileType
public void setFileType(java.lang.String value)
Sets the file type of the source file of the version.
-
getFileType
public java.lang.String getFileType()
Gets the file type of the source file of the version.
-
setID
public void setID(long value)
Sets the ID of the version.
-
getID
public long getID()
Gets the ID of the version.
-
setLocked
public void setLocked(int value)
Sets the flag indicating whether the version is locked.
-
getLocked
public int getLocked()
Gets the flag indicating whether the version is locked.
-
setLockedBy
public void setLockedBy(java.lang.Long value)
Sets the ID of the user who locked the version.
-
getLockedBy
public java.lang.Long getLockedBy()
Gets the ID of the user who locked the version.
-
setLockedDate
public void setLockedDate(java.util.Date value)
Sets the date the version was locked.
-
getLockedDate
public java.util.Date getLockedDate()
Gets the date the version was locked.
-
setMetadata
public void setMetadata(Metadata value)
Sets the metadata for the version (null means none specified).
-
getMetadata
public Metadata getMetadata()
Gets the metadata for the version (null means none specified).
-
setMimeType
public void setMimeType(java.lang.String value)
Sets the MIME type of the version.
-
getMimeType
public java.lang.String getMimeType()
Gets the MIME type of the version.
-
setModifyDate
public void setModifyDate(java.util.Date value)
Sets the modification date of the version.
-
getModifyDate
public java.util.Date getModifyDate()
Gets the modification date of the version.
-
setName
public void setName(java.lang.String value)
Sets the name of the version.
-
getName
public java.lang.String getName()
Gets the name of the version.
-
setNodeID
public void setNodeID(long value)
Sets the node ID of the version.
-
getNodeID
public long getNodeID()
Gets the node ID of the version.
-
setNumber
public void setNumber(long value)
Sets the version number.
-
getNumber
public long getNumber()
Gets the version number.
-
setOwner
public void setOwner(long value)
Sets the owner of the version.
-
getOwner
public long getOwner()
Gets the owner of the version.
-
setProviderID
public void setProviderID(long value)
Sets the provider ID for the version.
-
getProviderID
public long getProviderID()
Gets the provider ID for the version.
-
setProviderName
public void setProviderName(java.lang.String value)
Sets the provider name for the version.
-
getProviderName
public java.lang.String getProviderName()
Gets the provider name for the version.
-
setType
public void setType(java.lang.String value)
Sets the type of version.
-
getType
public java.lang.String getType()
Gets the type of version.
-
setVerMajor
public void setVerMajor(long value)
Sets the version major number.
-
getVerMajor
public long getVerMajor()
Gets the version major number.
-
setVerMinor
public void setVerMinor(long value)
Sets the version minor number.
-
getVerMinor
public long getVerMinor()
Gets the version minor number.
-
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
-
-