C# Class Sdl.Web.Tridion.Query.BrokerQuery

Datei anzeigen Open project: sdl/dxa-web-application-dotnet Class Usage Examples

Private Properties

Property Type Description
BrokerQuery System
BuildCriteria Criteria
CreateComponent DD4T.ContentModel.IComponent
ExecuteQuery IEnumerable
GetSortColumn SortColumn
GetSortParameter SortParameter

Public Methods

Method Description
LoadKeyword ( string keywordUri ) : Keyword
LoadKeywords ( List keywordUris ) : List

Gets a list of keyword objects based on their URIs

SetKeywordFilters ( List keywords ) : void

Sets the keyword filters using a list of keyword objects

SetKeywordFilters ( List keywordUris ) : void

Sets the keyword filters using a list of keyword uri strings

Private Methods

Method Description
BrokerQuery ( SimpleBrokerQuery queryParameters ) : System
BuildCriteria ( ) : Criteria
CreateComponent ( IComponentMeta componentMeta ) : DD4T.ContentModel.IComponent

Creates a lightweight DD4T Component that contains enough information such that the semantic model builder can cope and build a strongly typed model from it.

ExecuteQuery ( Type resultType ) : IEnumerable
GetSortColumn ( ) : SortColumn
GetSortParameter ( ) : SortParameter

Method Details

LoadKeyword() public static method

public static LoadKeyword ( string keywordUri ) : Keyword
keywordUri string
return Keyword

LoadKeywords() public static method

Gets a list of keyword objects based on their URIs
public static LoadKeywords ( List keywordUris ) : List
keywordUris List
return List

SetKeywordFilters() public method

Sets the keyword filters using a list of keyword objects
public SetKeywordFilters ( List keywords ) : void
keywords List
return void

SetKeywordFilters() public method

Sets the keyword filters using a list of keyword uri strings
public SetKeywordFilters ( List keywordUris ) : void
keywordUris List
return void