C# Class RockWeb.Blocks.Connection.ConnectionTypeDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
显示文件 Open project: NewSpring/Rock

Private Properties

Property Type Description
BindAttributesGrid void
BindConnectionActivityTypesGrid void
BindConnectionStatusesGrid void
BindConnectionWorkflowsGrid void
GetConnectionType ConnectionType
HideDialog void
LoadStateDetails void
ReOrderAttributes void
SaveAttributes void
SetConnectionActivityTypeListOrder void
SetConnectionStatusListOrder void
SetConnectionWorkflowListOrder void
SetEditMode void
ShowDialog void
ShowDialog void
ShowEditDetails void
ShowReadonlyDetails void
SortAttributes void
UpdateTriggerQualifiers void
gActivityTypes_Add void
gActivityTypes_GridRebind void
gStatuses_Add void
gStatuses_GridRebind void
gWorkflows_Add void
gWorkflows_GridRebind void

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 connectionTypeId ) : void

Shows the edit.

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.

btnAddConnectionActivityType_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnAddConnectionActivityType control.

btnAddConnectionStatus_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnAddConnectionStatus control.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnDeleteCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDeleteCancel control.

btnDeleteConfirm_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnDelete_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnDelete control.

btnEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnEdit control.

btnSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnSave control.

ddlTriggerType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlTriggerType control.

dlgConnectionTypeAttribute_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgConnectionTypeAttribute control.

dlgConnectionWorkflow_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgConnectionWorkflow control.

gActivityTypes_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gActivityTypes control.

gActivityTypes_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gActivityTypes control.

gActivityTypes_ShowEdit ( Guid connectionActivityTypeGuid ) : void

gs the statuses_ show edit.

gAttributes_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gAttributes control.

gAttributes_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gAttributes control.

gAttributes_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gAttributes control.

gAttributes_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAttributes control.

gAttributes_GridReorder ( object sender, GridReorderEventArgs e ) : void

Handles the GridReorder event of the gAttributes control.

gAttributes_ShowEdit ( Guid attributeGuid ) : void

Shows the edit attribute dialog.

gStatuses_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gStatuses control.

gStatuses_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gStatuses control.

gStatuses_ShowEdit ( Guid connectionStatusGuid ) : void

gs the statuses_ show edit.

gWorkflows_Delete ( object sender, RowEventArgs e ) : void

Handles the Delete event of the gWorkflows control.

gWorkflows_Edit ( object sender, RowEventArgs e ) : void

Handles the Edit event of the gWorkflows control.

gWorkflows_ShowEdit ( Guid connectionWorkflowGuid ) : void

Gs the workflows_ show edit.

Private Methods

Method Description
BindAttributesGrid ( ) : void

Binds the Connection Type attributes grid.

BindConnectionActivityTypesGrid ( ) : void

Binds the connection activity types grid.

BindConnectionStatusesGrid ( ) : void

Binds the connection statuses grid.

BindConnectionWorkflowsGrid ( ) : void

Binds the connection workflows grid.

GetConnectionType ( int connectionTypeId, RockContext rockContext = null ) : ConnectionType

Gets the type of the connection.

HideDialog ( ) : void

Hides the dialog.

LoadStateDetails ( ConnectionType connectionType, RockContext rockContext ) : void

Loads the state details.

ReOrderAttributes ( List attributeList ) : void

Reorders the attributes.

SaveAttributes ( int entityTypeId, string qualifierColumn, string qualifierValue, List viewStateAttributes, RockContext rockContext ) : void

Saves the attributes.

SetConnectionActivityTypeListOrder ( List connectionActivityTypeList ) : void

Sets the attribute list order.

SetConnectionStatusListOrder ( List connectionStatusList ) : void

Sets the attribute list order.

SetConnectionWorkflowListOrder ( List connectionWorkflowList ) : void

Sets the connection workflow list order.

SetEditMode ( bool editable ) : void

Sets the edit mode.

ShowDialog ( bool setValues = false ) : void

Shows the dialog.

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

