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

Public Member Functions

 DossierParticipationsList (Dossier dossier)
 
boolean isParticipant ()
 
boolean isParticipant (IContact contact)
 
boolean isDossierParticipant (IContact contact)
 
boolean isCategoryParticipant (IContact contact)
 
IDossierParticipant participatesAs (IContact contact, ParticipantRole participation)
 
IDossierParticipant getParticipation (IContact contact)
 
String getDiscriminator (IContact contact)
 
boolean isParticipantByDiscriminator (IContact contact, String discriminator)
 
Collection< String > getDiscriminators ()
 
Collection< IDossierParticipantgetParticipantsByDiscriminator (String discriminator)
 
HashSet< String > getParticipationStrings (IContact contact)
 
Collection< IContactgetIParticipants ()
 
boolean isRole (IContact contact, ParticipantRole role)
 
boolean isOwner (IContact contact)
 
boolean isAssistant (IContact contact)
 
boolean isSubject (IContact contact)
 
boolean isShowAllAttachments (IContact contact)
 
boolean isShowAllIssues (IContact contact)
 
boolean isShowParticipants (IContact contact)
 
boolean isReceiveAllEmails (IContact contact)
 
boolean isBindingVote (IContact contact)
 
boolean isDriver (IContact contact)
 
boolean isOfferer (IContact contact)
 
boolean isBeneficiary (IContact contact)
 
boolean isCoordinator (IContact contact)
 
boolean isSupport (IContact contact)
 
boolean isFunding (IContact contact)
 
boolean isResearch (IContact contact)
 
boolean isAdmin (IContact contact)
 
Collection< IContactgetIOwners ()
 
Collection< IContactgetIAssistants ()
 
Collection< IContactgetISubjects ()
 
Collection< IContactgetIShowAllAttachments ()
 
Collection< IContactgetIShowAllIssues ()
 
Collection< IContactgetIShowParticipants ()
 
Collection< IContactgetIReceiveAllEmails ()
 
Collection< IContactgetIBidingVote ()
 
Collection< IContactgetIDrivers ()
 
Collection< IContactgetIOfferers ()
 
Collection< IContactgetIBeneficiaries ()
 
Collection< IContactgetICoordinators ()
 
Collection< IContactgetISupport ()
 
Collection< IContactgetIFunding ()
 
Collection< IContactgetIResearch ()
 
Collection< IContactgetIAdmins ()
 
Collection< IContactgetIContactsByFunction (Predicate whatIs)
 
Collection< IDossierParticipantgetOwners ()
 
Collection< IDossierParticipantgetAssistants ()
 
Collection< IDossierParticipantgetSubjects ()
 
Collection< IDossierParticipantgetShowAllAttachments ()
 
Collection< IDossierParticipantgetShowAllIssues ()
 
Collection< IDossierParticipantgetShowParticipants ()
 
Collection< IDossierParticipantgetReceiveAllEmails ()
 
Collection< IDossierParticipantgetBidingVote ()
 
Collection< IDossierParticipantgetDrivers ()
 
Collection< IDossierParticipantgetOfferers ()
 
Collection< IDossierParticipantgetBeneficiaries ()
 
Collection< IDossierParticipantgetCoordinators ()
 
Collection< IDossierParticipantgetSupport ()
 
Collection< IDossierParticipantgetFunding ()
 
Collection< IDossierParticipantgetResearch ()
 
Collection< IDossierParticipantgetAdmins ()
 
Collection< IDossierParticipantgetByFunction (Predicate whatIs)
 

Detailed Description

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

Definition at line 44 of file DossierParticipationsList.java.

Constructor & Destructor Documentation

◆ DossierParticipationsList()

org.turro.dossier.dossier.DossierParticipationsList.DossierParticipationsList ( Dossier  dossier)

Definition at line 46 of file DossierParticipationsList.java.

46  {
47  addAll(dossier.getParticipants());
48  Category category = dossier.getCategory();
49  while(category != null) {
50  addAll(category.getParticipants());
51  category = category.getParent();
52  }
53  }
Here is the call graph for this function:

Member Function Documentation

◆ getAdmins()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getAdmins ( )

Definition at line 356 of file DossierParticipationsList.java.

