C# Class BB.UI.Web.MVC.Controllers.Web_API.PlaylistController

Inheritance: ApiController
Datei anzeigen Open project: BeatBuddy/beatbuddy_webapp

Public Methods

Method Description
AssignPlaylistMaster ( long playlistId, long userId ) : bool
PlaylistController ( ) : System
PlaylistController ( IPlaylistManager playlistManager ) : System
PlaylistController ( IPlaylistManager playlistManager, IUserManager userManager ) : System
PlaylistController ( IPlaylistManager playlistManager, IUserManager userManager, IOrganisationManager organisationManager, ITrackProvider iTrackProvider, IAlbumArtProvider albumArtProvider ) : System
PlaylistController ( IPlaylistManager playlistManager, IUserManager userManager, ITrackProvider trackProvider, IAlbumArtProvider albumArtProvider ) : System

Private Methods

Method Description
AddTrack ( long playlistId, string trackId ) : IHttpActionResult
Downvote ( long id, long trackId ) : IHttpActionResult
GetRecommendations ( int count ) : IHttpActionResult
GetTrackWithFreshYoutubeUrl ( Track originalTrack ) : Track
GetUser ( ClaimsIdentity claimsIdentity ) : User
Upvote ( long id, long trackId ) : IHttpActionResult
createPlaylist ( FormDataCollection formData ) : IHttpActionResult
getHistory ( long id ) : IHttpActionResult
getLivePlaylist ( long id ) : IHttpActionResult
getNextTrack ( long playlistId ) : IHttpActionResult
getPlaylist ( long id ) : IHttpActionResult
getPlaylistByKey ( string key ) : IHttpActionResult
getYoutubePlaybackTrack ( long id ) : IHttpActionResult
searchTrack ( string query ) : IHttpActionResult

Method Details

AssignPlaylistMaster() public method

public AssignPlaylistMaster ( long playlistId, long userId ) : bool
playlistId long
userId long
return bool

PlaylistController() public method

public PlaylistController ( ) : System
return System

PlaylistController() public method

public PlaylistController ( IPlaylistManager playlistManager ) : System
playlistManager IPlaylistManager
return System

PlaylistController() public method

public PlaylistController ( IPlaylistManager playlistManager, IUserManager userManager ) : System
playlistManager IPlaylistManager
userManager IUserManager
return System

PlaylistController() public method

public PlaylistController ( IPlaylistManager playlistManager, IUserManager userManager, IOrganisationManager organisationManager, ITrackProvider iTrackProvider, IAlbumArtProvider albumArtProvider ) : System
playlistManager IPlaylistManager
userManager IUserManager
organisationManager IOrganisationManager
iTrackProvider ITrackProvider
albumArtProvider IAlbumArtProvider
return System

PlaylistController() public method

public PlaylistController ( IPlaylistManager playlistManager, IUserManager userManager, ITrackProvider trackProvider, IAlbumArtProvider albumArtProvider ) : System
playlistManager IPlaylistManager
userManager IUserManager
trackProvider ITrackProvider
albumArtProvider IAlbumArtProvider
return System