Beispiel #1
0
        public virtual ArchivedTagVersion CreateArchivedVersion(TagDiff diff, AgentLoginData author, EntryEditEvent reason)
        {
            var archived = new ArchivedTagVersion(this, diff, author, reason);

            ArchivedVersionsManager.Add(archived);

            return(archived);
        }
Beispiel #2
0
        public virtual ArchivedSongVersion CreateArchivedVersion(XDocument data, SongDiff diff, AgentLoginData author, SongArchiveReason reason, string notes)
        {
            var archived = new ArchivedSongVersion(this, data, diff, author, Version, Status, reason, notes);

            ArchivedVersionsManager.Add(archived);
            Version++;

            return(archived);
        }
Beispiel #3
0
        public virtual ArchivedReleaseEventVersion CreateArchivedVersion(XDocument data, ReleaseEventDiff diff, AgentLoginData author, EntryEditEvent reason, string notes)
        {
            var archived = new ArchivedReleaseEventVersion(this, data, diff, author, reason, notes);

            ArchivedVersionsManager.Add(archived);
            Version++;

            return(archived);
        }
Beispiel #4
0
        public virtual ArchivedSongListVersion CreateArchivedVersion(SongListDiff diff, AgentLoginData author, EntryEditEvent reason, string notes)
        {
            var archived = new ArchivedSongListVersion(this, diff, author, Status, reason, notes);

            ArchivedVersionsManager.Add(archived);
            Version++;

            return(archived);
        }
Beispiel #5
0
 public virtual ArchivedSongVersion GetLatestVersion()
 {
     return(ArchivedVersionsManager.GetLatestVersion());
 }