Interface IDataHandler

Basic definition of an interface that can be applied to
a UI container (such as a form) that is intended to load data.

public abstract interface IDataHandler

Interface Members

MemberDescription
BeforeLoadContents This method gets called before any data loading starts. This provides the ability to
public void BeforeLoadContents();
HandleDataException This method is called whenever an exception is raised during data loading.
public void HandleDataException( Exception ex );
InitialLoad This method gets called when the pane first loads.
public void InitialLoad( NameValueCollection queryString );

public void InitialLoad( Dictionary<String,Object> queryString );

public void InitialLoad( Guid mainEntityPK );

public void InitialLoad( int mainEntityPK );

public void InitialLoad( string mainEntityPK );

InitialNew Loads the form and indicates that the user intends to create a new item.
public void InitialNew();

public void InitialNew( NameValueCollection queryString );

public void InitialNew( Dictionary<String,Object> queryString );

LoadContents This method is invoked whenever data needs to be loaded (including reloading data)
public object LoadContents();
LoadSecondaryData Called whenever secondary data needs to be loaded
public object LoadSecondaryData();
LoadSupportData Called whenever secondary data needs to be loaded
public void LoadSupportData();
NewContents This method gets called whenever new content needs to be created (such as a new entity)
public object NewContents();
ShowContents This method is invoked whenever the pane contents need to be presented to the user,
public void ShowContents();
ShowContentsAuto This method is invoked whenever the pane contents need to be presented to the user,
public void ShowContentsAuto();
ContentStatus Content load status

Requirements

Namespace: EPS.ComponentModel
Assembly: CORE.DLL


  Last Updated: 5/23/2007 | © , 2007