Exemplo n.º 1
0
 // RETURNS NULL WHEN ABOVECATEGORY IS NULL
 public abstract Category GetAboveCategory(Category category);
Exemplo n.º 2
0
 public abstract IEnumerable<Article> GetArticlesByCategory(Category category);
Exemplo n.º 3
0
 public abstract bool DeleteCategory(Category category);
Exemplo n.º 4
0
 public abstract bool DeleteCategoryFromArticle(Article article, Category category, bool delete_all = false);
Exemplo n.º 5
0
 public abstract bool UpdateCategory(Category category);
Exemplo n.º 6
0
 // Add, basically the same as Save, but you can Add many categories/authorships/annotations to the same article
 // So to point this out I used different word
 public abstract bool AddCategoryToArticle(Article article, Category category);
Exemplo n.º 7
0
 public void AddCategory(Category category)
 {
     XmlNode node = this.CreateDatafield("904");
     XmlNode categ= this.CreateSubfield(category.Info, "a");
     node.AppendChild(categ);
     record.AppendChild(node);
 }
Exemplo n.º 8
0
 public abstract bool SaveCategory(Category category);
Exemplo n.º 9
0
 public override bool AddCategoryToArticle(Article article, Category category)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 10
0
 public override bool UpdateCategory(Category category)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 11
0
 public override IEnumerable<Article> GetArticlesByCategory(Category category)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 12
0
 public override Category GetAboveCategory(Category category)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 13
0
 public override bool DeleteCategoryFromArticle(Article article, Category category, bool delete_all = false)
 {
     throw new NotImplementedException();
 }