356  {
357  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isAdmin());
358  }
Collection< IDossierParticipant > getByFunction(Predicate whatIs)
Here is the call graph for this function:

◆ getAssistants()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getAssistants ( )

Definition at line 298 of file DossierParticipationsList.java.

298  {
299  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) ->
300  t.getRole().equals(ParticipantRole.PARTICIPANT_ASSISTANT));
301  }
Here is the call graph for this function:

◆ getBeneficiaries()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getBeneficiaries ( )

Definition at line 336 of file DossierParticipationsList.java.

336  {
337  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isBeneficiary());
338  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBidingVote()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getBidingVote ( )

Definition at line 324 of file DossierParticipationsList.java.

324  {
325  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isBindingVote());
326  }
Here is the call graph for this function:

◆ getByFunction()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getByFunction ( Predicate  whatIs)

Definition at line 360 of file DossierParticipationsList.java.

360  {
361  ArrayList list = new ArrayList();
362  this.stream().filter((dp) -> (whatIs.test(dp))).forEachOrdered((dp) -> {
363  list.add(dp);
364  });
365  return list;
366  }
Here is the caller graph for this function:

◆ getCoordinators()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getCoordinators ( )

Definition at line 340 of file DossierParticipationsList.java.

340  {
341  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isCoordinator());
342  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDiscriminator()

String org.turro.dossier.dossier.DossierParticipationsList.getDiscriminator ( IContact  contact)

Definition at line 89 of file DossierParticipationsList.java.

89  {
90  IDossierParticipant dp = getParticipation(contact);
91  return dp != null ? dp.getDiscriminator() : null;
92  }
Here is the call graph for this function:

◆ getDiscriminators()

Collection<String> org.turro.dossier.dossier.DossierParticipationsList.getDiscriminators ( )

Definition at line 104 of file DossierParticipationsList.java.

104  {
105  Set<String> discriminators = new TreeSet<>();
106  for(Object obj : this) {
107  if(obj instanceof IDossierParticipant) {
108  IDossierParticipant dp = (IDossierParticipant) obj;
109  discriminators.add(dp.getDiscriminator() == null ? "" : dp.getDiscriminator());
110  }
111 
112  }
113  return discriminators;
114  }
Here is the call graph for this function:

◆ getDrivers()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getDrivers ( )

Definition at line 328 of file DossierParticipationsList.java.

328  {
329  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isDriver());
330  }
Here is the call graph for this function:

◆ getFunding()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getFunding ( )

Definition at line 348 of file DossierParticipationsList.java.

348  {
349  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isFunding());
350  }
Here is the call graph for this function:

◆ getIAdmins()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIAdmins ( )

Definition at line 281 of file DossierParticipationsList.java.

281  {
282  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isAdmin());
283  }
Collection< IContact > getIContactsByFunction(Predicate whatIs)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIAssistants()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIAssistants ( )

Definition at line 223 of file DossierParticipationsList.java.

223  {
224  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) ->
225  t.getRole().equals(ParticipantRole.PARTICIPANT_ASSISTANT));
226  }
Here is the call graph for this function:

◆ getIBeneficiaries()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIBeneficiaries ( )

Definition at line 261 of file DossierParticipationsList.java.

261  {
262  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isBeneficiary());
263  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIBidingVote()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIBidingVote ( )

Definition at line 249 of file DossierParticipationsList.java.

249  {
250  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isBindingVote());
251  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIContactsByFunction()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIContactsByFunction ( Predicate  whatIs)

Definition at line 285 of file DossierParticipationsList.java.

285  {
286  ContactList list = new ContactList();
287  this.stream().filter((dp) -> (whatIs.test(dp))).forEachOrdered((dp) -> {
288  list.add(dp.getIContact());
289  });
290  return list;
291  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getICoordinators()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getICoordinators ( )

Definition at line 265 of file DossierParticipationsList.java.

265  {
266  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isCoordinator());
267  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIDrivers()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIDrivers ( )

Definition at line 253 of file DossierParticipationsList.java.

253  {
254  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isDriver());
255  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIFunding()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIFunding ( )

Definition at line 273 of file DossierParticipationsList.java.

273  {
274  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isFunding());
275  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIOfferers()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIOfferers ( )

Definition at line 257 of file DossierParticipationsList.java.

257  {
258  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isOfferer());
259  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIOwners()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIOwners ( )

Definition at line 218 of file DossierParticipationsList.java.

218  {
219  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) ->
220  t.getRole().equals(ParticipantRole.PARTICIPANT_OWNER));
221  }
Here is the call graph for this function:

