C# Class Rock.Field.Types.EventCalendarFieldType

Field Type to select a single (or null) EventCalendarFieldType Stored as EventCalendar's Guid
Inheritance: Rock.Web.Cache.FieldType, IEntityFieldType
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
AttributeFilterExpression ( ConfigurationValue>.Dictionary configurationValues, List filterValues, System.Linq.Expressions.ParameterExpression parameterExpression ) : Expression

Gets the filters expression.

EditControl ( ConfigurationValue>.Dictionary configurationValues, string id ) : Control

Creates the control(s) necessary for prompting user for a new value

FilterCompareControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control

Gets the filter compare control.

FilterValueControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control

Gets the filter value control.

FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string

Returns the field's current value(s)

GetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues ) : string

Reads new values entered by the user for the field returns EventCalendar.Guid as string

GetEditValueAsEntityId ( System control, ConfigurationValue>.Dictionary configurationValues ) : int?

Gets the edit value as the IEntity.Id

GetEntity ( string value ) : IEntity

Gets the entity.

GetEntity ( string value, RockContext rockContext ) : IEntity

Gets the entity.

GetEqualToCompareValue ( ) : string

Gets the equal to compare value (types that don't support an equalto comparison (i.e. singleselect) should return null

GetFilterCompareValue ( Control control, FilterMode filterMode ) : string

Gets the filter compare value.

GetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues ) : string

Gets the filter value value.

SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void

Sets the value. Expects value as a EventCalendar.Guid as string

SetEditValueFromEntityId ( System control, ConfigurationValue>.Dictionary configurationValues, int id ) : void

Sets the edit value from IEntity.Id value

SetFilterCompareValue ( Control control, string value ) : void

Sets the filter compare value.

SetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues, string value ) : void

Sets the filter value value.

Method Details

AttributeFilterExpression() public méthode

Gets the filters expression.
public AttributeFilterExpression ( ConfigurationValue>.Dictionary configurationValues, List filterValues, System.Linq.Expressions.ParameterExpression parameterExpression ) : Expression
configurationValues ConfigurationValue>.Dictionary The configuration values.
filterValues List The filter values.
parameterExpression System.Linq.Expressions.ParameterExpression The parameter expression.
Résultat System.Linq.Expressions.Expression

EditControl() public méthode

Creates the control(s) necessary for prompting user for a new value
public EditControl ( ConfigurationValue>.Dictionary configurationValues, string id ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string
Résultat System.Web.UI.Control

FilterCompareControl() public méthode

Gets the filter compare control.
public FilterCompareControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string The identifier.
required bool if set to true [required].
filterMode FilterMode The filter mode.
Résultat System.Web.UI.Control

FilterValueControl() public méthode

Gets the filter value control.
public FilterValueControl ( ConfigurationValue>.Dictionary configurationValues, string id, bool required, FilterMode filterMode ) : Control
configurationValues ConfigurationValue>.Dictionary The configuration values.
id string The identifier.
required bool if set to true [required].
filterMode FilterMode The filter mode.
Résultat System.Web.UI.Control

FormatValue() public méthode

Returns the field's current value(s)
public FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string
parentControl System The parent control.
value string Information about the value
configurationValues ConfigurationValue>.Dictionary The configuration values.
condensed bool Flag indicating if the value should be condensed (i.e. for use in a grid column)
Résultat string

GetEditValue() public méthode

Reads new values entered by the user for the field returns EventCalendar.Guid as string
public GetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues ) : string
control System Parent control that controls were added to in the CreateEditControl() method
configurationValues ConfigurationValue>.Dictionary The configuration values.
Résultat string

GetEditValueAsEntityId() public méthode

Gets the edit value as the IEntity.Id
public GetEditValueAsEntityId ( System control, ConfigurationValue>.Dictionary configurationValues ) : int?
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
Résultat int?

GetEntity() public méthode

Gets the entity.
public GetEntity ( string value ) : IEntity
value string The value.
Résultat IEntity

GetEntity() public méthode

Gets the entity.
public GetEntity ( string value, RockContext rockContext ) : IEntity
value string The value.
rockContext Rock.Data.RockContext The rock context.
Résultat IEntity

GetEqualToCompareValue() public méthode

Gets the equal to compare value (types that don't support an equalto comparison (i.e. singleselect) should return null
public GetEqualToCompareValue ( ) : string
Résultat string

GetFilterCompareValue() public méthode

Gets the filter compare value.
public GetFilterCompareValue ( Control control, FilterMode filterMode ) : string
control System.Web.UI.Control The control.
filterMode FilterMode The filter mode.
Résultat string

GetFilterValueValue() public méthode

Gets the filter value value.
public GetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues ) : string
control System.Web.UI.Control The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
Résultat string

SetEditValue() public méthode

Sets the value. Expects value as a EventCalendar.Guid as string
public SetEditValue ( System control, ConfigurationValue>.Dictionary configurationValues, string value ) : void
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
Résultat void

SetEditValueFromEntityId() public méthode

Sets the edit value from IEntity.Id value
public SetEditValueFromEntityId ( System control, ConfigurationValue>.Dictionary configurationValues, int id ) : void
control System The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
id int The identifier.
Résultat void

SetFilterCompareValue() public méthode

Sets the filter compare value.
public SetFilterCompareValue ( Control control, string value ) : void
control System.Web.UI.Control The control.
value string The value.
Résultat void

SetFilterValueValue() public méthode

Sets the filter value value.
public SetFilterValueValue ( Control control, ConfigurationValue>.Dictionary configurationValues, string value ) : void
control System.Web.UI.Control The control.
configurationValues ConfigurationValue>.Dictionary The configuration values.
value string The value.
Résultat void