C# Class RockWeb.Blocks.Core.WorkflowTypeDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Mostrar archivo Open project: CentralAZ/Rockit-CentralAZ

Private Properties

Property Type Description
BindAttributesGrid void
BuildWorkflowActivityControlsFromViewState void
CreateWorkflowActionTypeEditorControl Rock.Web.UI.Controls.WorkflowActionEditor
CreateWorkflowActivityTypeEditorControls void
HideDialog void
LoadDropDowns void
RefreshActivityLists void
ReorderAttributeList void
SaveAttributes void
SaveWorkflowActivityControlsToViewState void
SetAttributeListOrder void
SetEditMode void
ShowDialog void
ShowDialog void
ShowEditDetails void
ShowReadonlyDetails void
SortWorkflowActivityListContents void

Public Methods

Method Description
ShowDetail ( string itemKey, int itemKeyValue ) : void

Shows the detail.

ShowDetail ( string itemKey, int itemKeyValue, int parentCategoryId ) : void

Shows the detail.

Protected Methods

Method Description
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.

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.

dlgAttribute_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the dlgAttribute control.

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, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void

Handles the GridReorder event of the gAttributes control.

gAttributes_ShowEdit ( System.Guid attributeGuid ) : void

Gs the group attributes_ show edit.

lbAddActivityType_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbAddActivity control.

workflowActionTypeEditor_DeleteActionTypeClick ( object sender, EventArgs e ) : void

Handles the DeleteActionTypeClick event of the workflowActionTypeEditor control.

workflowActivityTypeEditor_AddActionTypeClick ( object sender, EventArgs e ) : void

Handles the AddActionTypeClick event of the workflowActivityTypeEditor control.

workflowActivityTypeEditor_DeleteActivityClick ( object sender, EventArgs e ) : void

Handles the DeleteActivityClick event of the workflowActivityTypeEditor control.

Private Methods

Method Description
BindAttributesGrid ( ) : void

Binds the group type attributes grid.

BuildWorkflowActivityControlsFromViewState ( System.Guid activeWorkflowActivityTypeGuid = null, System.Guid activeWorkflowActionTypeGuid = null ) : void

Builds the state of the workflow activity controls from view.

CreateWorkflowActionTypeEditorControl ( WorkflowActivityEditor workflowActivityTypeEditor, WorkflowActionType workflowActionType, bool forceContentVisible = false ) : WorkflowActionEditor

Creates the workflow action type editor control.

CreateWorkflowActivityTypeEditorControls ( WorkflowActivityType workflowActivityType, bool forceContentVisible = false, System.Guid activeWorkflowActionTypeGuid = null ) : void

Creates the workflow activity type editor control.

HideDialog ( ) : void

Hides the dialog.

LoadDropDowns ( ) : void

Loads the drop downs.

RefreshActivityLists ( ) : void
ReorderAttributeList ( ViewStateList itemList, int oldIndex, int newIndex ) : void

Reorders the attribute list.

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

Saves the state of the workflow activity controls to view.

SetAttributeListOrder ( ViewStateList itemList ) : void

Sets the attribute 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 ( WorkflowType workflowType, RockContext rockContext ) : void

Shows the edit details.

ShowReadonlyDetails ( WorkflowType workflowType ) : void

Shows the readonly details.

SortWorkflowActivityListContents ( string eventParam, string values ) : void

Sorts the workflow activity list contents.

Method Details

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 ( string itemKey, int itemKeyValue ) : void
itemKey string The item key.
itemKeyValue int The item key value.
return void

ShowDetail() public method

Shows the detail.
public ShowDetail ( string itemKey, int itemKeyValue, int parentCategoryId ) : void
itemKey string The item key.
itemKeyValue int The item key value.
parentCategoryId int The parent category id.
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

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 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

dlgAttribute_SaveClick() protected method

Handles the SaveClick event of the dlgAttribute control.
protected dlgAttribute_SaveClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
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 System.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 Rock.Web.UI.Controls.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 Rock.Web.UI.Controls.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 System.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, Rock.Web.UI.Controls.GridReorderEventArgs e ) : void
sender object The source of the event.
e Rock.Web.UI.Controls.GridReorderEventArgs The instance containing the event data.
return void

gAttributes_ShowEdit() protected method

Gs the group attributes_ show edit.
protected gAttributes_ShowEdit ( System.Guid attributeGuid ) : void
attributeGuid System.Guid The attribute GUID.
return void

lbAddActivityType_Click() protected method

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

workflowActionTypeEditor_DeleteActionTypeClick() protected method

Handles the DeleteActionTypeClick event of the workflowActionTypeEditor control.
protected workflowActionTypeEditor_DeleteActionTypeClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

workflowActivityTypeEditor_AddActionTypeClick() protected method

Handles the AddActionTypeClick event of the workflowActivityTypeEditor control.
protected workflowActivityTypeEditor_AddActionTypeClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

workflowActivityTypeEditor_DeleteActivityClick() protected method

Handles the DeleteActivityClick event of the workflowActivityTypeEditor control.
protected workflowActivityTypeEditor_DeleteActivityClick ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void