AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

NavigationLifecycleHandler Members

The NavigationLifecycleHandler type exposes the following members.

Methods


  Name Description
Public method PostDelete
Runs after a navigation delete commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.
Public method PostInsert
Runs after a navigation insert commits. The return value is advisory only — the operation has already happened. Inspect e.Attributes["InsertKind"] to distinguish variants.
Public method PostMove
Runs after a navigation move commits. The return value is advisory only — the operation has already happened. Inspect e.Attributes["MoveKind"] to distinguish variants.
Public method PostUpdate
Runs after a navigation update commits. The return value is advisory only — the operation has already happened. Inspect e.Attributes["UpdateKind"] to distinguish variants.
Public method PreDelete
Runs before a navigation delete commits. Return false to veto the delete.
Public method PreInsert
Runs before a navigation insert commits. Inspect e.Attributes["InsertKind"] to distinguish the "Plain" vs. "WithSort" variants. Return false to veto the insert.
Public method PreMove
Runs before a navigation move commits. Inspect e.Attributes["MoveKind"] to distinguish the "Above", "Below", or "NewParent" variants. Return false to veto the move.
Public method PreUpdate
Runs before a navigation update commits. Inspect e.Attributes["UpdateKind"] to distinguish the "Page", "Name", "Title", or "Link" variants. Return false to veto the update.
Public method Validate
Called at the start of every CRUD/move operation on a Navigation, before any Pre hook. Return false to veto the entire operation.