com.filenet.api.core

Class Factory.DocumentState

  • java.lang.Object
    • com.filenet.api.core.Factory.DocumentState
  • Enclosing class:
    Factory


    public static class Factory.DocumentState
    extends java.lang.Object
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static DocumentState createInstance()
      Creates a new instance of the DocumentState class to be persisted to an object store.
      static DocumentState createInstance(ObjectStore objectStore)
      Creates a new instance of the DocumentState class to be persisted to an object store.
      static DocumentStateList createList()
      Creates a new instance of this collection class.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createInstance

        public static DocumentState createInstance()
        Creates a new instance of the DocumentState class to be persisted to an object store. The created object is a dependent object and cannot exist in the object store without a parent object. The object is persisted to an object store when its parent object (the independently persistable object that references it) is persisted.

        The most frequently used form of this method takes no arguments. (Since a dependent object is persisted to the object store of its parent, there is no need to specify an object store.) A second form of this method, provided for backward compatibility with the FileNet P8 Content Engine COM API, takes an object store argument. If the specified object store is not that of the parent object, an exception is thrown when the parent is persisted.

        Returns:
        An object reference to a new instance of this class.
      • createInstance

        public static DocumentState createInstance(ObjectStore objectStore)
        Creates a new instance of the DocumentState class to be persisted to an object store. The created object is a dependent object and cannot exist in the object store without a parent object. The object is persisted to an object store when its parent object (the independently persistable object that references it) is persisted.

        The most frequently used form of this method takes no arguments. (Since a dependent object is persisted to the object store of its parent, there is no need to specify an object store.) A second form of this method, provided for backward compatibility with the FileNet P8 Content Engine COM API, takes an object store argument. If the specified object store is not that of the parent object, an exception is thrown when the parent is persisted.

        Returns:
        An object reference to a new instance of this class.
      • createList

        public static DocumentStateList createList()
        Creates a new instance of this collection class. This list will not exist on the server until its associated (independently persistable) object has been saved with this new list.
        Returns:
        The implementation of the class's associated collection interface.

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