1 53 54 package com.Yasna.forum; 55 56 import java.util.Iterator ; 57 import java.util.Date ; 58 59 public interface Category { 60 61 66 public int getID(); 67 68 75 public String getName(); 76 77 89 public void setName(String name) throws UnauthorizedException, 90 CategoryAlreadyExistsException; 91 92 96 public int getOrder(); 97 98 103 public void setOrder(int param) throws UnauthorizedException; 104 105 110 public String getDescription(); 111 112 118 public void setDescription(String description) throws UnauthorizedException; 119 120 125 public Date getCreationDate(); 126 127 133 public void setCreationDate(Date creationDate) throws UnauthorizedException; 134 135 140 public Date getModifiedDate(); 141 142 148 public void setModifiedDate(Date modifiedDate) throws UnauthorizedException; 149 150 154 public ForumGroup getForumGroup(int forumGroupID) 155 throws ForumGroupNotFoundException; 156 157 163 public void deleteForumGroup(ForumGroup forumGroup) throws UnauthorizedException; 164 165 172 public abstract ForumGroup createForumGroup(String name, String description) 173 throws UnauthorizedException; 174 175 178 public Iterator forumGroups(); 179 180 } | Popular Tags |