C# Class RockWeb.Blocks.Connection.ConnectionTypeDetail

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

Private Properties

Свойство 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

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

Shows the edit.

Méthodes protégées

Méthode 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

Méthode 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 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 page reference.
Résultat List

LoadViewState() protected méthode

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.
Résultat void

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

SaveViewState() protected méthode

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

ShowDetail() public méthode

Shows the edit.
public ShowDetail ( int connectionTypeId ) : void
connectionTypeId int The Connection Type Type identifier.
Résultat void

btnAddConnectionActivityType_Click() protected méthode

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.
Résultat void

btnAddConnectionStatus_Click() protected méthode

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.
Résultat void

btnCancel_Click() protected méthode

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.
Résultat void

btnDeleteCancel_Click() protected méthode

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.
Résultat void

btnDeleteConfirm_Click() protected méthode

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.
Résultat void

btnDelete_Click() protected méthode

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.
Résultat void

btnEdit_Click() protected méthode

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.
Résultat void

btnSave_Click() protected méthode

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.
Résultat void

ddlTriggerType_SelectedIndexChanged() protected méthode

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.
Résultat void

dlgConnectionTypeAttribute_SaveClick() protected méthode

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.
Résultat void

dlgConnectionWorkflow_SaveClick() protected méthode

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.
Résultat void

gActivityTypes_Delete() protected méthode

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.
Résultat void

gActivityTypes_Edit() protected méthode

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.
Résultat void

gActivityTypes_ShowEdit() protected méthode

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

gAttributes_Add() protected méthode

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.
Résultat void

gAttributes_Delete() protected méthode

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.
Résultat void

gAttributes_Edit() protected méthode

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.
Résultat void

gAttributes_GridRebind() protected méthode

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.
Résultat void

gAttributes_GridReorder() protected méthode

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.
Résultat void

gAttributes_ShowEdit() protected méthode

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

gStatuses_Delete() protected méthode

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.
Résultat void

gStatuses_Edit() protected méthode

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.
Résultat void

gStatuses_ShowEdit() protected méthode

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

gWorkflows_Delete() protected méthode

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.
Résultat void

gWorkflows_Edit() protected méthode

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.
Résultat void

gWorkflows_ShowEdit() protected méthode

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