Click or drag to resize

ICustomHooks Interface


Represents custom hooks, applicable to any entity. The purpose of the hooks is for custom integration to be called on state changes within the CMS.

Namespace:  Ingeniux.CMS.Models.Hooks
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface ICustomHooks : IPageHooks, 
	IContentItemHooks<IPage>, IAssetHooks, ITaxonomyHooks, IUserGroupHooks, 
	IWorkflowHooks, IAssetWorkflowHooks, IPublishHooks, IPublishContentProcessorHooks

The ICustomHooks type exposes the following members.

Methods
  NameDescription
Public methodOnAfterAddToWorkflow
This method is invoked after a Page is added to a workflow.
(Inherited from IPageHooks.)
Public methodOnAfterAddToWorkflowAsset
This method is invoked after an Asset is added to a workflow.
(Inherited from IAssetHooks.)
Public methodOnAfterAssign
Custom hook that fires after a Content Item is assigned
(Inherited from IContentItemHooksT.)
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
(Inherited from IAssetHooks.)
Public methodOnAfterCategoryDelete
This method is invoked after a Category Node was deleted
(Inherited from ITaxonomyHooks.)
Public methodOnAfterCheckIn
Custom hook that fires after a Content Item is checked in.
(Inherited from IContentItemHooksT.)
Public methodOnAfterCheckInAsset
This method is invoked after an Asset was checked in.
(Inherited from IAssetHooks.)
Public methodOnAfterCheckOut
Custom hook that fires after a Content Item is checked out.
(Inherited from IContentItemHooksT.)
Public methodOnAfterCheckOutAsset
This method is invoked after an Asset was checked out.
(Inherited from IAssetHooks.)
Public methodOnAfterCopy
Custom hook that fires after a Page is copied.
(Inherited from IPageHooks.)
Public methodOnAfterCopyAsset
This method is invoked after an Asset was copied.
(Inherited from IAssetHooks.)
Public methodOnAfterCrossLocaleCopy
Custom hook that fires after a Page is lingually copied.
(Inherited from IPageHooks.)
Public methodOnAfterCrossLocaleCopyAsset
This method is invoked after a non-Region-Root Asset was pasted under another Region Root.
(Inherited from IAssetHooks.)
Public methodOnAfterDelete
Custom hook that fires after a Content Item is deleted.
(Inherited from IContentItemHooksT.)
Public methodOnAfterDeleteAsset
This method is invoked after an Asset was moved to recycle folder or removed permanently.
(Inherited from IAssetHooks.)
Public methodOnAfterEmptyAssetRecycleFolder
This method is invoked after all Assets under the Recycle Folder were permanently removed.
(Inherited from IAssetHooks.)
Public methodOnAfterEmptyRecycleFolder
Custom hook that fires after the Recycle Folder is emptied
(Inherited from IPageHooks.)
Public methodOnAfterEntitySave
This method is invoked after any type of Ingeniux CMS CSAPI Entity object was saved.
Public methodOnAfterLogout
This method is invoked after a User logged out.
Public methodOnAfterMarkForPublish
Custom hook that fires after a Content Item has its marking changed.
(Inherited from IContentItemHooksT.)
Public methodOnAfterMarkForPublishAsset
This method is invoked after an Asset was marked/unmarked for publish.
(Inherited from IAssetHooks.)
Public methodOnAfterMove
Custom hook that fires after a Page is moved.
(Inherited from IPageHooks.)
Public methodOnAfterMoveAsset
This method is invoked after an Asset was moved to another location.
(Inherited from IAssetHooks.)
Public methodOnAfterMoveTaxonomy
This method is invoked after a Taxonomy Category Node was moved to another location.
(Inherited from ITaxonomyHooks.)
Public methodOnAfterPasteSpecial
Custom hook that fires after a copied Page is pasted.
(Inherited from IPageHooks.)
Public methodOnAfterPublishContentProcessing
This method is invoked after Publishing Content Processing completes
(Inherited from IPublishContentProcessorHooks.)
Public methodOnAfterRegionRootCopy
Custom hook that fires after a Region Root is lingually copied.
(Inherited from IPageHooks.)
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.
(Inherited from IAssetHooks.)
Public methodOnAfterRemoveFromWorkflow
This method is invoked after a Page is removed from a workflow.
(Inherited from IPageHooks.)
Public methodOnAfterRemoveFromWorkflowAsset
This method is invoked after an Asset is removed from a workflow.
(Inherited from IAssetHooks.)
Public methodOnAfterRollback
Custom hook that fires after a Content Item is rolled back to a previous version.
(Inherited from IContentItemHooksT.)
Public methodOnAfterRollbackAsset
This method is invoked after an Asset was rolled back to its previous version.
(Inherited from IAssetHooks.)
Public methodOnAfterUndoCheckOut
Custom hook that fires after a Content Item is reverted to its checked in state.
(Inherited from IContentItemHooksT.)
Public methodOnAfterUndoCheckOutAsset
This method is invoked before a non-Region-Root Asset is copied to under another Region Root.
(Inherited from IAssetHooks.)
Public methodOnAfterUpload
This method is invoke after a File Upload got processed by Ingeniux CMS Site Instance server.
Public methodOnAfterUserDelete
This method is invoked after a User was deleted
(Inherited from IUserGroupHooks.)
Public methodOnAfterUserGroupDelete
This method is invoked after a UserGroup was deleted
(Inherited from IUserGroupHooks.)
Public methodOnAfterWorkflowAdvance
This method is invoked after a Workflow advanced through a Transition
(Inherited from IWorkflowHooks.)
Public methodOnAfterWorkflowAdvanceAsset
This method is invoked after a content item was advanced in workflow.
(Inherited from IAssetWorkflowHooks.)
Public methodOnAssetCategorizationChange
This method is invoked association or disassociation between a Category Node and an Asset.
(Inherited from ITaxonomyHooks.)
Public methodOnAssetCheckedInContentUpdated
This method is invoked after the Asset file content is updated on the checked in version of the Asset.
(Inherited from IAssetHooks.)
Public methodOnBeforeAddToWorkflow
This method is invoked before a Page is added to a workflow.
(Inherited from IPageHooks.)
Public methodOnBeforeAddToWorkflowAsset
This method is invoked before an Asset is added to a workflow.
(Inherited from IAssetHooks.)
Public methodOnBeforeAssign
Custom hook that fires before a Content Item is assigned.
(Inherited from IContentItemHooksT.)
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.
(Inherited from IAssetHooks.)
Public methodOnBeforeCategoryDelete
This method is invoked before a Category Node is deleted
(Inherited from ITaxonomyHooks.)
Public methodOnBeforeCheckIn
Custom hook that fires before a Content Item is checked in.
(Inherited from IContentItemHooksT.)
Public methodOnBeforeCheckInAsset
This method is invoked before an Asset is checked in.
(Inherited from IAssetHooks.)
Public methodOnBeforeCheckOut
Custom hook that fires before a Content Item is checked out.
(Inherited from IContentItemHooksT.)
Public methodOnBeforeCheckOutAsset
This method is invoked before an Asset is checked out.
(Inherited from IAssetHooks.)
Public methodOnBeforeCopy
Custom hook that fires before a Page is copied.
(Inherited from IPageHooks.)
Public methodOnBeforeCopyAsset
This method is invoked before an Asset is copied.
(Inherited from IAssetHooks.)
Public methodOnBeforeCrossLocaleCopy
Custom hook that fires before a Page is lingually copied.
(Inherited from IPageHooks.)
Public methodOnBeforeCrossLocaleCopyAsset
This method is invoked before a non-Region-Root Asset is copied to under another Region Root.
(Inherited from IAssetHooks.)
Public methodOnBeforeDelete
Custom hook that fires before a Content Item is deleted.
(Inherited from IContentItemHooksT.)
Public methodOnBeforeDeleteAsset
This method is invoked before an Asset moved to recycle folder to removed permanently.
(Inherited from IAssetHooks.)
Public methodOnBeforeEmptyAssetRecycleFolder
This method is invoked before all Assets under the Recycle Folder are permanently removed.
(Inherited from IAssetHooks.)
Public methodOnBeforeEmptyRecycleFolder
Custom hook that fires before the Recycle Folder is emptied
(Inherited from IPageHooks.)
Public methodOnBeforeEntitySave
This method is invoked before any type of Ingeniux CMS CSAPI Entity object is saved
Public methodOnBeforeLogout
This method is invoked before a User attempt to log out.
Public methodOnBeforeMarkForPublish
Custom hook that fires before a Content Item has its marking changed.
(Inherited from IContentItemHooksT.)
Public methodOnBeforeMarkForPublishAsset
This method is invoked before an Asset is marked/unmarked for publish.
(Inherited from IAssetHooks.)
Public methodOnBeforeMove
Custom hook that fires before a Page is moved.
(Inherited from IPageHooks.)
Public methodOnBeforeMoveAsset
This method is invoked before an Asset is moved to another location.
(Inherited from IAssetHooks.)
Public methodOnBeforeMoveTaxonomy
This method is invoked before a Taxonomy Category Node is moved to another location.
(Inherited from ITaxonomyHooks.)
Public methodOnBeforePasteSpecial
Custom hook that fires before a copied Page is pasted.
(Inherited from IPageHooks.)
Public methodOnBeforePublish
This method is invoked before a Publishing Task is submitted
(Inherited from IPublishHooks.)
Public methodOnBeforePublishContentProcessing
This method is invoked before Publishing Content Processing begins
(Inherited from IPublishContentProcessorHooks.)
Public methodOnBeforeRegionRootCopy
Custom hook that fires before a Region Root is lingually copied.
(Inherited from IPageHooks.)
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.
(Inherited from IAssetHooks.)
Public methodOnBeforeRemoveFromWorkflow
This method is invoked before a Page is removed from a workflow.
(Inherited from IPageHooks.)
Public methodOnBeforeRemoveFromWorkflowAsset
This method is invoked before an Asset is removed from a workflow.
(Inherited from IAssetHooks.)
Public methodOnBeforeRollback
Custom hook that fires before a Content Item is rolled back to a previous version.
(Inherited from IContentItemHooksT.)
Public methodOnBeforeRollbackAsset
This method is invoked before an Asset is rolled back to its previous version.
(Inherited from IAssetHooks.)
Public methodOnBeforeUndoCheckOut
Custom hook that fires before a Content Item is reverted to its checked in state.
(Inherited from IContentItemHooksT.)
Public methodOnBeforeUndoCheckOutAsset
This method is invoked before an Asset abandons its checked out version and reverts back to its last checked in version.
(Inherited from IAssetHooks.)
Public methodOnBeforeUpload
This method is invoke before a File Upload gets processed by Ingeniux CMS Site Instance server.
Public methodOnBeforeUserDelete
This method is invoked before a User is deleted
(Inherited from IUserGroupHooks.)
Public methodOnBeforeUserGroupDelete
This method is invoked before a UserGroup is deleted
(Inherited from IUserGroupHooks.)
Public methodOnBeforeWorkflowAdvance
This method is invoked before a Workflow advances through a Transition
(Inherited from IWorkflowHooks.)
Public methodOnBeforeWorkflowAdvanceAsset
This method is invoked before a content item is advanced in workflow.
(Inherited from IAssetWorkflowHooks.)
Public methodOnCategoryCreated
This method is invoked after a Category Node was created
(Inherited from ITaxonomyHooks.)
Public methodOnCategoryRenamed
This method is invoked after a Category Node was created. DO NOT assign to CategoryNode.Name in third method; otherwise, it will cause infinite loop
(Inherited from ITaxonomyHooks.)
Public methodOnNew
Custom hook that fires when a new Page is created.
(Inherited from IPageHooks.)
Public methodOnNewAsset
This method is invoked after a new Asset is created.
(Inherited from IAssetHooks.)
Public methodOnPageCategorizationChange
This method is invoked association or disassociation between a Category Node and an Page.
(Inherited from ITaxonomyHooks.)
Public methodOnPublishComplete
This method is invoked after a Publishing Task was completed
(Inherited from IPublishHooks.)
Public methodOnRename
Custom hook that fires when a Content Item is renamed.
(Inherited from IContentItemHooksT.)
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.
(Inherited from IAssetHooks.)
Public methodOnUpdateAsset
This method is invoked after an edit to an Asset File is saved.
(Inherited from IAssetHooks.)
Public methodOnUserCreated
This method is invoked after a User was created
(Inherited from IUserGroupHooks.)
Public methodOnUserGroupCreated
This method is invoked after a UserGroup was created
(Inherited from IUserGroupHooks.)
Top
See Also