C# Class Habanero.Faces.Base.AutoLoadingRelationshipComboBoxMapper

This mapper loads all the Business Objects of type relationshipDef.RelatedObjectClassDef.
Inheritance: RelationshipComboBoxMapper
Mostra file Open project: Chillisoft/habanero.faces

Protected Properties

Property Type Description
_lastCallTime System.DateTime

Public Methods

Method Description
AutoLoadingRelationshipComboBoxMapper ( IComboBox comboBox, string relationshipName, bool isReadOnly, IControlFactory controlFactory ) : System

Constructs an AutoLoadingRelationshipComboBoxMapper with the comboBox relationshipName

Protected Methods

Method Description
LoadCollectionForBusinessObject ( ) : void

Provides an overrideable method for Loading the collection of business objects

Private Methods

Method Description
CacheHasNotTimedOut ( ) : bool

Method Details

AutoLoadingRelationshipComboBoxMapper() public method

Constructs an AutoLoadingRelationshipComboBoxMapper with the comboBox relationshipName
public AutoLoadingRelationshipComboBoxMapper ( IComboBox comboBox, string relationshipName, bool isReadOnly, IControlFactory controlFactory ) : System
comboBox IComboBox The combo box that is being mapped to
relationshipName string The name of the relation that is being mapped to
isReadOnly bool Whether the Combo box can be used to edit from or whether it is only viewable
controlFactory IControlFactory A control factory that is used to create control mappers etc
return System

LoadCollectionForBusinessObject() protected method

Provides an overrideable method for Loading the collection of business objects
protected LoadCollectionForBusinessObject ( ) : void
return void

Property Details

_lastCallTime protected_oe property

protected DateTime,System _lastCallTime
return System.DateTime