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

Inheritance: IFolderRepository
ファイルを表示 Open project: einsteinx2/WaveBox

Public Methods

Method 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 method

public AlbumsForFolderId ( int folderId ) : IList
folderId int
return IList

FolderForId() public method

public FolderForId ( int folderId ) : Folder
folderId int
return Folder

FolderForPath() public method

public FolderForPath ( string path ) : Folder
path string
return Folder

FolderRepository() public method

public FolderRepository ( IDatabase database, IServerSettings serverSettings, ISongRepository songRepository, IVideoRepository videoRepository ) : System
database IDatabase
serverSettings IServerSettings
songRepository ISongRepository
videoRepository IVideoRepository
return System

GetParentFolderId() public method

public GetParentFolderId ( string path ) : int?
path string
return int?

InsertFolder() public method

public InsertFolder ( Folder folder, bool replace = false ) : bool
folder Folder
replace bool
return bool

ListOfSongs() public method

public ListOfSongs ( int folderId, bool recursive = false ) : IList
folderId int
recursive bool
return IList

ListOfSubFolders() public method

public ListOfSubFolders ( int folderId ) : IList
folderId int
return IList

ListOfVideos() public method

public ListOfVideos ( int folderId, bool recursive = false ) : IList
folderId int
recursive bool
return IList

MediaFolders() public method

public MediaFolders ( ) : IList
return IList

TopLevelFolders() public method

public TopLevelFolders ( ) : IList
return IList