C# Class Habanero.Faces.Base.ConfirmingBusinessObjectDeletor

This is an IBusinessObjectDeletor that uses the specified IConfirmer to prompt the user for confirmation of the deletion. If the user confirms, the BusinessObject will be deleted. If the user does not confirm then the BusinessObject will not be deleted.
Inheritance: IBusinessObjectDeletor
Datei anzeigen Open project: Chillisoft/habanero.faces Class Usage Examples

Public Methods

Method Description
ConfirmingBusinessObjectDeletor ( IConfirmer confirmer ) : System

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer.

ConfirmingBusinessObjectDeletor ( IConfirmer confirmer, string>.Function customConfirmationMessageDelegate ) : System

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer and a delegate for constructing the confirmation message.

DeleteBusinessObject ( IBusinessObject businessObject ) : void

Deletes the given business object

Method Details

ConfirmingBusinessObjectDeletor() public method

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer.
public ConfirmingBusinessObjectDeletor ( IConfirmer confirmer ) : System
confirmer IConfirmer The to use to prompt the user for confirmation of the deletion.
return System

ConfirmingBusinessObjectDeletor() public method

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer and a delegate for constructing the confirmation message.
public ConfirmingBusinessObjectDeletor ( IConfirmer confirmer, string>.Function customConfirmationMessageDelegate ) : System
confirmer IConfirmer The to use to prompt the user for confirmation of the deletion.
customConfirmationMessageDelegate string>.Function The delegate to use for constructing the confirmation message that will be /// displayed to the user for a particular .
return System

DeleteBusinessObject() public method

Deletes the given business object
public DeleteBusinessObject ( IBusinessObject businessObject ) : void
businessObject IBusinessObject The business object to delete
return void