com.filenet.api.action

Class Checkin

  • All Implemented Interfaces:
    java.io.Serializable


    public class Checkin
    extends PendingAction
    Represents a pending action for checking in a document as a new version. When a document calls the checkin method, the API automatically creates an instance of the Checkin class and adds it to the underlying object's collection of PendingAction objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • Checkin

        public Checkin(java.lang.Boolean autoClassify,
               java.lang.Boolean checkinMinorVersion)
        Creates a new instance of a Checkin pending action object.
        Parameters:
        autoClassify - A Boolean specifying whether to auto-classify a document during check in (true) or not (false). If null, the default is to not auto-classify the document.
        checkinMinorVersion - A Boolean specifying whether to check in a document as a new minor version (true) or as a new major version (false). If null, the default is to check in the document as a major version.
        Throws:
        E_NOT_SUPPORTED - if the document to be checked in is not a reservation object. Thrown when you call the save method.
    • Method Detail

      • getAutoClassify

        public java.lang.Boolean getAutoClassify()
        Returns whether a document will be auto-classified during check in.
        Returns:
        true if a document will be auto-classified during check in; false if it will not be auto-classified.
      • getCheckinMinorVersion

        public java.lang.Boolean getCheckinMinorVersion()
        Returns whether a document will be checked in as a new minor version.
        Returns:
        true if a document will be checked in as a new minor version; false if it will be checked in as a new major version.

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