BrightSide Workbench Full Report + Source Code
org.turro.dossier.kb.KnowledgeBaseList Class Reference
Inheritance diagram for org.turro.dossier.kb.KnowledgeBaseList:
Collaboration diagram for org.turro.dossier.kb.KnowledgeBaseList:

Public Member Functions

 KnowledgeBaseList (Collection collection, IContact contact)
 

Detailed Description

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

Definition at line 32 of file KnowledgeBaseList.java.

Constructor & Destructor Documentation

◆ KnowledgeBaseList()

org.turro.dossier.kb.KnowledgeBaseList.KnowledgeBaseList ( Collection  collection,
IContact  contact 
)

Definition at line 34 of file KnowledgeBaseList.java.

34  {
35  super();
36  Application app = Application.getApplication();
37  boolean show = app.isInRole("issue:show"),
38  all = app.isInRole("issue:all");
39  for(Object o : collection) {
40  IssueWrapper iw = new IssueWrapper((Issue) o, contact);
41  if(iw.getIssue().isKnowledgeBase() || (show && (all || iw.isFullParticipant()))) {
42  add(iw);
43  }
44  }
45  }
Here is the call graph for this function:

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