Click or drag to resize

IAssetHooks Interface


Represents the collection of event hooks for Asset objects.

Namespace: Ingeniux.CMS.Models.Hooks
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
public interface IAssetHooks

The IAssetHooks type exposes the following members.

Methods
 NameDescription
Public methodOnAfterAddToWorkflowAsset This method is invoked after an Asset is added to a workflow.
Public methodOnAfterAssignAsset This method is invoked after an Asset was assigned to a User. DO NOT call contentItem.AssignUser or contentItem.AssignGroup inside this method, otherwise it will cause infinite loop
Public methodOnAfterCheckInAsset This method is invoked after an Asset was checked in.
Public methodOnAfterCheckOutAsset This method is invoked after an Asset was checked out.
Public methodOnAfterCopyAsset This method is invoked after an Asset was copied.
Public methodOnAfterCrossLocaleCopyAsset This method is invoked after a non-Region-Root Asset was pasted under another Region Root.
Public methodOnAfterDeleteAsset This method is invoked after an Asset was moved to recycle folder or removed permanently.
Public methodOnAfterEmptyAssetRecycleFolder This method is invoked after all Assets under the Recycle Folder were permanently removed.
Public methodOnAfterMarkForPublishAsset This method is invoked after an Asset was marked/unmarked for publish.
Public methodOnAfterMoveAsset This method is invoked after an Asset was moved to another location.
Public methodOnAfterRegionRootCopyAsset This method is invoked after a Region Root Asset was cloned into another Region Root Asset, with lingual maps established between the two Regions.
Public methodOnAfterRemoveFromWorkflowAsset This method is invoked after an Asset is removed from a workflow.
Public methodOnAfterRollbackAsset This method is invoked after an Asset was rolled back to its previous version.
Public methodOnAfterUndoCheckOutAsset This method is invoked before a non-Region-Root Asset is copied to under another Region Root.
Public methodOnAssetCheckedInContentUpdated This method is invoked after the Asset file content is updated on the checked in version of the Asset.
Public methodOnBeforeAddToWorkflowAsset This method is invoked before an Asset is added to a workflow.
Public methodOnBeforeAssignAsset This method is invoked before an Asset is assigned to a User. DO NOT call contentItem.AssignUser or contentItem.AssignGroup inside this method, otherwise it will cause an infinite loop.
Public methodOnBeforeCheckInAsset This method is invoked before an Asset is checked in.
Public methodOnBeforeCheckOutAsset This method is invoked before an Asset is checked out.
Public methodOnBeforeCopyAsset This method is invoked before an Asset is copied.
Public methodOnBeforeCrossLocaleCopyAsset This method is invoked before a non-Region-Root Asset is copied to under another Region Root.
Public methodOnBeforeDeleteAsset This method is invoked before an Asset moved to recycle folder to removed permanently.
Public methodOnBeforeEmptyAssetRecycleFolder This method is invoked before all Assets under the Recycle Folder are permanently removed.
Public methodOnBeforeMarkForPublishAsset This method is invoked before an Asset is marked/unmarked for publish.
Public methodOnBeforeMoveAsset This method is invoked before an Asset is moved to another location.
Public methodOnBeforeRegionRootCopyAsset This method is invoked before a Region Root Asset is cloned into another Region Root Asset, with lingual maps established between the two Regions.
Public methodOnBeforeRemoveFromWorkflowAsset This method is invoked before an Asset is removed from a workflow.
Public methodOnBeforeRollbackAsset This method is invoked before an Asset is rolled back to its previous version.
Public methodOnBeforeUndoCheckOutAsset This method is invoked before an Asset abandons its checked out version and reverts back to its last checked in version.
Public methodOnNewAsset This method is invoked after a new Asset is created.
Public methodOnRenameAsset This method is invoked after an Asset is renamed. DO NOT call contentItem.Name inside this method, otherwise it will cause an infinite loop.
Public methodOnUpdateAsset This method is invoked after an edit to an Asset File is saved.
Top
See Also