C# Class RockWeb.Blocks.Finance.BatchDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: SparkDevNetwork/Rock

Méthodes publiques

Méthode Description
GetBreadCrumbs ( PageReference pageReference ) : List

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs.

ShowDetail ( int batchId ) : void

Shows the detail.

Méthodes protégées

Méthode Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

ShowEditDetails ( FinancialBatch batch ) : void

Shows the edit details.

lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancelFinancialBatch control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

lbHistory_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbHistory control.

lbMatch_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbMatch control.

lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

Private Methods

Méthode Description
GetBatch ( int batchId, RockContext rockContext = null ) : FinancialBatch

Gets the batch.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetHeadingInfo ( FinancialBatch batch, string title ) : void

Sets the heading information.

ShowReadonlyDetails ( FinancialBatch batch ) : void

Shows the financial batch summary.

Method Details

Block_BlockUpdated() protected méthode

Handles the BlockUpdated event of the control.
protected Block_BlockUpdated ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

GetBreadCrumbs() public méthode

Returns breadcrumbs specific to the block that should be added to navigation based on the current page reference. This function is called during the page's oninit to load any initial breadcrumbs.
public GetBreadCrumbs ( PageReference pageReference ) : List
pageReference PageReference The .
Résultat List

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int batchId ) : void
batchId int The financial batch identifier.
Résultat void

ShowEditDetails() protected méthode

Shows the edit details.
protected ShowEditDetails ( FinancialBatch batch ) : void
batch FinancialBatch The financial batch.
Résultat void

lbCancel_Click() protected méthode

Handles the Click event of the lbCancelFinancialBatch control.
protected lbCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbEdit_Click() protected méthode

Handles the Click event of the lbEdit control.
protected lbEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbHistory_Click() protected méthode

Handles the Click event of the lbHistory control.
protected lbHistory_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbMatch_Click() protected méthode

Handles the Click event of the lbMatch control.
protected lbMatch_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

lbSave_Click() protected méthode

Handles the Click event of the lbSave control.
protected lbSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void