Module e.p.d.models

Part of elisa.plugins.database

models with (in)direct database access
Line # Kind Name Docs
45 Class MusicAlbum Represents one album
91 Class PhotoAlbum Undocumented
96 Class Artist Represents an artist
113 Class TrackArtist weak table to map artists to tracks
124 Class MusicTrack Represents one music track
186 Class Image represent an image
214 Class PlayableMixin Undocumented
223 Class Video represents a video
245 Class File represente a file
260 Class Movie Undocumented
281 Class TVShow Undocumented
291 Class TVSeason Undocumented
314 Class TVEpisode Undocumented
324 Class Tag representation of a TAG
332 Class FileTags map multiple tags to multiple Files
400 Function delete_file Delete a File object from the DB, maintaining database consistency by
451 Function delete_music_track Delete a MusicTrack object from the DB, maintaining database consistency by
507 Function delete_music_album Delete a MusicAlbum object from the DB, maintaining database consistency by
556 Function delete_track_artist Delete a TrackArtist object from the DB, maintaining database consistency
595 Function delete_artist Delete an Artist object from the DB, maintaining database consistency by
639 Function delete_image Delete an Image object from the DB, maintaining database consistency by
678 Function delete_photo_album Delete a PhotoAlbum object from the DB, maintaining database consistency by
721 Function delete_video Delete a Video object from the DB, maintaining database consistency by
770 Function delete_movie Delete a Movie object from the DB, maintaining database consistency by
790 Function delete_tvepisode Delete a TVEpisode object from the DB, maintaining database consistency by
828 Function delete_tvseason Delete a TVSeason object from the DB, maintaining database consistency by
899 Function delete_tvshow Delete a TVShow object from the DB, maintaining database consistency by
def delete_file(file_obj, store):
Delete a File object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersfile_objfile object to be removed from the database (type: elisa.plugins.database.models.File )
storethe store the file object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_music_track(track, store):
Delete a MusicTrack object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parameterstrackmusic track object to be removed from the database (type: elisa.plugins.database.models.MusicTrack )
storethe store the music track object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_music_album(album, store):
Delete a MusicAlbum object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersalbummusic album object to be removed from the database (type: elisa.plugins.database.models.MusicAlbum )
storethe store the music album object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_track_artist(track_artist, store):
Delete a TrackArtist object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parameterstrack_artisttrack artist object to be removed from the database (type: elisa.plugins.database.models.TrackArtist )
storethe store the track artist object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_artist(artist, store):
Delete an Artist object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersartistartist object to be removed from the database (type: elisa.plugins.database.models.Artist )
storethe store the artist object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_image(image, store):
Delete an Image object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersimageimage object to be removed from the database (type: elisa.plugins.database.models.Image )
storethe store the image object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_photo_album(album, store):
Delete a PhotoAlbum object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersalbumphoto album object to be removed from the database (type: elisa.plugins.database.models.PhotoAlbum )
storethe store the photo album object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_video(video, store):
Delete a Video object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersvideovideo object to be removed from the database (type: elisa.plugins.database.models.Video )
storethe store the video object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_movie(movie, store):
Delete a Movie object from the DB, maintaining database consistency by cascade-removing all the back-references.
Parametersmoviemovie object to be removed from the database (type: elisa.plugins.database.models.Movie )
storethe store the movie object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_tvepisode(episode, store):
Delete a TVEpisode object from the DB, maintaining database consistency by cascade-removing all the back-references.
ParametersepisodeTV episode object to be removed from the database (type: elisa.plugins.database.models.TVEpisode )
storethe store the TV episode object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_tvseason(season, store):
Delete a TVSeason object from the DB, maintaining database consistency by cascade-removing all the back-references.
ParametersseasonTV season object to be removed from the database (type: elisa.plugins.database.models.TVSeason )
storethe store the TV season object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
def delete_tvshow(show, store):
Delete a TVShow object from the DB, maintaining database consistency by cascade-removing all the back-references.
ParametersshowTV show object to be removed from the database (type: elisa.plugins.database.models.TVShow )
storethe store the TV show object belongs to (type: elisa.extern.twisted_storm.store.DeferredStore )
Returnsa deferred fired when the cascade deletion is complete (type: elisa.core.utils.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-04-27 17:55:12.