C# Class Rock.Reporting.DataFilter.Group.GroupBranchFilter

Inheritance: DataFilterComponent
Show file Open project: NewSpring/Rock

Public Methods

Method Description
CreateChildControls ( Type entityType, FilterField filterControl ) : System.Web.UI.Control[]

Creates the child controls.

FormatSelection ( Type entityType, string selection ) : string

Formats the selection.

GetClientFormatSelection ( Type entityType ) : string

Formats the selection on the client-side. When the filter is collapsed by the user, the Filterfield control will set the description of the filter to whatever is returned by this property. If including script, the controls parent container can be referenced through a '$content' variable that is set by the control before referencing this property.

GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression

Gets the expression.

GetSelection ( Type entityType, Control controls ) : string

Gets the selection.

GetTitle ( Type entityType ) : string

Gets the title.

SetSelection ( Type entityType, Control controls, string selection ) : void

Sets the selection.

Private Methods

Method Description
GetGroupBranchKeys ( GroupService groupService, System.ComponentModel.Model parentGroup, IncludedGroupsSpecifier includedBranchItems ) : HashSet

Gets the set of Groups that are included in a Group Branch, either as the parent or a descendant.

Method Details

CreateChildControls() public method

Creates the child controls.
public CreateChildControls ( Type entityType, FilterField filterControl ) : System.Web.UI.Control[]
entityType System.Type
filterControl Rock.Web.UI.Controls.FilterField
return System.Web.UI.Control[]

FormatSelection() public method

Formats the selection.
public FormatSelection ( Type entityType, string selection ) : string
entityType System.Type Type of the entity.
selection string The selection.
return string

GetClientFormatSelection() public method

Formats the selection on the client-side. When the filter is collapsed by the user, the Filterfield control will set the description of the filter to whatever is returned by this property. If including script, the controls parent container can be referenced through a '$content' variable that is set by the control before referencing this property.
public GetClientFormatSelection ( Type entityType ) : string
entityType System.Type
return string

GetExpression() public method

Gets the expression.
public GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression
entityType System.Type Type of the entity.
serviceInstance IService The service instance.
parameterExpression System.Linq.Expressions.ParameterExpression The parameter expression.
selection string The selection.
return System.Linq.Expressions.Expression

GetSelection() public method

Gets the selection.
public GetSelection ( Type entityType, Control controls ) : string
entityType System.Type Type of the entity.
controls System.Web.UI.Control The controls.
return string

GetTitle() public method

Gets the title.
public GetTitle ( Type entityType ) : string
entityType System.Type
return string

SetSelection() public method

Sets the selection.
public SetSelection ( Type entityType, Control controls, string selection ) : void
entityType System.Type Type of the entity.
controls System.Web.UI.Control The controls.
selection string The selection.
return void