com.filenet.api.util

Interface CmRecoveryItem

  • All Superinterfaces:
    EngineObject, IndependentlyPersistableObject, IndependentObject, RepositoryObject, java.io.Serializable, Subscribable


    public interface CmRecoveryItem
    extends RepositoryObject, Subscribable, IndependentlyPersistableObject
    A representative for one or more objects that have been marked for deletion. An object marked for deletion is a recoverable object, that is, an object that still exists in the object store database and can be restored.

    The recoverable objects represented by a CmRecoveryItem object consist of an object that was originally marked for deletion by a user, plus any objects referenced by object-valued properties (OVPs) of the original object. The referenced objects are marked for deletion by a cascade-delete operation performed by the server.

    In general, recoverable objects cannot be accessed directly; they can only be accessed through the CmRecoveryItem objects that represent them. A set of recovery items can be retrieved from a CmRecoveryBin object. By default, a recovery item inherits its permissions from the CmRecoveryBin object that contains it.

    A user can invoke either a recovery or purge operation on a CmRecoveryItem object. The recovery operation restores the original object that was marked for deletion and any cascade-deleted objects referenced by OVPs of the original object. The purge operation deletes the original object and any cascade-deleted objects (removes them from the object store database).

    Metadata

    See Also:
    Recovery Bin Concepts
    • Method Detail

      • get_Creator

        java.lang.String get_Creator()
        Returns the value of the Creator property. For more information, see Creator Property.
      • set_Creator

        void set_Creator(java.lang.String value)
        Sets the value of the Creator property. For more information, see Creator Property.
      • get_DateCreated

        java.util.Date get_DateCreated()
        Returns the value of the DateCreated property. For more information, see DateCreated Property.
      • set_DateCreated

        void set_DateCreated(java.util.Date value)
        Sets the value of the DateCreated property. For more information, see DateCreated Property.
      • get_LastModifier

        java.lang.String get_LastModifier()
        Returns the value of the LastModifier property. For more information, see LastModifier Property.
      • set_LastModifier

        void set_LastModifier(java.lang.String value)
        Sets the value of the LastModifier property. For more information, see LastModifier Property.
      • get_DateLastModified

        java.util.Date get_DateLastModified()
        Returns the value of the DateLastModified property. For more information, see DateLastModified Property.
      • set_DateLastModified

        void set_DateLastModified(java.util.Date value)
        Sets the value of the DateLastModified property. For more information, see DateLastModified Property.
      • get_Id

        Id get_Id()
        Returns the value of the Id property. For more information, see Id Property.
      • get_Owner

        java.lang.String get_Owner()
        Returns the value of the Owner property. For more information, see Owner Property.
      • set_Owner

        void set_Owner(java.lang.String value)
        Sets the value of the Owner property. For more information, see Owner Property.
      • get_InheritRecoveryBinPermissions

        java.lang.Boolean get_InheritRecoveryBinPermissions()
        Returns the value of the InheritRecoveryBinPermissions property. For more information, see InheritRecoveryBinPermissions Property.
      • set_InheritRecoveryBinPermissions

        void set_InheritRecoveryBinPermissions(java.lang.Boolean value)
        Sets the value of the InheritRecoveryBinPermissions property. For more information, see InheritRecoveryBinPermissions Property.
      • get_RecoverableObjectsCount

        java.lang.Integer get_RecoverableObjectsCount()
        Returns the value of the RecoverableObjectsCount property. For more information, see RecoverableObjectsCount Property.
      • get_OriginalId

        Id get_OriginalId()
        Returns the value of the OriginalId property. For more information, see OriginalId Property.
      • get_OriginalClassId

        Id get_OriginalClassId()
        Returns the value of the OriginalClassId property. For more information, see OriginalClassId Property.
      • get_OriginalName

        java.lang.String get_OriginalName()
        Returns the value of the OriginalName property. For more information, see OriginalName Property.
      • get_OriginalCreator

        java.lang.String get_OriginalCreator()
        Returns the value of the OriginalCreator property. For more information, see OriginalCreator Property.
      • get_OriginalDateCreated

        java.util.Date get_OriginalDateCreated()
        Returns the value of the OriginalDateCreated property. For more information, see OriginalDateCreated Property.
      • get_OriginalLastModifier

        java.lang.String get_OriginalLastModifier()
        Returns the value of the OriginalLastModifier property. For more information, see OriginalLastModifier Property.
      • get_OriginalDateLastModified

        java.util.Date get_OriginalDateLastModified()
        Returns the value of the OriginalDateLastModified property. For more information, see OriginalDateLastModified Property.
      • recover

        void recover()
        Initiates recovery of the objects represented by this recovery item. It restores the original object that was marked for deletion and any cascade-deleted objects referenced by OVPs of the original object.

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