C# Class VersionOne.ServerConnector.QueryBuilder

Inheritance: IQueryBuilder
Afficher le fichier Open project: versionone/VersionOne.Integration.ClearQuest

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddListProperty ( string fieldName, string typeToken ) : void
fieldName string
typeToken string
Résultat void

AddOptionalProperty() public méthode

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
Résultat void

AddProperty() public méthode

public AddProperty ( string attr, string prefix, bool isList ) : void
attr string
prefix string
isList bool
Résultat void

Localize() public méthode

public Localize ( string text ) : string
text string
Résultat string

Query() public méthode

public Query ( string workitemTypeName, IFilter filter ) : AssetList
workitemTypeName string
filter IFilter
Résultat AssetList

Query() public méthode

public Query ( string workitemTypeName, IFilterTerm filter ) : AssetList
workitemTypeName string
filter IFilterTerm
Résultat AssetList

QueryPropertyValues() public méthode

public QueryPropertyValues ( string propertyName ) : PropertyValues
propertyName string
Résultat PropertyValues

Setup() public méthode

public Setup ( IServices services, IMetaModel metaModel, ILocalizer localizer ) : void
services IServices
metaModel IMetaModel
localizer ILocalizer
Résultat void

SortBy() public méthode

public SortBy ( SortBy sort ) : IQueryBuilder
sort SortBy
Résultat IQueryBuilder