The recoverable objects represented by a ICmRecoveryItem 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 ICmRecoveryItem objects that represent them. A set of recovery items can be retrieved from a ICmRecoveryBin object. By default, a recovery item inherits its permissions from the ICmRecoveryBin object that contains it.
A user can invoke either a recovery method or a delete method on a ICmRecoveryItem 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 delete method, inherited from IIndependentlyPersistableObject, deletes the original object and any cascade-deleted objects. The delete method functions as a purge operation, in the sense that the deleted objects are removed them from the object store database and cannot be restored.
Namespace:
FileNet.Api.Util
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Interface ICmRecoveryItem _ Implements IRepositoryObject, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, _ IEngineObject, ICloneable |
| C# |
|---|
public interface ICmRecoveryItem : IRepositoryObject, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
| Visual C++ |
|---|
public interface class ICmRecoveryItem : IRepositoryObject, ISubscribable, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable |
| JavaScript |
|---|
FileNet.Api.Util.ICmRecoveryItem = function(); FileNet.Api.Util.ICmRecoveryItem.createInterface('FileNet.Api.Util.ICmRecoveryItem'); |
Remarks
Metadata
Auditable: true
AllowsInstances: true
AllowsSubClasses: true
ClassDefinitionName: SubscribableClassDefinition
IsDependent: false
IsHidden: false
Name: OriginalName
Searchable: true
StorageType: ObjectStore
SuperclassName: Subscribable