Add Serialization to diagram
continuous-integration/drone/push Build is passing Details

pull/30/head
Louis LABORIE 2 years ago
parent 0f25898269
commit a61eba728d

@ -301,6 +301,83 @@ class StubManager {
}
class LinqXmlSerialization {
- {static} string XMLPATH
- {static} string XMLFILEPLAYLISTS
- {static} string XMLFILEALBUMS
- {static} string XMLFILECUSTOMS
- {static} string XMLFILEINFOS
- {static} string XMLFILEARTISTS
+ LinqXmlSerialization()
+ void AddAlbum(Album album)
+ void AddArtist(Artist artist)
+ void AddCustomTitle(CustomTitle title)
+ void AddInfoTitle(InfoTitle title)
+ void AddPlaylist(Playlist playlist)
+ List<Album> GetAlbums()
+ List<Artist> GetArtists()
+ List<CustomTitle> GetCustomTitles()
+ List<InfoTitle> GetInfoTitles()
+ List<Playlist> GetPlaylists()
+ void RemoveAlbum(Album album)
+ void RemoveArtist(Artist artist)
+ void RemoveCustomTitle(CustomTitle title)
+ void RemoveInfoTitle(InfoTitle title)
+ void RemovePlaylist(Playlist playlist)
+ void LoadSerialization()
+ void SaveSerialization()
+ void LoadPlaylists()
+ void SavePlaylists()
+ void LoadArtists()
+ void SaveArtists()
+ void LoadCustomTitles()
+ void SaveCustomTitles()
+ void LoadAlbums()
+ void SaveAlbums()
+ void LoadInfoTitles()
+ void SaveInfoTitles()
+ {static} Genre GetGenreByName(string genre)
+ InfoTitle? GetInfoTitleByUrl(string url)
+ Artist? GetArtistByName(string name)
+ Album? GetAlbumByUrl(string url)
+ CustomTitle? GetCustomTitleByUrl(string custom)
+ 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
@ -322,5 +399,11 @@ StubManager --> "- stubPlaylist" StubPlaylist
StubManager --> "- stubAlbum" StubAlbum
StubManager --> "- stubInfoTitle" StubInfoTitle
StubManager --> "- stubCustomTitle" StubCustomTitle
LinqXmlSerialization <|-- IDataManager
LinqXmlSerialization --> "- artists*" Artist
LinqXmlSerialization --> "- albums*" Album
LinqXmlSerialization --> "- playlists*" Playlist
LinqXmlSerialization --> "- infotitles*" InfoTitle
LinqXmlSerialization --> "- customtitles*" CustomTitle
@enduml

Loading…
Cancel
Save