1 43 package net.jforum.entities; 44 45 import java.util.ArrayList ; 46 import java.util.List ; 47 48 52 public class ModerationPendingInfo 53 { 54 private int categoryId; 55 private String categoryName; 56 private List infoList = new ArrayList (); 57 58 public void setCategoryId(int categoryId) 59 { 60 this.categoryId = categoryId; 61 } 62 63 public void setCategoryName(String name) 64 { 65 this.categoryName = name; 66 } 67 68 public String getCategoryName() 69 { 70 return this.categoryName; 71 } 72 73 public int getCategoryId() 74 { 75 return this.categoryId; 76 } 77 78 public void addInfo(String forumName, int forumId, int postsToModerate) 79 { 80 this.infoList.add(new ForumModerationInfo(forumName, forumId, postsToModerate)); 81 } 82 83 public List getForums() 84 { 85 return this.infoList; 86 } 87 } 88 | Popular Tags |