Represents an event that occurs when a folder has its Unfile method called to remove (unfile) a Containable object, for example, a Document or CustomObject, or when a subfolder is deleted. The source object of this event is the IFolder object. In the case of unfiling a document or custom object, the source object is the containing folder. In the case of deleting a subfolder, the source object is the parent folder.

You can instantiate an UnfileEvent object in the following ways:

  • Delete a IReferentialContainmentRelationship (RCR) object. The IFolder.Unfile method mentioned above deletes a RCR object.
  • Call the GetInstance or FetchInstance method on the Factory.UnfileEvent class.
  • Retrieve the AuditedEvents property on a Folder object, and iterate the EventSet collection for instances of UnfileEvent objects.
  • Retrieve an UnfileEvent object from an UnfileEventSet collection.

Namespace:  FileNet.Api.Events
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Interface IUnfileEvent _
	Implements IObjectChangeEvent, IEvent, IRepositoryObject, IIndependentlyPersistableObject,  _
	IIndependentObject, IEngineObject, ICloneable
C#
public interface IUnfileEvent : IObjectChangeEvent, 
	IEvent, IRepositoryObject, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, 
	ICloneable
Visual C++
public interface class IUnfileEvent : IObjectChangeEvent, 
	IEvent, IRepositoryObject, IIndependentlyPersistableObject, IIndependentObject, IEngineObject, 
	ICloneable
JavaScript
FileNet.Api.Events.IUnfileEvent = function();
FileNet.Api.Events.IUnfileEvent.createInterface('FileNet.Api.Events.IUnfileEvent');

ToggleRemarks

Metadata

Auditable: false
AllowsInstances: false
AllowsSubClasses: false
ClassDefinitionName: EventClassDefinition
IsDependent: false
IsHidden: false
Searchable: true
StorageType: ObjectStore
SuperclassName: ObjectChangeEvent

ToggleSee Also