com.filenet.api.core

Class Factory.CmAbstractDependent

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


    public static class Factory.CmAbstractDependent
    extends java.lang.Object
    • Method Detail

      • createInstance

        public static CmAbstractDependent createInstance(ObjectStore os,
                                                         java.lang.String className)
        Creates a new instance of the subclassable CmAbstractDependent class, to be persisted in the specified object store, based on the class.

        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. If the specified object store is not that of the parent object, an exception is thrown when the parent is persisted.

        Parameters:
        os - The ObjectStore object for the object store in which this class instance is to be located.
        className - The name of the subclass. This may not be null or an empty string.
        Returns:
        An object reference to a new instance of this class.
      • createList

        public static CmAbstractDependentList 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, 2019. All rights reserved.