◆ AttachmentList()
| org.turro.attach.search.AttachmentList.AttachmentList |
( |
List< Attachment > |
list, |
|
|
boolean |
showAll |
|
) |
| |
Definition at line 32 of file AttachmentList.java.
33 Application app = Application.getApplication();
34 for(Attachment a : list) {
35 if(showAll || Strings.isEmpty(a.getShowKey()) ||
36 app.isInRole(
"attach-show:all") ||
37 app.isInRole(
"attach-show:" + a.getShowKey())) {
The documentation for this class was generated from the following file: