com.filenet.api.constants

Class CheckinType

  • java.lang.Object
    • com.filenet.api.constants.CheckinType
  • All Implemented Interfaces:
    java.io.Serializable


    public class CheckinType
    extends java.lang.Object
    implements java.io.Serializable
    Provides a set of constants to specify whether to check in a document reservation as a new minor or new major version. During a minor version check-in, the new minor document version is marked as in-process (its VersionStatus property is set to IN_PROCESS) and the previous in-process minor document version (if it exists) is marked as superseded (its VersionStatus property is set to SUPERSEDED). During a major version check-in, the new major document version is marked as released (its VersionStatus property is set to RELEASED) and the previous released major document version and in-process minor document version (if they exist) are marked as superseded.
    See Also:
    checkin, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static CheckinType MAJOR_VERSION
      Specifies that a document reservation will be checked in as a new major version.
      static CheckinType MINOR_VERSION
      Specifies that a document reservation will be checked in as a new minor version.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Boolean getBooleanValue()
      Returns a Boolean representation of this instance.
      static CheckinType getInstanceFromBoolean(boolean value)
      Returns the object instance from its associated boolean value
      boolean getValue()
      Returns a boolean representation of this instance.
      java.lang.String toString()
      Returns a String representation of this instance.
      • Methods inherited from class java.lang.Object

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

      • MINOR_VERSION

        public static final CheckinType MINOR_VERSION
        Specifies that a document reservation will be checked in as a new minor version.
      • MAJOR_VERSION

        public static final CheckinType MAJOR_VERSION
        Specifies that a document reservation will be checked in as a new major version.
    • Method Detail

      • getValue

        public boolean getValue()
        Returns a boolean representation of this instance.
        Returns:
        A boolean representing the instance.
      • getBooleanValue

        public java.lang.Boolean getBooleanValue()
        Returns a Boolean representation of this instance.
        Returns:
        A Boolean representing the instance.
      • getInstanceFromBoolean

        public static CheckinType getInstanceFromBoolean(boolean value)
        Returns the object instance from its associated boolean value
        Parameters:
        value - A boolean associated with a particular instance of this class.
        Returns:
        The referenced object instance.
      • toString

        public java.lang.String toString()
        Returns a String representation of this instance.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A String representing the instance.

© Copyright IBM Corporation 2006, 2015. All rights reserved.