Click or drag to resize

IAssetHooks Methods


The IAssetHooks type exposes the following members.

Methods
  Name Description
Public method OnAfterAddToWorkflowAsset This method is invoked after an Asset is added to a workflow.
Public method OnAfterAssignAsset 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 method OnAfterCheckInAsset This method is invoked after an Asset was checked in.
Public method OnAfterCheckOutAsset This method is invoked after an Asset was checked out.
Public method OnAfterCopyAsset This method is invoked after an Asset was copied.
Public method OnAfterCrossLocaleCopyAsset This method is invoked after a non-Region-Root Asset was pasted under another Region Root.
Public method OnAfterDeleteAsset This method is invoked after an Asset was moved to recycle folder or removed permanently.
Public method OnAfterEmptyAssetRecycleFolder This method is invoked after all Assets under the Recycle Folder were permanently removed.
Public method OnAfterMarkForPublishAsset This method is invoked after an Asset was marked/unmarked for publish.
Public method OnAfterMoveAsset This method is invoked after an Asset was moved to another location.
Public method OnAfterRegionRootCopyAsset 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 method OnAfterRemoveFromWorkflowAsset This method is invoked after an Asset is removed from a workflow.
Public method OnAfterRollbackAsset This method is invoked after an Asset was rolled back to its previous version.
Public method OnAfterUndoCheckOutAsset This method is invoked before a non-Region-Root Asset is copied to under another Region Root.
Public method OnAssetCheckedInContentUpdated This method is invoked after the Asset file content is updated on the checked in version of the Asset.
Public method OnBeforeAddToWorkflowAsset This method is invoked before an Asset is added to a workflow.
Public method OnBeforeAssignAsset 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 method OnBeforeCheckInAsset This method is invoked before an Asset is checked in.
Public method OnBeforeCheckOutAsset This method is invoked before an Asset is checked out.
Public method OnBeforeCopyAsset This method is invoked before an Asset is copied.
Public method OnBeforeCrossLocaleCopyAsset This method is invoked before a non-Region-Root Asset is copied to under another Region Root.
Public method OnBeforeDeleteAsset This method is invoked before an Asset moved to recycle folder to removed permanently.
Public method OnBeforeEmptyAssetRecycleFolder This method is invoked before all Assets under the Recycle Folder are permanently removed.
Public method OnBeforeMarkForPublishAsset This method is invoked before an Asset is marked/unmarked for publish.
Public method OnBeforeMoveAsset This method is invoked before an Asset is moved to another location.
Public method OnBeforeRegionRootCopyAsset 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 method OnBeforeRemoveFromWorkflowAsset This method is invoked before an Asset is removed from a workflow.
Public method OnBeforeRollbackAsset This method is invoked before an Asset is rolled back to its previous version.
Public method OnBeforeUndoCheckOutAsset This method is invoked before an Asset abandons its checked out version and reverts back to its last checked in version.
Public method OnNewAsset This method is invoked after a new Asset is created.
Public method OnRenameAsset 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 method OnUpdateAsset This method is invoked after an edit to an Asset File is saved.
Top
See Also