C# Класс Habanero.Test.MyBoNotEditableDeletable

MyBoNotEditableDeletable used for testing the when Editable set to false. The framework should prevent any editing.
Наследование: BusinessObject
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
ConstructClassDef ( ) : IClassDef

Приватные методы

Метод Описание
CreateXmlClassLoader ( ) : XmlClassLoader

Описание методов

ConstructClassDef() защищенный Метод

protected ConstructClassDef ( ) : IClassDef
Результат IClassDef

IsDeletable() публичный Метод

public IsDeletable ( string &message ) : bool
message string
Результат bool

IsEditable() публичный Метод

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
Результат bool

LoadDefaultClassDef() публичный статический Метод

public static LoadDefaultClassDef ( ) : IClassDef
Результат IClassDef