1{ /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 requires = ( MAIN, MainUI, CommonUI, Mailer, MailPartViewers ); 3 4 publicResources = (); 5 6 factories = {}; 7 8 categories = { 9 SOGoMailFolder = { 10 slots = { 11 toolbar = { 12 protectedBy = "View"; 13 value = "SOGoMailFolder.toolbar"; 14 }; 15 }; 16 methods = { 17 view = { 18 protectedBy = "View"; 19 actionClass = "UIxMailListActions"; 20 actionName = "getUIDs"; 21 }; 22 changes = { 23 protectedBy = "View"; 24 actionClass = "UIxMailListActions"; 25 actionName = "getChanges"; 26 }; 27 headers = { 28 protectedBy = "View"; 29 actionClass = "UIxMailListActions"; 30 actionName = "getHeaders"; 31 }; 32 subscribe = { 33 protectedBy = "View"; 34 actionClass = "UIxMailFolderActions"; 35 actionName = "subscribe"; 36 }; 37 unsubscribe = { 38 protectedBy = "View"; 39 actionClass = "UIxMailFolderActions"; 40 actionName = "unsubscribe"; 41 }; 42 quotas = { 43 protectedBy = "View"; 44 actionClass = "UIxMailFolderActions"; 45 actionName = "quotas"; 46 }; 47 expunge = { 48 protectedBy = "View"; 49 actionClass = "UIxMailFolderActions"; 50 actionName = "expunge"; 51 }; 52 createFolder = { 53 protectedBy = "View"; 54 actionClass = "UIxMailFolderActions"; 55 actionName = "createFolder"; 56 }; 57 save = { 58 protectedBy = "View"; 59 actionClass = "UIxMailFolderActions"; 60 actionName = "renameFolder"; 61 }; 62 move = { 63 protectedBy = "Change Images And Files"; 64 actionClass = "UIxMailFolderActions"; 65 actionName = "moveFolder"; 66 }; 67 delete = { 68 protectedBy = "View"; 69 actionClass = "UIxMailFolderActions"; 70 actionName = "delete"; 71 }; 72 batchDelete = { 73 protectedBy = "View"; 74 actionClass = "UIxMailFolderActions"; 75 actionName = "batchDelete"; 76 }; 77 saveMessages = { 78 protectedBy = "View"; 79 actionClass = "UIxMailFolderActions"; 80 actionName = "saveMessages"; 81 }; 82 markRead = { 83 protectedBy = "View"; 84 actionClass = "UIxMailFolderActions"; 85 actionName = "markFolderRead"; 86 }; 87 exportFolder = { 88 protectedBy = "View"; 89 actionClass = "UIxMailFolderActions"; 90 actionName = "exportFolder"; 91 }; 92 copyMessages = { 93 protectedBy = "View"; 94 actionClass = "UIxMailFolderActions"; 95 actionName = "copyMessages"; 96 }; 97 moveMessages = { 98 protectedBy = "View"; 99 actionClass = "UIxMailFolderActions"; 100 actionName = "moveMessages"; 101 }; 102 setAsDraftsFolder = { 103 protectedBy = "View"; 104 actionClass = "UIxMailFolderActions"; 105 actionName = "setAsDraftsFolder"; 106 }; 107 setAsSentFolder = { 108 protectedBy = "View"; 109 actionClass = "UIxMailFolderActions"; 110 actionName = "setAsSentFolder"; 111 }; 112 setAsTrashFolder = { 113 protectedBy = "View"; 114 actionClass = "UIxMailFolderActions"; 115 actionName = "setAsTrashFolder"; 116 }; 117 setAsJunkFolder = { 118 protectedBy = "View"; 119 actionClass = "UIxMailFolderActions"; 120 actionName = "setAsJunkFolder"; 121 }; 122 markMessagesAsJunk = { 123 protectedBy = "View"; 124 actionClass = "UIxMailFolderActions"; 125 actionName = "markMessagesAsJunk"; 126 }; 127 markMessagesAsNotJunk = { 128 protectedBy = "View"; 129 actionClass = "UIxMailFolderActions"; 130 actionName = "markMessagesAsNotJunk"; 131 }; 132 UIxMailUserRightsEditor = { 133 protectedBy = "ReadAcls"; 134 pageName = "UIxMailUserRightsEditor"; 135 }; 136 userRights = { 137 protectedBy = "ReadAcls"; 138 pageName = "UIxMailUserRightsEditor"; 139 actionName = "userRights"; 140 }; 141 saveUserRights = { 142 protectedBy = "Change Permissions"; 143 pageName = "UIxMailUserRightsEditor"; 144 actionName = "saveUserRights"; 145 }; 146 labels = { 147 protectedBy = "View"; 148 actionClass = "UIxMailFolderActions"; 149 actionName = "getLabels"; 150 }; 151 addOrRemoveLabel = { 152 protectedBy = "View"; 153 actionClass = "UIxMailFolderActions"; 154 actionName = "addOrRemoveLabel"; 155 }; 156 removeAllLabels = { 157 protectedBy = "View"; 158 actionClass = "UIxMailFolderActions"; 159 actionName = "removeAllLabels"; 160 }; 161 }; 162 }; 163 164 SOGoJunkFolder = { 165 /* just a new toolbar, other things come from SOGoMailFolder */ 166 slots = { 167 toolbar = { 168 protectedBy = "View"; 169 value = "SOGoMailFolder.toolbar"; 170 }; 171 }; 172 methods = { 173 emptyJunk = { 174 protectedBy = "View"; 175 actionClass = "UIxMailFolderActions"; 176 actionName = "emptyJunk"; 177 }; 178 }; 179 }; 180 181 SOGoTrashFolder = { 182 /* just a new toolbar, other things come from SOGoMailFolder */ 183 slots = { 184 toolbar = { 185 protectedBy = "View"; 186 value = "SOGoMailFolder.toolbar"; 187 }; 188 }; 189 methods = { 190 emptyTrash = { 191 protectedBy = "View"; 192 actionClass = "UIxMailFolderActions"; 193 actionName = "emptyTrash"; 194 }; 195 }; 196 }; 197 198 SOGoMailObject = { 199 slots = { 200 toolbar = { 201 protectedBy = "View"; 202 value = "SOGoMailObject.toolbar"; 203 }; 204 }; 205 methods = { 206 view = { 207 protectedBy = "View"; 208 pageName = "UIxMailView"; 209 actionName = "default"; 210 }; 211 sendMDN = { 212 protectedBy = "View"; 213 pageName = "UIxMailView"; 214 actionName = "sendMDN"; 215 }; 216 archiveAttachments = { 217 protectedBy = "View"; 218 pageName = "UIxMailView"; 219 actionName = "archiveAttachments"; 220 }; 221 viewsource = { 222 protectedBy = "View"; 223 actionClass = "UIxMailSourceView"; 224 actionName = "viewSource"; 225 }; 226 popupview = { 227 protectedBy = "View"; 228 pageName = "UIxMailPopupView"; 229 }; 230 junk = { 231 protectedBy = "View"; 232 actionClass = "UIxMailActions"; 233 actionName = "junk"; 234 }; 235 edit = { 236 protectedBy = "View"; 237 actionClass = "UIxMailActions"; 238 actionName = "edit"; 239 }; 240 reply = { 241 protectedBy = "View"; 242 actionClass = "UIxMailActions"; 243 actionName = "reply"; 244 }; 245 replyall = { 246 protectedBy = "View"; 247 actionClass = "UIxMailActions"; 248 actionName = "replyToAll"; 249 }; 250 forward = { 251 protectedBy = "View"; 252 actionClass = "UIxMailActions"; 253 actionName = "forward"; 254 }; 255 viewplain = { 256 protectedBy = "View"; 257 actionClass = "UIxMailActions"; 258 actionName = "viewPlain"; 259 }; 260 markMessageUncollapse = { 261 protectedBy = "View"; 262 actionClass = "UIxMailActions"; 263 actionName = "markMessageUncollapse"; 264 }; 265 markMessageCollapse = { 266 protectedBy = "View"; 267 actionClass = "UIxMailActions"; 268 actionName = "markMessageCollapse"; 269 }; 270 markMessageUnflagged = { 271 protectedBy = "View"; 272 actionClass = "UIxMailActions"; 273 actionName = "markMessageUnflagged"; 274 }; 275 markMessageFlagged = { 276 protectedBy = "View"; 277 actionClass = "UIxMailActions"; 278 actionName = "markMessageFlagged"; 279 }; 280 markMessageUnread = { 281 protectedBy = "View"; 282 actionClass = "UIxMailActions"; 283 actionName = "markMessageUnread"; 284 }; 285 markMessageRead = { 286 protectedBy = "View"; 287 actionClass = "UIxMailActions"; 288 actionName = "markMessageRead"; 289 }; 290 export = { 291 protectedBy = "View"; 292 actionClass = "UIxMailActions"; 293 actionName = "export"; 294 }; 295 }; 296 }; 297 298 SOGoMailAccounts = { 299 slots = { 300 toolbar = { 301 protectedBy = "View"; 302 value = "SOGoMailFolder.toolbar"; 303 }; 304 }; 305 methods = { 306 view = { 307 protectedBy = "View"; 308 pageName = "UIxMailMainFrame"; 309 }; 310 compose = { 311 protectedBy = "View"; 312 pageName = "UIxMailMainFrame"; 313 actionName = "compose"; 314 }; 315 foldersState = { 316 protectedBy = "View"; 317 pageName = "UIxMailMainFrame"; 318 actionName = "getFoldersState"; 319 }; 320 saveDragHandleState = { 321 protectedBy = "View"; 322 pageName = "UIxMailMainFrame"; 323 actionName = "saveDragHandleState"; 324 }; 325 saveFoldersState = { 326 protectedBy = "View"; 327 pageName = "UIxMailMainFrame"; 328 actionName = "saveFoldersState"; 329 }; 330 saveColumnsState = { 331 protectedBy = "View"; 332 pageName = "UIxMailMainFrame"; 333 actionName = "saveColumnsState"; 334 }; 335 search = { 336 protectedBy = "View"; 337 pageName = "UIxMailSearch"; 338 }; 339 unseenCount = { 340 protectedBy = "View"; 341 actionClass = "UIxMailMainFrame"; 342 actionName = "unseenCount"; 343 }; 344 mailAccounts = { 345 protectedBy = "View"; 346 actionClass = "UIxMailMainFrame"; 347 actionName = "mailAccounts"; 348 }; 349 // viewerTemplate = { 350 // protectedBy = "View"; 351 // pageName = "UIxMailViewTemplate"; 352 // }; 353 UIxMailPopupView = { 354 protectedBy = "View"; 355 pageName = "UIxMailPopupView"; 356 }; 357 UIxMailEditor = { 358 protectedBy = "View"; 359 pageName = "UIxMailEditor"; 360 }; 361 }; 362 }; 363 364 SOGoMailAccount = { 365 slots = { 366 toolbar = { 367 protectedBy = "View"; 368 value = "SOGoMailFolder.toolbar"; 369 }; 370 }; 371 methods = { 372 compose = { 373 protectedBy = "View"; 374 actionClass = "UIxMailAccountActions"; 375 actionName = "compose"; 376 }; 377 view = { 378 protectedBy = "View"; 379 actionClass = "UIxMailAccountActions"; 380 actionName = "listMailboxes"; 381 }; 382 viewAll = { 383 protectedBy = "View"; 384 actionClass = "UIxMailAccountActions"; 385 actionName = "listAllMailboxes"; 386 }; 387 subscribe = { 388 protectedBy = "Access Contents Information"; 389 pageName = "UIxMailFolderSubscriptions"; 390 }; 391 createFolder = { 392 protectedBy = "View"; 393 actionClass = "UIxMailFolderActions"; 394 actionName = "createFolder"; 395 }; 396 delegation = { 397 protectedBy = "View"; 398 pageName = "UIxMailUserDelegationEditor"; 399 }; 400 addDelegate = { 401 protectedBy = "View"; 402 actionClass = "UIxMailAccountActions"; 403 actionName = "addDelegate"; 404 }; 405 removeDelegate = { 406 protectedBy = "View"; 407 actionClass = "UIxMailAccountActions"; 408 actionName = "removeDelegate"; 409 }; 410 certificate = { 411 protectedBy = "View"; 412 actionClass = "UIxMailAccountActions"; 413 actionName = "certificate"; 414 }; 415 importCertificate = { 416 protectedBy = "Change Images And Files"; 417 actionClass = "UIxMailAccountActions"; 418 actionName = "importCertificate"; 419 }; 420 removeCertificate = { 421 protectedBy = "Change Images And Files"; 422 actionClass = "UIxMailAccountActions"; 423 actionName = "removeCertificate"; 424 }; 425 }; 426 }; 427 428 SOGoDraftObject = { 429 slots = { 430 toolbar = { 431 protectedBy = "View"; 432 value = "SOGoDraftObject.toolbar"; 433 }; 434 }; 435 methods = { 436 edit = { 437 protectedBy = "View"; 438 pageName = "UIxMailEditor"; 439 actionName = "edit"; 440 }; 441 save = { 442 protectedBy = "View"; 443 pageName = "UIxMailEditor"; 444 actionName = "save"; 445 }; 446 send = { 447 protectedBy = "View"; 448 pageName = "UIxMailEditor"; 449 actionName = "send"; 450 }; 451 delete = { 452 protectedBy = "View"; 453 actionClass = "UIxMailActions"; 454 actionName = "delete"; 455 }; 456 deleteAttachment = { 457 protectedBy = "View"; 458 actionClass = "UIxMailActions"; 459 actionName = "deleteAttachment"; 460 }; 461 }; 462 }; 463 }; 464} 465 466