C# Class WaveBox.Core.Model.Repository.FolderRepository

Inheritance: IFolderRepository
Afficher le fichier Open project: einsteinx2/WaveBox

Méthodes publiques

Méthode Description
AlbumsForFolderId ( int folderId ) : IList
FolderForId ( int folderId ) : Folder
FolderForPath ( string path ) : Folder
FolderRepository ( IDatabase database, IServerSettings serverSettings, ISongRepository songRepository, IVideoRepository videoRepository ) : System
GetParentFolderId ( string path ) : int?
InsertFolder ( Folder folder, bool replace = false ) : bool
ListOfSongs ( int folderId, bool recursive = false ) : IList
ListOfSubFolders ( int folderId ) : IList
ListOfVideos ( int folderId, bool recursive = false ) : IList
MediaFolders ( ) : IList
TopLevelFolders ( ) : IList

Method Details

AlbumsForFolderId() public méthode

public AlbumsForFolderId ( int folderId ) : IList
folderId int
Résultat IList

FolderForId() public méthode

public FolderForId ( int folderId ) : Folder
folderId int
Résultat Folder

FolderForPath() public méthode

public FolderForPath ( string path ) : Folder
path string
Résultat Folder

FolderRepository() public méthode

public FolderRepository ( IDatabase database, IServerSettings serverSettings, ISongRepository songRepository, IVideoRepository videoRepository ) : System
database IDatabase
serverSettings IServerSettings
songRepository ISongRepository
videoRepository IVideoRepository
Résultat System

GetParentFolderId() public méthode

public GetParentFolderId ( string path ) : int?
path string
Résultat int?

InsertFolder() public méthode

public InsertFolder ( Folder folder, bool replace = false ) : bool
folder Folder
replace bool
Résultat bool

ListOfSongs() public méthode

public ListOfSongs ( int folderId, bool recursive = false ) : IList
folderId int
recursive bool
Résultat IList

ListOfSubFolders() public méthode

public ListOfSubFolders ( int folderId ) : IList
folderId int
Résultat IList

ListOfVideos() public méthode

public ListOfVideos ( int folderId, bool recursive = false ) : IList
folderId int
recursive bool
Résultat IList

MediaFolders() public méthode

public MediaFolders ( ) : IList
Résultat IList

TopLevelFolders() public méthode

public TopLevelFolders ( ) : IList
Résultat IList