AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

BusinessObjectLifecycleHandler Members

The BusinessObjectLifecycleHandler type exposes the following members.

Methods


  Name Description
Public method PostDeleteDraft
Runs after a draft-only delete commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.
Public method PostDeleteRecord
Runs after a full record delete commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.
Public method PostPublish
Runs after a publish commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.
Public method PostSaveDraft
Runs after a draft save commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.
Public method PostUnpublish
Runs after an unpublish commits. The return value is advisory only — the operation has already happened and cannot be rolled back from here.
Public method PreDeleteDraft
Runs before a draft-only delete commits (the published version stays). Return false to veto the delete.
Public method PreDeleteRecord
Runs before a full record delete commits (deletes every version). Return false to veto the delete.
Public method PrePublish
Runs before a publish commits. Return false to veto the publish.
Public method PreSaveDraft
Runs before a draft save commits. Return false to veto the save.
Public method PreUnpublish
Runs before an unpublish commits. Return false to veto the unpublish.
Public method Validate
Called at the start of every CRUD/publish operation, before any Pre hook. Return false to veto the entire operation.