C# Class Habanero.Test.MyBoNotEditableDeletable

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
ConstructClassDef ( ) : IClassDef

Private Methods

Méthode Description
CreateXmlClassLoader ( ) : XmlClassLoader

Method Details

ConstructClassDef() protected méthode

protected ConstructClassDef ( ) : IClassDef
Résultat IClassDef

IsDeletable() public méthode

public IsDeletable ( string &message ) : bool
message string
Résultat bool

IsEditable() public méthode

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
Résultat bool

LoadDefaultClassDef() public static méthode

public static LoadDefaultClassDef ( ) : IClassDef
Résultat IClassDef