BrightSide Workbench Full Report + Source Code
org.turro.attach.search.AttachmentList Class Reference
Inheritance diagram for org.turro.attach.search.AttachmentList:
Collaboration diagram for org.turro.attach.search.AttachmentList:

Public Member Functions

 AttachmentList (List< Attachment > list, boolean showAll)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 30 of file AttachmentList.java.

Constructor & Destructor Documentation

◆ AttachmentList()

org.turro.attach.search.AttachmentList.AttachmentList ( List< Attachment list,
boolean  showAll 
)

Definition at line 32 of file AttachmentList.java.

32  {
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())) {
38  add(a);
39  }
40  }
41  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: