C# Class Banshee.Collection.Database.DatabaseTrackListModel

Inheritance: TrackListModel, IExportableModel, ICacheableDatabaseModel, IFilterable, ISortable, ICareAboutView, ISearchable
Datei anzeigen Open project: mono-soc-2011/banshee Class Usage Examples

Protected Properties

Property Type Description
cache IDatabaseTrackModelCache

Public Methods

Method Description
AddCondition ( string part ) : void
AddCondition ( string tables, string part ) : void
Clear ( ) : void
Contains ( DatabaseTrackInfo track ) : bool
DatabaseTrackListModel ( BansheeDbConnection connection, IDatabaseTrackModelProvider provider, Banshee source ) : System
GetRandom ( System.DateTime notPlayedSince ) : TrackInfo
GetRandom ( System.DateTime notPlayedSince, string shuffle_mode, bool repeat, bool resetSinceTime, Banshee.Collection.Database.Shuffler shuffler ) : TrackInfo
IndexOf ( QueryNode query, long offset ) : int
IndexOf ( TrackInfo track ) : int
IndexOfFirst ( TrackInfo track ) : int
Initialize ( IDatabaseTrackModelCache cache ) : void
InvalidateCache ( bool notify ) : void
Reload ( ) : void
Reload ( IListModel reloadTrigger ) : void
Resort ( ) : void
Sort ( ISortableColumn column ) : bool
UpdateUnfilteredAggregates ( ) : void
this ( int index ) : TrackInfo

Protected Methods

Method Description
GenerateSortQueryPart ( ) : void

Private Methods

Method Description
GenerateUserQueryFragment ( ) : void
HandleCacheAggregatesUpdated ( IDataReader reader ) : void
IExportableModel ( int index ) : object>.IDictionary
IExportableModel ( ) : int
PrefixCondition ( string prefix ) : string
ReloadWithFilters ( bool with_filters ) : void
ReloadWithoutFilters ( ) : void

Method Details

AddCondition() public method

public AddCondition ( string part ) : void
part string
return void

AddCondition() public method

public AddCondition ( string tables, string part ) : void
tables string
part string
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( DatabaseTrackInfo track ) : bool
track DatabaseTrackInfo
return bool

DatabaseTrackListModel() public method

public DatabaseTrackListModel ( BansheeDbConnection connection, IDatabaseTrackModelProvider provider, Banshee source ) : System
connection Banshee.Database.BansheeDbConnection
provider IDatabaseTrackModelProvider
source Banshee
return System

GenerateSortQueryPart() protected method

protected GenerateSortQueryPart ( ) : void
return void

GetRandom() public method

public GetRandom ( System.DateTime notPlayedSince ) : TrackInfo
notPlayedSince System.DateTime
return TrackInfo

GetRandom() public method

public GetRandom ( System.DateTime notPlayedSince, string shuffle_mode, bool repeat, bool resetSinceTime, Banshee.Collection.Database.Shuffler shuffler ) : TrackInfo
notPlayedSince System.DateTime
shuffle_mode string
repeat bool
resetSinceTime bool
shuffler Banshee.Collection.Database.Shuffler
return TrackInfo

IndexOf() public method

public IndexOf ( QueryNode query, long offset ) : int
query QueryNode
offset long
return int

IndexOf() public method

public IndexOf ( TrackInfo track ) : int
track TrackInfo
return int

IndexOfFirst() public method

public IndexOfFirst ( TrackInfo track ) : int
track TrackInfo
return int

Initialize() public method

public Initialize ( IDatabaseTrackModelCache cache ) : void
cache IDatabaseTrackModelCache
return void

InvalidateCache() public method

public InvalidateCache ( bool notify ) : void
notify bool
return void

Reload() public method

public Reload ( ) : void
return void

Reload() public method

public Reload ( IListModel reloadTrigger ) : void
reloadTrigger IListModel
return void

Resort() public method

public Resort ( ) : void
return void

Sort() public method

public Sort ( ISortableColumn column ) : bool
column ISortableColumn
return bool

UpdateUnfilteredAggregates() public method

public UpdateUnfilteredAggregates ( ) : void
return void

this() public method

public this ( int index ) : TrackInfo
index int
return TrackInfo

Property Details

cache protected_oe property

protected IDatabaseTrackModelCache cache
return IDatabaseTrackModelCache