C# Class Habanero.Test.MyBoNotEditableDeletable

MyBoNotEditableDeletable used for testing the when Editable set to false. The framework should prevent any editing.
Inheritance: BusinessObject
Datei anzeigen Open project: Chillisoft/habanero

Public Methods

Method Description
IsDeletable ( string &message ) : bool
IsEditable ( string &message ) : bool

This method can be overridden by a class that inherits from Business object. The method allows the Business object developer to add customised rules that determine. The editable state of a business object. E.g. Once an invoice is paid it is no longer editable. Or when a course is old it is no longer editable. This allows a UI developer to standise Code for enabling and disabling controls.

LoadDefaultClassDef ( ) : IClassDef

Protected Methods

Method Description
ConstructClassDef ( ) : IClassDef

Private Methods

Method Description
CreateXmlClassLoader ( ) : XmlClassLoader

Method Details

ConstructClassDef() protected method

protected ConstructClassDef ( ) : IClassDef
return IClassDef

IsDeletable() public method

public IsDeletable ( string &message ) : bool
message string
return bool

IsEditable() public method

This method can be overridden by a class that inherits from Business object. The method allows the Business object developer to add customised rules that determine. The editable state of a business object. E.g. Once an invoice is paid it is no longer editable. Or when a course is old it is no longer editable. This allows a UI developer to standise Code for enabling and disabling controls.
public IsEditable ( string &message ) : bool
message string
return bool

LoadDefaultClassDef() public static method

public static LoadDefaultClassDef ( ) : IClassDef
return IClassDef