Method | Description | |
---|---|---|
Count ( ) : int |
Returns the number of tracks contained in the repository
|
|
Delete ( string key ) : RepositoryResponse |
Deletes track from repository
|
|
Dispose ( ) : void |
Disposes the repository
|
|
Get ( string key ) : |
Gets information of the track identified by a given key (file hash)
|
|
GetAll ( ) : ICollection |
Gets all tracks from repository
|
|
InsertTrack ( |
Inserts the track file information into the repository
|
|
InsertTrack ( string filename ) : RepositoryResponse |
Inserts the track file information into the repository reading it directly from the file.
|
|
TrackRepository ( string repType, RepositoryConfiguration conf ) : System |
Repository Constructor that initializes the repository of the given type.
|
|
Update ( |
Updates Track information
|
public Delete ( string key ) : RepositoryResponse | ||
key | string | Identifier of the track that has to be deleted |
return | RepositoryResponse |
public Get ( string key ) : |
||
key | string | Identifier of the track (file hash) |
return |
public InsertTrack ( |
||
mdl | Track to insert | |
return | RepositoryResponse |
public InsertTrack ( string filename ) : RepositoryResponse | ||
filename | string | Filename where the information can be read |
return | RepositoryResponse |
public TrackRepository ( string repType, RepositoryConfiguration conf ) : System | ||
repType | string | Name of the repository Type |
conf | RepositoryConfiguration | Configuration for the repository |
return | System |
public Update ( |
||
mdl | New value of the Track | |
return | RepositoryResponse |