|
|
|
@ -238,6 +238,69 @@ class StubPlaylist {
|
|
|
|
|
+ void RemovePlaylist(Playlist playlist)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class StubManager {
|
|
|
|
|
+ StubManager()
|
|
|
|
|
+ List<Album> GetAlbums()
|
|
|
|
|
+ List<Artist> GetArtists()
|
|
|
|
|
+ List<Playlist> GetPlaylists()
|
|
|
|
|
+ List<CustomTitle> GetCustomTitles()
|
|
|
|
|
+ List<InfoTitle> GetInfoTitles()
|
|
|
|
|
+ void AddAlbum(Album album)
|
|
|
|
|
+ void AddCustomTitle(CustomTitle title)
|
|
|
|
|
+ void AddInfoTitle(InfoTitle title)
|
|
|
|
|
+ {static} void AddFeat(InfoTitle infoTitle, Artist artist)
|
|
|
|
|
+ void AddPlaylist(Playlist playlist)
|
|
|
|
|
+ void AddArtist(Artist artist)
|
|
|
|
|
+ void RemoveAlbum(Album album)
|
|
|
|
|
+ void RemoveCustomTitle(CustomTitle title)
|
|
|
|
|
+ void RemoveInfoTitle(InfoTitle title)
|
|
|
|
|
+ void RemovePlaylist(Playlist playlist)
|
|
|
|
|
+ void RemoveArtist(Artist artist)
|
|
|
|
|
+ void LoadSerialization()
|
|
|
|
|
+ void SaveSerialization()
|
|
|
|
|
+ CustomTitle? GetCustomTitleByUrl(string custom)
|
|
|
|
|
+ InfoTitle? GetInfoTitleByUrl(string url)
|
|
|
|
|
+ Album? GetAlbumByUrl(string url)
|
|
|
|
|
+ Artist? GetArtistByName(string name)
|
|
|
|
|
+ void AddAlbums(List<Album> albumsList)
|
|
|
|
|
+ void AddArtists(List<Artist> artistsList)
|
|
|
|
|
+ void AddPlaylists(List<Playlist> playlistsList)
|
|
|
|
|
+ void AddCustomTitles(List<CustomTitle> customTitlesList)
|
|
|
|
|
+ void AddInfoTitles(List<InfoTitle> infoTitlesList)
|
|
|
|
|
+ Playlist? GetPlaylistByUrl(string url)
|
|
|
|
|
+ void UpdateCustomTitle(CustomTitle title, string name, string url, string info, string path)
|
|
|
|
|
+ void UpdateCustomTitleByUrl(string url, string name, string newUrl, string info, string path)
|
|
|
|
|
+ void UpdateInfoTitle(InfoTitle title, string name, string url, string info, Artist artist, string description, Genre genre)
|
|
|
|
|
+ void UpdateInfoTitleByName(string url, string name, string newUrl, string info, Artist artist, string description, Genre genre)
|
|
|
|
|
+ void UpdateInfoTitleByArtistName(InfoTitle title, string name, string url, string info, string artist, string description, Genre genre)
|
|
|
|
|
+ void UpdateInfoTitleByNameByArtistName(string url, string name, string newUrl, string info, string artist, string description, Genre genre)
|
|
|
|
|
+ void UpdateAlbum(Album album, string name, string url, Artist artist, string description, string info)
|
|
|
|
|
+ void UpdateAlbumByUrl(string url, string name, string newUrl, Artist artist, string description, string info)
|
|
|
|
|
+ void UpdateAlbumByArtistName(Album album, string name, string url, string artist, string description, string info)
|
|
|
|
|
+ void UpdateAlbumByUrlByArtistName(string url, string name, string newUrl, string artist, string description, string info)
|
|
|
|
|
+ void UpdatePlaylist(Playlist playlist, string name, string description, string url)
|
|
|
|
|
+ void UpdatePlaylistByUrl(string url, string name, string description, string newUrl)
|
|
|
|
|
+ void UpdateArtist(Artist artist, string name)
|
|
|
|
|
+ void UpdateArtistByName(string name, string newName)
|
|
|
|
|
+ void RemoveAlbums(List<Album> albumsList)
|
|
|
|
|
+ void RemoveArtists(List<Artist> artistsList
|
|
|
|
|
+ void RemovePlaylists(List<Playlist> playlistsList)
|
|
|
|
|
+ void RemoveCustomTitles(List<CustomTitle> customTitlesList)
|
|
|
|
|
+ void RemoveInfoTitles(List<InfoTitle> infoTitlesList)
|
|
|
|
|
+ boolean ExistsPlaylist(Playlist playlist)
|
|
|
|
|
+ boolean ExistsPlaylistByUrl(string url)
|
|
|
|
|
+ boolean ExistsAlbum(Album album)
|
|
|
|
|
+ boolean ExistsAlbumByUrl(string url)
|
|
|
|
|
+ boolean ExistsArtist(Artist artist)
|
|
|
|
|
+ boolean ExistsArtistByName(string name)
|
|
|
|
|
+ boolean ExistsCustomTitle(CustomTitle title)
|
|
|
|
|
+ boolean ExistsCustomTitleByUrl(string url)
|
|
|
|
|
+ boolean ExistsInfoTitle(InfoTitle title)
|
|
|
|
|
+ boolean ExistsInfoTitleByUrl(string url)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Album --> "+ artist" Artist
|
|
|
|
|
Album --> "- titles*" Title
|
|
|
|
|
Playlist --> "- titles*" Title
|
|
|
|
@ -253,5 +316,11 @@ StubCustomTitle --> "- customTitles*" CustomTitle
|
|
|
|
|
StubInfoTitle --> "- stubArtist" StubArtist
|
|
|
|
|
StubInfoTitle --> "- infoTitles*" InfoTitle
|
|
|
|
|
StubPlaylist --> "- playlists*" Playlist
|
|
|
|
|
StubManager <|-- IDataManager
|
|
|
|
|
StubManager --> "- stubArtist" StubArtist
|
|
|
|
|
StubManager --> "- stubPlaylist" StubPlaylist
|
|
|
|
|
StubManager --> "- stubAlbum" StubAlbum
|
|
|
|
|
StubManager --> "- stubInfoTitle" StubInfoTitle
|
|
|
|
|
StubManager --> "- stubCustomTitle" StubCustomTitle
|
|
|
|
|
@enduml
|
|
|
|
|
|
|
|
|
|