51 AssistantSet as =
new AssistantSet();
53 for(IDossierParticipant coordinator : coordinators) {
54 as.addContact(coordinator.getIContact(), coordinator);
57 for(IDossierParticipant responsible : responsibles) {
58 as.addContact(responsible.getIContact(), responsible);
60 for(IContact c : Contacts.getBySyndication(
"brightside_admin")) {
61 as.addContact(c,
null);
63 if(phase.anyTypeMatch(EnumSet.of(PhaseType.VOTES, PhaseType.DECISION, PhaseType.EXECUTION, PhaseType.ARCHIVE))) {
64 for(IContact c : Contacts.getBySyndication(
"patron")) {
65 as.addContact(c,
null);
68 if(phase.anyTypeMatch(EnumSet.of(PhaseType.DECISION, PhaseType.PROPOSALS, PhaseType.ARCHIVE))) {
70 for(IDossierParticipant offerer : offerers) {
71 as.addContact(offerer.getIContact(), offerer);
74 if(phase.anyTypeMatch(EnumSet.of(PhaseType.EXECUTION, PhaseType.ARCHIVE))) {
76 for(IDossierParticipant offerer : offerers) {
77 as.addContact(offerer.getIContact(), offerer);
80 if(phase.anyTypeMatch(EnumSet.of(PhaseType.INCUBATOR, PhaseType.EXECUTION, PhaseType.ARCHIVE))) {
81 for(IContact c : Contacts.getBySyndication(
"partner")) {
82 as.addContact(c,
null);
84 for(IContact c : Contacts.getBySyndication(
"collaborator_privileged")) {
85 as.addContact(c,
null);
88 if(phase.anyTypeMatch(EnumSet.of(PhaseType.INCUBATOR, PhaseType.DECISION, PhaseType.EXECUTION, PhaseType.ARCHIVE))) {
90 as.addContact(comissioners.getIContact(), comissioners);
Collection< IDossierParticipant > getCoordinators()
Collection< IDossierParticipant > getOfferers()
Collection< IDossierParticipant > getBeneficiaries()
ParticipantSet< IDossierParticipant > getFullParticipants()
List< IDossierParticipant > getDirectOwners()
DossierParticipationsList getParticipationsList()
PhaseDefinition getPhaseDefinition()