◆ getIParticipants()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIParticipants ( )

Definition at line 137 of file DossierParticipationsList.java.

137  {
138  ContactList list = new ContactList();
139  this.stream().map((obj) -> (IDossierParticipant) obj).forEachOrdered((dp) -> {
140  list.add(dp.getIContact());
141  });
142  return list;
143  }
Here is the call graph for this function:

◆ getIReceiveAllEmails()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIReceiveAllEmails ( )

Definition at line 245 of file DossierParticipationsList.java.

245  {
246  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isReceiveAllEmails());
247  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIResearch()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIResearch ( )

Definition at line 277 of file DossierParticipationsList.java.

277  {
278  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isResearch());
279  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIShowAllAttachments()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIShowAllAttachments ( )

Definition at line 233 of file DossierParticipationsList.java.

233  {
234  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isShowAllAttachments());
235  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIShowAllIssues()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIShowAllIssues ( )

Definition at line 237 of file DossierParticipationsList.java.

237  {
238  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isShowAllIssues());
239  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIShowParticipants()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getIShowParticipants ( )

Definition at line 241 of file DossierParticipationsList.java.

241  {
242  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isShowParticipants());
243  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getISubjects()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getISubjects ( )

Definition at line 228 of file DossierParticipationsList.java.

228  {
229  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) ->
230  t.getRole().equals(ParticipantRole.PARTICIPANT_SUBJECT));
231  }
Here is the call graph for this function:

◆ getISupport()

Collection<IContact> org.turro.dossier.dossier.DossierParticipationsList.getISupport ( )

Definition at line 269 of file DossierParticipationsList.java.

269  {
270  return getIContactsByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isSupport());
271  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOfferers()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getOfferers ( )

Definition at line 332 of file DossierParticipationsList.java.

332  {
333  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isOfferer());
334  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOwners()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getOwners ( )

Definition at line 293 of file DossierParticipationsList.java.

293  {
294  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) ->
295  t.getRole().equals(ParticipantRole.PARTICIPANT_OWNER));
296  }
Here is the call graph for this function:

◆ getParticipantsByDiscriminator()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getParticipantsByDiscriminator ( String  discriminator)

Definition at line 116 of file DossierParticipationsList.java.

116  {
117  Set<IDossierParticipant> participants = new ParticipantSet<>();
118  for(IDossierParticipant dp : this) {
119  if((Strings.isBlank(discriminator) && Strings.isBlank(dp.getDiscriminator())) ||
120  discriminator.equals(dp.getDiscriminator())) {
121  participants.add(dp);
122  }
123  }
124  return participants;
125  }
Here is the call graph for this function:

◆ getParticipation()

IDossierParticipant org.turro.dossier.dossier.DossierParticipationsList.getParticipation ( IContact  contact)

Definition at line 80 of file DossierParticipationsList.java.

80  {
81  for(IDossierParticipant dp : this) {
82  if(!dp.getRole().equals(ParticipantRole.PARTICIPANT_SUBJECT) && dp.getIdContact().equals(contact.getId())) {
83  return dp;
84  }
85  }
86  return null;
87  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getParticipationStrings()

HashSet<String> org.turro.dossier.dossier.DossierParticipationsList.getParticipationStrings ( IContact  contact)

Definition at line 127 of file DossierParticipationsList.java.

127  {
128  HashSet<String> set = new HashSet<>();
129  for(IDossierParticipant dp : this) {
130  set.addAll(RoleUtil.getStringRoles(dp));
131  }
132  return set;
133  }
Here is the call graph for this function:

◆ getReceiveAllEmails()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getReceiveAllEmails ( )

Definition at line 320 of file DossierParticipationsList.java.

320  {
321  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isReceiveAllEmails());
322  }
Here is the call graph for this function:

◆ getResearch()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getResearch ( )

Definition at line 352 of file DossierParticipationsList.java.

352  {
353  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isResearch());
354  }
Here is the call graph for this function:

◆ getShowAllAttachments()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getShowAllAttachments ( )

