C# Class Disco.Services.Searching.Search

ファイルを表示 Open project: garysharp/Disco

Public Methods

Method Description
BuildJobTableModel ( DiscoDataContext Database ) : IQueryable
SearchDeviceBatch ( DiscoDataContext Database, int DeviceBatchId ) : List
SearchDeviceModel ( DiscoDataContext Database, int DeviceModelId ) : List
SearchDeviceProfile ( DiscoDataContext Database, int DeviceProfileId ) : List
SearchDevices ( DiscoDataContext Database, string Term, int LimitCount = ActiveDirectory.DefaultSearchResultLimit, bool SearchDetails = false ) : List
SearchJobs ( DiscoDataContext Database, string Term, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List
SearchJobsTable ( DiscoDataContext Database, string Term, int LimitCount = ActiveDirectory.DefaultSearchResultLimit, bool IncludeJobStatus = true, bool SearchDetails = false ) : JobTableModel
SearchUserFlag ( DiscoDataContext Database, int UserFlagId ) : List
SearchUsers ( DiscoDataContext Database, string Term, bool PersistResults, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List
SearchUsersUpstream ( DiscoDataContext Database, string Term, bool PersistResults, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List

Private Methods

Method Description
ToDeviceSearchResultItems ( this Query, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List
ToUserSearchResultItems ( this Query, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List

Method Details

BuildJobTableModel() public static method

public static BuildJobTableModel ( DiscoDataContext Database ) : IQueryable
Database Disco.Data.Repository.DiscoDataContext
return IQueryable

SearchDeviceBatch() public static method

public static SearchDeviceBatch ( DiscoDataContext Database, int DeviceBatchId ) : List
Database Disco.Data.Repository.DiscoDataContext
DeviceBatchId int
return List

SearchDeviceModel() public static method

public static SearchDeviceModel ( DiscoDataContext Database, int DeviceModelId ) : List
Database Disco.Data.Repository.DiscoDataContext
DeviceModelId int
return List

SearchDeviceProfile() public static method

public static SearchDeviceProfile ( DiscoDataContext Database, int DeviceProfileId ) : List
Database Disco.Data.Repository.DiscoDataContext
DeviceProfileId int
return List

SearchDevices() public static method

public static SearchDevices ( DiscoDataContext Database, string Term, int LimitCount = ActiveDirectory.DefaultSearchResultLimit, bool SearchDetails = false ) : List
Database Disco.Data.Repository.DiscoDataContext
Term string
LimitCount int
SearchDetails bool
return List

SearchJobs() public static method

public static SearchJobs ( DiscoDataContext Database, string Term, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List
Database Disco.Data.Repository.DiscoDataContext
Term string
LimitCount int
return List

SearchJobsTable() public static method

public static SearchJobsTable ( DiscoDataContext Database, string Term, int LimitCount = ActiveDirectory.DefaultSearchResultLimit, bool IncludeJobStatus = true, bool SearchDetails = false ) : JobTableModel
Database Disco.Data.Repository.DiscoDataContext
Term string
LimitCount int
IncludeJobStatus bool
SearchDetails bool
return Disco.Models.Services.Jobs.JobLists.JobTableModel

SearchUserFlag() public static method

public static SearchUserFlag ( DiscoDataContext Database, int UserFlagId ) : List
Database Disco.Data.Repository.DiscoDataContext
UserFlagId int
return List

SearchUsers() public static method

public static SearchUsers ( DiscoDataContext Database, string Term, bool PersistResults, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List
Database Disco.Data.Repository.DiscoDataContext
Term string
PersistResults bool
LimitCount int
return List

SearchUsersUpstream() public static method

public static SearchUsersUpstream ( DiscoDataContext Database, string Term, bool PersistResults, int LimitCount = ActiveDirectory.DefaultSearchResultLimit ) : List
Database Disco.Data.Repository.DiscoDataContext
Term string
PersistResults bool
LimitCount int
return List