C# Class vwarDAL.DefaultSearchProxy

Inheritance: ISearchProxy
Mostra file Open project: adlnet/3D-Repository

Public Methods

Method Description
DeepSearch ( IEnumerable terms, SearchMethod method = SearchMethod.OR ) : IEnumerable
DeepSearch ( string term ) : IEnumerable
DefaultSearchProxy ( string connectionString, string identity ) : System
Dispose ( ) : void
GetByLastUpdated ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
GetByLastViewed ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
GetByRandom ( int count, int start ) : IEnumerable
GetByRating ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
GetByViews ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
GetContentObjectCount ( ) : int
GetContentObjectsByArtistName ( string artistName ) : IEnumerable
GetContentObjectsByDescription ( string description ) : IEnumerable
GetContentObjectsByDeveloperName ( string developerName ) : IEnumerable
GetContentObjectsByKeyWords ( string keywordsList ) : IEnumerable
GetContentObjectsBySponsorName ( string sponsorName ) : IEnumerable
GetContentObjectsBySubmitterEmail ( string email ) : IEnumerable
GetContentObjectsByTitle ( string title ) : IEnumerable
QuickSearch ( IEnumerable terms, SearchMethod method = SearchMethod.OR ) : IEnumerable
QuickSearch ( string term ) : IEnumerable
SearchByField ( string field, string term ) : IEnumerable
SearchByFields ( NameValueCollection fields, SearchMethod method = SearchMethod.OR ) : IEnumerable

Private Methods

Method Description
combineResults ( IEnumerable existing, IEnumerable toAdd, SearchMethod method ) : IEnumerable

Cleanly combines two IEnumerables (possibly null)

Method Details

DeepSearch() public method

public DeepSearch ( IEnumerable terms, SearchMethod method = SearchMethod.OR ) : IEnumerable
terms IEnumerable
method SearchMethod
return IEnumerable

DeepSearch() public method

public DeepSearch ( string term ) : IEnumerable
term string
return IEnumerable

DefaultSearchProxy() public method

public DefaultSearchProxy ( string connectionString, string identity ) : System
connectionString string
identity string
return System

Dispose() public method

public Dispose ( ) : void
return void

GetByLastUpdated() public method

public GetByLastUpdated ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
count int
start int
order SortOrder
return IEnumerable

GetByLastViewed() public method

public GetByLastViewed ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
count int
start int
order SortOrder
return IEnumerable

GetByRandom() public method

public GetByRandom ( int count, int start ) : IEnumerable
count int
start int
return IEnumerable

GetByRating() public method

public GetByRating ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
count int
start int
order SortOrder
return IEnumerable

GetByViews() public method

public GetByViews ( int count, int start, SortOrder order = SortOrder.Descending ) : IEnumerable
count int
start int
order SortOrder
return IEnumerable

GetContentObjectCount() public method

public GetContentObjectCount ( ) : int
return int

GetContentObjectsByArtistName() public method

public GetContentObjectsByArtistName ( string artistName ) : IEnumerable
artistName string
return IEnumerable

GetContentObjectsByDescription() public method

public GetContentObjectsByDescription ( string description ) : IEnumerable
description string
return IEnumerable

GetContentObjectsByDeveloperName() public method

public GetContentObjectsByDeveloperName ( string developerName ) : IEnumerable
developerName string
return IEnumerable

GetContentObjectsByKeyWords() public method

public GetContentObjectsByKeyWords ( string keywordsList ) : IEnumerable
keywordsList string
return IEnumerable

GetContentObjectsBySponsorName() public method

public GetContentObjectsBySponsorName ( string sponsorName ) : IEnumerable
sponsorName string
return IEnumerable

GetContentObjectsBySubmitterEmail() public method

public GetContentObjectsBySubmitterEmail ( string email ) : IEnumerable
email string
return IEnumerable

GetContentObjectsByTitle() public method

public GetContentObjectsByTitle ( string title ) : IEnumerable
title string
return IEnumerable

QuickSearch() public method

public QuickSearch ( IEnumerable terms, SearchMethod method = SearchMethod.OR ) : IEnumerable
terms IEnumerable
method SearchMethod
return IEnumerable

QuickSearch() public method

public QuickSearch ( string term ) : IEnumerable
term string
return IEnumerable

SearchByField() public method

public SearchByField ( string field, string term ) : IEnumerable
field string
term string
return IEnumerable

SearchByFields() public method

public SearchByFields ( NameValueCollection fields, SearchMethod method = SearchMethod.OR ) : IEnumerable
fields NameValueCollection
method SearchMethod
return IEnumerable