Definition at line 308 of file DossierParticipationsList.java.

308  {
309  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isShowAllAttachments());
310  }
Here is the call graph for this function:

◆ getShowAllIssues()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getShowAllIssues ( )

Definition at line 312 of file DossierParticipationsList.java.

312  {
313  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isShowAllIssues());
314  }
Here is the call graph for this function:

◆ getShowParticipants()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getShowParticipants ( )

Definition at line 316 of file DossierParticipationsList.java.

316  {
317  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isShowParticipants());
318  }
Here is the call graph for this function:

◆ getSubjects()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getSubjects ( )

Definition at line 303 of file DossierParticipationsList.java.

303  {
304  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) ->
305  t.getRole().equals(ParticipantRole.PARTICIPANT_SUBJECT));
306  }
Here is the call graph for this function:

◆ getSupport()

Collection<IDossierParticipant> org.turro.dossier.dossier.DossierParticipationsList.getSupport ( )

Definition at line 344 of file DossierParticipationsList.java.

344  {
345  return getByFunction((Predicate<IDossierParticipant>) (IDossierParticipant t) -> t.isSupport());
346  }
Here is the call graph for this function:

◆ isAdmin()

boolean org.turro.dossier.dossier.DossierParticipationsList.isAdmin ( IContact  contact)

Definition at line 214 of file DossierParticipationsList.java.

214  {
215  return getIAdmins().contains(getContact(contact));
216  }
Here is the call graph for this function:

◆ isAssistant()

boolean org.turro.dossier.dossier.DossierParticipationsList.isAssistant ( IContact  contact)

Definition at line 158 of file DossierParticipationsList.java.

158  {
159  return isRole(contact, ParticipantRole.PARTICIPANT_ASSISTANT);
160  }
boolean isRole(IContact contact, ParticipantRole role)
Here is the call graph for this function:

◆ isBeneficiary()

boolean org.turro.dossier.dossier.DossierParticipationsList.isBeneficiary ( IContact  contact)

Definition at line 194 of file DossierParticipationsList.java.

