C# Class BExIS.Ddm.Model.SearchComponent

Show file Open project: BEXIS2/Core

Public Methods

Method Description
ContainsCategory ( string name ) : bool

ContainsFacet ( string facetName ) : bool

ContainsProperty ( string name ) : bool

ContainsSearchComponent ( string name, string value ) : bool

GetCategory ( string name ) : Category

Get a category from Categories where value equal to facets category

GetFacet ( string facetName ) : Facet

Get a facet from Facets where facename and parentname equal to facets child

GetFacetChildrens ( string facetName ) : IEnumerable

GetProperty ( string name ) : Property

Get a proptery from Properties where value and DataSourceKey are equal otherwise null

GetSearchComponent ( string name, SearchComponentBaseType typeOf ) : SearchComponentBase

SearchComponent ( ) : System

represents the search components of the search UI

Method Details

ContainsCategory() public method

public ContainsCategory ( string name ) : bool
name string
return bool

ContainsFacet() public method

public ContainsFacet ( string facetName ) : bool
facetName string
return bool

ContainsProperty() public method

public ContainsProperty ( string name ) : bool
name string
return bool

ContainsSearchComponent() public method

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

GetCategory() public method

Get a category from Categories where value equal to facets category
public GetCategory ( string name ) : Category
name string
return Category

GetFacet() public method

Get a facet from Facets where facename and parentname equal to facets child
public GetFacet ( string facetName ) : Facet
facetName string
return Facet

GetFacetChildrens() public method

public GetFacetChildrens ( string facetName ) : IEnumerable
facetName string
return IEnumerable

GetProperty() public method

Get a proptery from Properties where value and DataSourceKey are equal otherwise null
public GetProperty ( string name ) : Property
name string
return Property

GetSearchComponent() public method

public GetSearchComponent ( string name, SearchComponentBaseType typeOf ) : SearchComponentBase
name string
typeOf SearchComponentBaseType
return SearchComponentBase

SearchComponent() public method

represents the search components of the search UI
public SearchComponent ( ) : System
return System