C# 클래스 Habanero.Test.MyBoNotEditableDeletable

MyBoNotEditableDeletable used for testing the when Editable set to false. The framework should prevent any editing.
상속: BusinessObject
파일 보기 프로젝트 열기: Chillisoft/habanero

공개 메소드들

메소드 설명
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