AdvantageCMS.Core.Admin.BaseClasses Namespace
AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

BusinessObjectBase Methods

The BusinessObjectBase type exposes the following members.

Methods


  Name Description
Public method AddSearchableProperty
Adds the property and value to the searchable index. Property may be any created element
Public method AddSummaryDataRow(String, String)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method AddSummaryDataRow(String, Int32)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method AddSummaryDataRow(String, Guid)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method AddSummaryDataRow(String, Boolean)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method AddSummaryDataRow(String, DateTime)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method AddSummaryDataRow(String, Decimal)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method AddSummaryDataRow(String, Object)
Adds the data to the summary data used to display in the tool list. Property may be any created element.
Public method GetFriendlyNameForProperty
Gets the friendly display name for a property using its DisplayAttribute, if present.
Public method Static member GetPropertyName<(Of <<'(TObject>)>>)(Expression<(Of <<'(Func<(Of <<'(TObject, Object>)>>)>)>>))
Gets the name of the property.
Public method GetPublicProperties
Gets all public readable and writable properties of the current object, optionally including those marked with XmlIgnoreAttribute.
Public method Static member IsValidDate
Helper method to determine if a string value is a valid DateTime.
Public method Static member IsValidGuid
Helper method to determine if a string value is a valid Guid.
Public method Static member IsValidInt
Helper method to determine if a string value is a valid integer.
Public method OnLoad
Automatically called when the object is requested through AdvantageModuleEngine or ToolEngine. Can be used to perform external actions or load reference data.
Public method PostDeleteDraft
Called by AdvantageCSP after deleting a draft of the object.
Public method PostDeleteRecord
Called by AdvantageCSP after deleting the entire object (all versions).
Public method PostPublish
Called by AdvantageCSP after publishing the object.
Public method PostSaveDraft
Called by AdvantageCSP after saving a draft of the object.
Public method PostUnpublish
Called by AdvantageCSP after un-publishing the object.
Public method PreDeleteDraft
Called by AdvantageCSP prior to deleting a draft of the object.
Public method PreDeleteRecord
Called by AdvantageCSP prior to deleting the entire object (all versions).
Public method PrePublish
Called by AdvantageCSP prior to publishing the object.
Public method PreSaveDraft
Called by AdvantageCSP prior to saving a draft of the object.
Public method PreUnpublish
Called by AdvantageCSP prior to un-publishing the object.
Public method Validate
Validates the object for the specified action. Override to add custom validation logic.