C# Class BExIS.Ddm.Model.SearchCriteria

Mostrar archivo Open project: BEXIS2/Core Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

ContainsCategory ( Category category ) : bool

Check if aTextValue in SerachCriteriaList This function is used to check whether an text is present in the list.

ContainsFacet ( Facet facet ) : bool

Check if facet in SerachCriteriaList This function is used to check whether an facet is present in the list.

ContainsProperty ( Property Property ) : bool

Check if Property in SerachCriteriaList This function is used to check whether an property is present in the list.

ContainsSearchCriterion ( string name, bool multiselect ) : bool

ContainsSearchCriterion ( string name, string value ) : bool

ContainsSearchCriterion ( string name, string value, SearchComponentBaseType type ) : bool

GetProperty ( string Name ) : Property

Check if Property in SerachCriteriaList This function is used to check whether an property is present in the list.

RemoveSearchCriteria ( string name, bool multiselect ) : void

RemoveValueOfSearchCriteria ( string name, string value ) : void

SearchCriteria ( ) : System

Update ( SearchComponentBase scb, List values, bool multiSelect = true, string valueSearchOperation = "OR" ) : void

Update a SearchCriterion with a list of values multiselect must be true

Update ( SearchComponentBase scb, string value, bool multiSelect = false, string valueSearchOperation = "OR" ) : void

Update a SearchCriterion with one value

Private Methods

Method Description
ContainsSearchCriterion ( string name ) : bool

ContainsSearchCriterion ( string name, SearchComponentBaseType type ) : bool

Get ( string name, SearchComponentBaseType type ) : SearchCriterion

Get ( string name, bool multiselect ) : SearchCriterion

Get ( string name, string value ) : SearchCriterion

Get a SearchCriterion from SerachCriteriaList

Get a SearchCriterion from SerachCriteriaList

Method Details

Clear() public method

public Clear ( ) : void
return void

ContainsCategory() public method

Check if aTextValue in SerachCriteriaList This function is used to check whether an text is present in the list.
public ContainsCategory ( Category category ) : bool
category Category
return bool

ContainsFacet() public method

Check if facet in SerachCriteriaList This function is used to check whether an facet is present in the list.
public ContainsFacet ( Facet facet ) : bool
facet Facet
return bool

ContainsProperty() public method

Check if Property in SerachCriteriaList This function is used to check whether an property is present in the list.
public ContainsProperty ( Property Property ) : bool
Property Property
return bool

ContainsSearchCriterion() public method

public ContainsSearchCriterion ( string name, bool multiselect ) : bool
name string
multiselect bool
return bool

ContainsSearchCriterion() public method

public ContainsSearchCriterion ( string name, string value ) : bool
name string
value string
return bool

ContainsSearchCriterion() public method

public ContainsSearchCriterion ( string name, string value, SearchComponentBaseType type ) : bool
name string
value string
type SearchComponentBaseType
return bool

GetProperty() public method

Check if Property in SerachCriteriaList This function is used to check whether an property is present in the list.
public GetProperty ( string Name ) : Property
Name string
return Property

RemoveSearchCriteria() public method

public RemoveSearchCriteria ( string name, bool multiselect ) : void
name string
multiselect bool
return void

RemoveValueOfSearchCriteria() public method

public RemoveValueOfSearchCriteria ( string name, string value ) : void
name string
value string
return void

SearchCriteria() public method

public SearchCriteria ( ) : System
return System

Update() public method

Update a SearchCriterion with a list of values multiselect must be true
public Update ( SearchComponentBase scb, List values, bool multiSelect = true, string valueSearchOperation = "OR" ) : void
scb SearchComponentBase
values List
multiSelect bool
valueSearchOperation string
return void

Update() public method

Update a SearchCriterion with one value
public Update ( SearchComponentBase scb, string value, bool multiSelect = false, string valueSearchOperation = "OR" ) : void
scb SearchComponentBase
value string
multiSelect bool
valueSearchOperation string
return void