194  {
195  return getIBeneficiaries().contains(getContact(contact));
196  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isBindingVote()

boolean org.turro.dossier.dossier.DossierParticipationsList.isBindingVote ( IContact  contact)

Definition at line 182 of file DossierParticipationsList.java.

182  {
183  return getIBidingVote().contains(getContact(contact));
184  }
Here is the call graph for this function:

◆ isCategoryParticipant()

boolean org.turro.dossier.dossier.DossierParticipationsList.isCategoryParticipant ( IContact  contact)

Definition at line 67 of file DossierParticipationsList.java.

67  {
68  return getParticipation(contact) instanceof CategoryParticipant;
69  }
Here is the call graph for this function:

◆ isCoordinator()

boolean org.turro.dossier.dossier.DossierParticipationsList.isCoordinator ( IContact  contact)

Definition at line 198 of file DossierParticipationsList.java.

198  {
199  return getICoordinators().contains(getContact(contact));
200  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isDossierParticipant()

boolean org.turro.dossier.dossier.DossierParticipationsList.isDossierParticipant ( IContact  contact)

Definition at line 63 of file DossierParticipationsList.java.

63  {
64  return getParticipation(contact) instanceof Participant;
65  }
Here is the call graph for this function:

◆ isDriver()

boolean org.turro.dossier.dossier.DossierParticipationsList.isDriver ( IContact  contact)

Definition at line 186 of file DossierParticipationsList.java.

186  {
187  return getIDrivers().contains(getContact(contact));
188  }
Here is the call graph for this function:

◆ isFunding()

boolean org.turro.dossier.dossier.DossierParticipationsList.isFunding ( IContact  contact)

Definition at line 206 of file DossierParticipationsList.java.

206  {
207  return getIFunding().contains(getContact(contact));
208  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOfferer()

boolean org.turro.dossier.dossier.DossierParticipationsList.isOfferer ( IContact  contact)

Definition at line 190 of file DossierParticipationsList.java.

190  {
191  return getIOfferers().contains(getContact(contact));
192  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isOwner()

boolean org.turro.dossier.dossier.DossierParticipationsList.isOwner ( IContact  contact)

Definition at line 154 of file DossierParticipationsList.java.

154  {
155  return isRole(contact, ParticipantRole.PARTICIPANT_OWNER);
156  }
Here is the call graph for this function:

◆ isParticipant() [1/2]

boolean org.turro.dossier.dossier.DossierParticipationsList.isParticipant ( )

Definition at line 55 of file DossierParticipationsList.java.

55  {
56  return isParticipant(getContact(null));
57  }

◆ isParticipant() [2/2]

boolean org.turro.dossier.dossier.DossierParticipationsList.isParticipant ( IContact  contact)

Definition at line 59 of file DossierParticipationsList.java.

59  {
60  return getParticipation(contact) != null;
61  }
Here is the call graph for this function:

◆ isParticipantByDiscriminator()

boolean org.turro.dossier.dossier.DossierParticipationsList.isParticipantByDiscriminator ( IContact  contact,
String  discriminator 
)

Definition at line 94 of file DossierParticipationsList.java.

94  {
95  for(IDossierParticipant dp : this) {
96  if(dp != null && !Strings.isBlank(discriminator) && discriminator.equalsIgnoreCase(dp.getDiscriminator())
97  && dp.getIdContact().equals(contact.getId())) {
98  return true;
99  }
100  }
101  return false;
102  }
Here is the call graph for this function:

◆ isReceiveAllEmails()

boolean org.turro.dossier.dossier.DossierParticipationsList.isReceiveAllEmails ( IContact  contact)

Definition at line 178 of file DossierParticipationsList.java.

178  {
179  return getIReceiveAllEmails().contains(getContact(contact));
180  }
Here is the call graph for this function:

◆ isResearch()

boolean org.turro.dossier.dossier.DossierParticipationsList.isResearch ( IContact  contact)

Definition at line 210 of file DossierParticipationsList.java.

210  {
211  return getIResearch().contains(getContact(contact));
212  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isRole()

boolean org.turro.dossier.dossier.DossierParticipationsList.isRole ( IContact  contact,
ParticipantRole  role 
)

Definition at line 145 of file DossierParticipationsList.java.

145  {
146  for(IDossierParticipant dp : this) {
147  if(dp.getIdContact().equals(contact.getId()) && dp.getRole().equals(role)) {
148  return true;
149  }
150  }
151  return false;
152  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isShowAllAttachments()

boolean org.turro.dossier.dossier.DossierParticipationsList.isShowAllAttachments ( IContact  contact)

Definition at line 166 of file DossierParticipationsList.java.

166  {
167  return getIShowAllAttachments().contains(getContact(contact));
168  }
Here is the call graph for this function:

◆ isShowAllIssues()

boolean org.turro.dossier.dossier.DossierParticipationsList.isShowAllIssues ( IContact  contact)

Definition at line 170 of file DossierParticipationsList.java.

170  {
171  return getIShowAllIssues().contains(getContact(contact));
172  }
Here is the call graph for this function:

◆ isShowParticipants()

boolean org.turro.dossier.dossier.DossierParticipationsList.isShowParticipants ( IContact  contact)

Definition at line 174 of file DossierParticipationsList.java.

174  {
175  return getIShowParticipants().contains(getContact(contact));
176  }
Here is the call graph for this function:

◆ isSubject()

boolean org.turro.dossier.dossier.DossierParticipationsList.isSubject ( IContact  contact)

Definition at line 162 of file DossierParticipationsList.java.

162  {
163  return isRole(contact, ParticipantRole.PARTICIPANT_SUBJECT);
164  }
Here is the call graph for this function:

◆ isSupport()

boolean org.turro.dossier.dossier.DossierParticipationsList.isSupport ( IContact  contact)

Definition at line 202 of file DossierParticipationsList.java.

202  {
203  return getISupport().contains(getContact(contact));
204  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ participatesAs()

IDossierParticipant org.turro.dossier.dossier.DossierParticipationsList.participatesAs ( IContact  contact,
ParticipantRole  participation 
)

Definition at line 71 of file DossierParticipationsList.java.

71  {
72  for(IDossierParticipant dp : this) {
73  if(dp.getRole().equals(participation) && dp.getIdContact().equals(getContact(contact).getId())) {
74  return dp;
75  }
76  }
77  return null;
78  }
Here is the call graph for this function:

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