Class 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
      boolean getAdvancedVersionControl()
      Gets the flag indicating whether the node uses advanced versioning.
      java.lang.Long getFileDataSize()
      Gets the data size of the current version of the node.
      java.lang.Long getFileResSize()
      Gets the resource size of the current version of the node.
      java.lang.Long getMajor()
      Gets the current major version number of the node.
      java.lang.String getMimeType()
      Gets the MIME type of the current version number of the node.
      boolean getSupportsAdvancedVersionControl()
      Gets the flag indicating whether the node supports advanced versioning.
      long getVersionNum()
      Gets the current version number of the node.
      Version[] getVersions()
      Gets the list of versions of the node.
      Version getVersions​(int index)
      Gets the value at the specified index in the Versions array.
      java.lang.Integer getVersionsToKeep()
      Gets the number of versions that will be kept.
      void load​(com.opentext.api.LLValue value)
      Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
      void setAdvancedVersionControl​(boolean value)
      Sets the flag indicating whether the node uses advanced versioning.
      void setFileDataSize​(java.lang.Long value)
      Sets the data size of the current version of the node.
      void setFileResSize​(java.lang.Long value)
      Sets the resource size of the current version of the node.
      void setMajor​(java.lang.Long value)
      Sets the current major version number of the node.
      void setMimeType​(java.lang.String value)
      Sets the MIME type of the current version number of the node.
      void setSupportsAdvancedVersionControl​(boolean value)
      Sets the flag indicating whether the node supports advanced versioning.
      void setVersionNum​(long value)
      Sets the current version number of the node.
      void setVersions​(int index, Version value)
      Sets the value at the specified index in the fVersions array.
      void setVersions​(Version[] value)
      Sets the list of versions of the node.
      void setVersionsToKeep​(java.lang.Integer value)
      Sets the number of versions that will be kept.
      com.opentext.api.LLValue toLLValue()
      Serialize an SDO object to an LLValue that can be sent to Livelink.
      java.lang.String toString()
      Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NodeVersionInfo

        public NodeVersionInfo()
    • 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: IServiceDataObject
        Deserialize 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:
        load in interface IServiceDataObject
        Overrides:
        load in class ServiceDataObject
        Parameters:
        value - the LLValue containing the data to be loaded
      • toLLValue

        public com.opentext.api.LLValue toLLValue()
        Description copied from interface: IServiceDataObject
        Serialize 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:
        toLLValue in interface IServiceDataObject
        Overrides:
        toLLValue in class ServiceDataObject
        Returns:
        Returns the LLValue object that represents this SDO
      • toString

        public java.lang.String toString()
        Description copied from class: ServiceDataObject
        Returns 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:
        toString in class ServiceDataObject