C# Class VersionOne.ServerConnector.QueryBuilder

Inheritance: IQueryBuilder
Mostrar archivo Open project: versionone/VersionOne.Integration.ClearQuest

Public Methods

Method Description
AddListProperty ( string fieldName, string typeToken ) : void
AddOptionalProperty ( string attr, string prefix ) : void

Add non-list property which can be missing exist at startup.

AddProperty ( string attr, string prefix, bool isList ) : void
Localize ( string text ) : string
Query ( string workitemTypeName, IFilter filter ) : AssetList
Query ( string workitemTypeName, IFilterTerm filter ) : AssetList
QueryPropertyValues ( string propertyName ) : PropertyValues
Setup ( IServices services, IMetaModel metaModel, ILocalizer localizer ) : void
SortBy ( SortBy sort ) : IQueryBuilder

Private Methods

Method Description
AddSelection ( VersionOne.SDK.APIClient.Query query, string typePrefix, IAssetType type ) : void
GetFieldType ( string typeToken, string fieldName ) : string
GetListPropertyValues ( ) : PropertyValues>.IDictionary
GetPropertyValuesQuery ( string propertyName, IAttributeDefinition &nameDef ) : VersionOne.SDK.APIClient.Query
ProcessUnresolvedTypeMappings ( ) : void
ResolvePropertyKey ( string propertyAlias ) : string

Method Details

AddListProperty() public method

public AddListProperty ( string fieldName, string typeToken ) : void
fieldName string
typeToken string
return void

AddOptionalProperty() public method

Add non-list property which can be missing exist at startup.
public AddOptionalProperty ( string attr, string prefix ) : void
attr string Attribute name
prefix string Prefix, usually matching attribute type
return void

AddProperty() public method

public AddProperty ( string attr, string prefix, bool isList ) : void
attr string
prefix string
isList bool
return void

Localize() public method

public Localize ( string text ) : string
text string
return string

Query() public method

public Query ( string workitemTypeName, IFilter filter ) : AssetList
workitemTypeName string
filter IFilter
return AssetList

Query() public method

public Query ( string workitemTypeName, IFilterTerm filter ) : AssetList
workitemTypeName string
filter IFilterTerm
return AssetList

QueryPropertyValues() public method

public QueryPropertyValues ( string propertyName ) : PropertyValues
propertyName string
return PropertyValues

Setup() public method

public Setup ( IServices services, IMetaModel metaModel, ILocalizer localizer ) : void
services IServices
metaModel IMetaModel
localizer ILocalizer
return void

SortBy() public method

public SortBy ( SortBy sort ) : IQueryBuilder
sort SortBy
return IQueryBuilder