C# Class RockWeb.Blocks.Connection.ConnectionOpportunityDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Exibir arquivo Open project: SparkDevNetwork/Rock

Public Properties

Property Type Description
_canEdit bool
_connectionTypeId int

Public Methods

Method 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 connectionOpportunityId ) : void

Shows the detail.

lvDefaultConnectors_ItemDataBound ( object sender, System.Web.UI.WebControls.ListViewItemEventArgs e ) : void

Handles the ItemDataBound event of the lvDefaultConnectors control.

Protected Methods

Method Description
Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the control.

LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnHideDialog_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnHideDialog control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

cblCampus_SelectedIndexChanged ( object sender, EventArgs e ) : void
ddlGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlGroupType control.

ddlTriggerType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlTriggerType control.

dlgConnectorGroupDetails_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgConnectorGroupDetails control.

dlgGroupDetails_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgGroupDetails control.

dlgWorkflowDetails_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgWorkflowDetails control.

gConnectionOpportunityConnectorGroups_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gConnectionOpportunityConnectorGroups control.

gConnectionOpportunityConnectorGroups_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gConnectionOpportunityConnectorGroups control.

gConnectionOpportunityConnectorGroups_ShowEdit ( System.Guid connectionOpportunityConnectorGroupsGuid ) : void

handles the connection opportunity group campuses_ show edit.

gConnectionOpportunityGroups_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gConnectionOpportunityGroups control.

gConnectionOpportunityWorkflows_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gConnectionOpportunityWorkflows control.

gConnectionOpportunityWorkflows_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gConnectionOpportunityWorkflows control.

gConnectionOpportunityWorkflows_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the gConnectionOpportunityWorkflows control.

gConnectionOpportunityWorkflows_ShowEdit ( System.Guid connectionOpportunityWorkflowGuid ) : void

Shows the connection opportunity workflow details edit dialog.

tglUseAllGroupsOfGroupType_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the tglUseAllGroupsOfGroupType control.

Private Methods

Method Description
BindConnectorGroupsGrid ( ) : void

Binds the campus grid.

BindDefaultConnectors ( ) : void

Binds the default connectors.

BindGroupGrid ( ) : void

Binds the group grid.

BindWorkflowGrid ( ) : void

Binds the workflow grid.

GetConnectionOpportunity ( int connectionOpportunityId, RockContext rockContext = null ) : ConnectionOpportunity

Gets the connectionOpportunity.

HideDialog ( ) : void

Hides the dialog.

LoadDropDowns ( ConnectionOpportunity connectionOpportunity ) : void

Loads the drop downs.

LoadGroupRoles ( int groupTypeId ) : void

Loads the group roles.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

ShowDialog ( string dialog, bool setValues = false ) : void

Shows the dialog.

ShowEditDetails ( ConnectionOpportunity connectionOpportunity ) : void

Shows the edit details.

ShowOpportunityAttributes ( ) : void

Shows the opportunity attributes.

UpdateTriggerQualifiers ( ) : void

Updates the trigger qualifiers.

cblSelectedItemsAsInt ( CheckBoxList cbl ) : List
gConnectionOpportunityConnectorGroups_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gConnectionOpportunityConnectorGroups control.

gConnectionOpportunityConnectorGroups_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gConnectionOpportunityConnectorGroups control.

gConnectionOpportunityGroups_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gConnectionOpportunityGroups control.

gConnectionOpportunityGroups_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gConnectionOpportunityGroups control.

gConnectionOpportunityWorkflows_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gConnectionOpportunityWorkflows control.

gConnectionOpportunityWorkflows_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gConnectionOpportunityWorkflows control.

Method Details

Block_BlockUpdated() protected method

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.
return void

GetBreadCrumbs() public method

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 .
return List

LoadViewState() protected method

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
return void

OnInit() protected method

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

OnLoad() protected method

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

SaveViewState() protected method

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
return object

ShowDetail() public method

Shows the detail.
public ShowDetail ( int connectionOpportunityId ) : void
connectionOpportunityId int The connectionOpportunity identifier.
return void

btnCancel_Click() protected method

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnHideDialog_Click() protected method

Handles the Click event of the btnHideDialog control.
protected btnHideDialog_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnSave_Click() protected method

Handles the Click event of the btnSave control.
protected btnSave_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

cblCampus_SelectedIndexChanged() protected method

protected cblCampus_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ddlGroupType_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the ddlGroupType control.
protected ddlGroupType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

ddlTriggerType_SelectedIndexChanged() protected method

Handles the SelectedIndexChanged event of the ddlTriggerType control.
protected ddlTriggerType_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

dlgConnectorGroupDetails_SaveClick() protected method

Handles the SaveClick event of the dlgConnectorGroupDetails control.
protected dlgConnectorGroupDetails_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

dlgGroupDetails_SaveClick() protected method

Handles the SaveClick event of the dlgGroupDetails control.
protected dlgGroupDetails_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

dlgWorkflowDetails_SaveClick() protected method

Handles the SaveClick event of the dlgWorkflowDetails control.
protected dlgWorkflowDetails_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

gConnectionOpportunityConnectorGroups_Delete() protected method

Handles the Delete event of the gConnectionOpportunityConnectorGroups control.
protected gConnectionOpportunityConnectorGroups_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gConnectionOpportunityConnectorGroups_Edit() protected method

Handles the Edit event of the gConnectionOpportunityConnectorGroups control.
protected gConnectionOpportunityConnectorGroups_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gConnectionOpportunityConnectorGroups_ShowEdit() protected method

handles the connection opportunity group campuses_ show edit.
protected gConnectionOpportunityConnectorGroups_ShowEdit ( System.Guid connectionOpportunityConnectorGroupsGuid ) : void
connectionOpportunityConnectorGroupsGuid System.Guid The connection opportunity group campus unique identifier.
return void

gConnectionOpportunityGroups_Delete() protected method

Handles the Delete event of the gConnectionOpportunityGroups control.
protected gConnectionOpportunityGroups_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gConnectionOpportunityWorkflows_Delete() protected method

Handles the Delete event of the gConnectionOpportunityWorkflows control.
protected gConnectionOpportunityWorkflows_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gConnectionOpportunityWorkflows_Edit() protected method

Handles the Edit event of the gConnectionOpportunityWorkflows control.
protected gConnectionOpportunityWorkflows_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.RowEventArgs The instance containing the event data.
return void

gConnectionOpportunityWorkflows_RowDataBound() protected method

Handles the RowDataBound event of the gConnectionOpportunityWorkflows control.
protected gConnectionOpportunityWorkflows_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.GridViewRowEventArgs The instance containing the event data.
return void

gConnectionOpportunityWorkflows_ShowEdit() protected method

Shows the connection opportunity workflow details edit dialog.
protected gConnectionOpportunityWorkflows_ShowEdit ( System.Guid connectionOpportunityWorkflowGuid ) : void
connectionOpportunityWorkflowGuid System.Guid The connection opportunity workflow unique identifier.
return void

lvDefaultConnectors_ItemDataBound() public method

Handles the ItemDataBound event of the lvDefaultConnectors control.
public lvDefaultConnectors_ItemDataBound ( object sender, System.Web.UI.WebControls.ListViewItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.ListViewItemEventArgs The instance containing the event data.
return void

tglUseAllGroupsOfGroupType_CheckedChanged() protected method

Handles the CheckedChanged event of the tglUseAllGroupsOfGroupType control.
protected tglUseAllGroupsOfGroupType_CheckedChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

Property Details

_canEdit public_oe property

public bool _canEdit
return bool

_connectionTypeId public_oe property

public int _connectionTypeId
return int