Shows the dialog.

ShowEditDetails ( ConnectionType connectionType ) : void

Shows the edit details.

ShowReadonlyDetails ( ConnectionType connectionType ) : void

Shows the readonly details.

SortAttributes ( List attributeList, int oldIndex, int newIndex ) : void

Reorders the attribute list.

UpdateTriggerQualifiers ( ) : void

Updates the trigger qualifiers.

gActivityTypes_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gActivityTypes control.

gActivityTypes_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gActivityTypes control.

gStatuses_Add ( object sender, EventArgs e ) : void
gStatuses_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gStatuses control.

gWorkflows_Add ( object sender, EventArgs e ) : void

Handles the Add event of the gWorkflows control.

gWorkflows_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gWorkflows 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 page reference.
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 edit.
public ShowDetail ( int connectionTypeId ) : void
connectionTypeId int The Connection Type Type identifier.
return void

btnAddConnectionActivityType_Click() protected method

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

btnAddConnectionStatus_Click() protected method

Handles the Click event of the btnAddConnectionStatus control.
protected btnAddConnectionStatus_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
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 EventArgs The instance containing the event data.
return void

btnDeleteCancel_Click() protected method

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

btnDeleteConfirm_Click() protected method

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

btnDelete_Click() protected method

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

btnEdit_Click() protected method

Handles the Click event of the btnEdit control.
protected btnEdit_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e 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 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 EventArgs The instance containing the event data.
return void

dlgConnectionTypeAttribute_SaveClick() protected method

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

dlgConnectionWorkflow_SaveClick() protected method

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

gActivityTypes_Delete() protected method

Handles the Delete event of the gActivityTypes control.
protected gActivityTypes_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gActivityTypes_Edit() protected method

Handles the Edit event of the gActivityTypes control.
protected gActivityTypes_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gActivityTypes_ShowEdit() protected method

gs the statuses_ show edit.
protected gActivityTypes_ShowEdit ( Guid connectionActivityTypeGuid ) : void
connectionActivityTypeGuid Guid The connection status unique identifier.
return void

gAttributes_Add() protected method

Handles the Add event of the gAttributes control.
protected gAttributes_Add ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

gAttributes_Delete() protected method

Handles the Delete event of the gAttributes control.
protected gAttributes_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gAttributes_Edit() protected method

Handles the Edit event of the gAttributes control.
protected gAttributes_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gAttributes_GridRebind() protected method

Handles the GridRebind event of the gAttributes control.
protected gAttributes_GridRebind ( object sender, EventArgs e ) : void
sender object The source of the event.
e EventArgs The instance containing the event data.
return void

gAttributes_GridReorder() protected method

Handles the GridReorder event of the gAttributes control.
protected gAttributes_GridReorder ( object sender, GridReorderEventArgs e ) : void
sender object The source of the event.
e GridReorderEventArgs The instance containing the event data.
return void

gAttributes_ShowEdit() protected method

Shows the edit attribute dialog.
protected gAttributes_ShowEdit ( Guid attributeGuid ) : void
attributeGuid Guid The attribute unique identifier.
return void

gStatuses_Delete() protected method

Handles the Delete event of the gStatuses control.
protected gStatuses_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gStatuses_Edit() protected method

Handles the Edit event of the gStatuses control.
protected gStatuses_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gStatuses_ShowEdit() protected method

gs the statuses_ show edit.
protected gStatuses_ShowEdit ( Guid connectionStatusGuid ) : void
connectionStatusGuid Guid The connection status unique identifier.
return void

gWorkflows_Delete() protected method

Handles the Delete event of the gWorkflows control.
protected gWorkflows_Delete ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gWorkflows_Edit() protected method

Handles the Edit event of the gWorkflows control.
protected gWorkflows_Edit ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
return void

gWorkflows_ShowEdit() protected method

Gs the workflows_ show edit.
protected gWorkflows_ShowEdit ( Guid connectionWorkflowGuid ) : void
connectionWorkflowGuid Guid The connection workflow unique identifier.
return void