Property | Type | Description | |
---|---|---|---|
GetAllWssIdByTerm | string | ||
TrimIfNotNullOrEmpty | string |
Method | Description | |
---|---|---|
QueryHelper ( ITaxonomyService taxonomyService, ILogger logger ) : System |
Initializes a new instance of the QueryHelper class.
|
|
TermFilter ( SPList list, string taxonomyFieldInternalName, IList |
Generates a SPQuery filter for Taxonomy Term
|
|
TermFilter ( SPList list, string taxonomyFieldInternalName, Term term, bool includeDescendants ) : string |
Generates a SPQuery filter for Taxonomy Term
|
|
TermFilter ( SPList list, string taxonomyFieldInternalName, string termSetName, string termLabel, bool includeDescendants ) : string |
Generates a SPQuery filter for Taxonomy Term from the site-collection-reserved term store group
|
|
TermFilter ( SPList list, string taxonomyFieldInternalName, string termStoreGroupName, string termSetName, string termLabel, bool includeDescendants ) : string |
Generates a SPQuery filter for Taxonomy Term in a global farm term store group
|
|
ViewFieldsForEntityType ( |
Returns a string corresponding the the ViewFields attribute of a SPQuery with all the properties of a particular Entity
|
Method | Description | |
---|---|---|
GetAllWssIdByTerm ( SPList list, Term term, bool includeDescendants ) : string | ||
TrimIfNotNullOrEmpty ( string toTrim ) : string |
public QueryHelper ( ITaxonomyService taxonomyService, ILogger logger ) : System | ||
taxonomyService | ITaxonomyService | The taxonomy service. |
logger | ILogger | The logger. |
return | System |
public TermFilter ( SPList list, string taxonomyFieldInternalName, IList |
||
list | SPList | The list over which the query will be done |
taxonomyFieldInternalName | string | The name of the site column associated with the term set |
terms | IList |
List of terms for why we want to match in an OR fashion |
includeDescendants | bool | Whether the Term's child terms should be query hits as well |
return | string |
public TermFilter ( SPList list, string taxonomyFieldInternalName, Term term, bool includeDescendants ) : string | ||
list | SPList | The list over which the query will be done |
taxonomyFieldInternalName | string | The name of the site column associated with the term set |
term | Term | Term to match for |
includeDescendants | bool | Whether the Term's child terms should be query hits as well |
return | string |
public TermFilter ( SPList list, string taxonomyFieldInternalName, string termSetName, string termLabel, bool includeDescendants ) : string | ||
list | SPList | The list over which the query will be done |
taxonomyFieldInternalName | string | The name of the site column associated with the term set |
termSetName | string | Name of the term set |
termLabel | string | Label by which to find the term (dupes not supported) |
includeDescendants | bool | Whether the Term's child terms should be query hits as well |
return | string |
public TermFilter ( SPList list, string taxonomyFieldInternalName, string termStoreGroupName, string termSetName, string termLabel, bool includeDescendants ) : string | ||
list | SPList | The list over which the query will be done |
taxonomyFieldInternalName | string | The name of the site column associated with the term set |
termStoreGroupName | string | Name of the global farm term store group |
termSetName | string | Name of the term set |
termLabel | string | Label by which to find the term (dupes not supported) |
includeDescendants | bool | Whether the Term's child terms should be query hits as well |
return | string |
public ViewFieldsForEntityType ( |
||
entityType | The type of the entity | |
return | string |