1 17 18 package org.apache.james.imapserver; 19 20 import java.util.Map ; 21 import java.util.Set ; 22 23 28 29 public interface FolderRecord { 30 31 38 40 48 String getUser(); 49 50 58 String getAbsoluteName(); 59 60 71 void setNameInUse(boolean state); 72 73 79 boolean isNameInUse(); 80 81 86 void setDeleted(boolean state); 87 88 94 boolean isDeleted(); 95 96 103 void setUidValidity(int uidValidity); 104 105 110 int getUidValidity(); 111 112 117 void setHighestUid(int uid); 118 119 124 int getHighestUid(); 125 126 131 void setLookupRights(Set users); 132 133 139 boolean hasLookupRights(String user); 140 141 146 void setReadRights(Set users); 147 148 154 boolean hasReadRights(String user); 155 156 159 void setMarked(boolean mark); 160 161 166 boolean isMarked(); 167 168 174 void setNotSelectableByAnyone(boolean state); 175 176 boolean isNotSelectableByAnyone(); 177 178 185 boolean isSelectable(String user); 186 187 190 void setExists(int num); 191 192 197 int getExists(); 198 199 202 void setRecent(int num); 203 204 209 int getRecent(); 210 211 215 void setUnseenbyUser(Map unseen); 216 217 222 int getUnseen(String user); 223 } 224 | Popular Tags |