use of org.estatio.module.capex.dom.project.ProjectRole in project estatio by estatio.
the class PartyRoleMemberInferenceServiceForProjectRoleAndIncomingInvoice method doInferMembersOf.
@Override
protected List<Person> doInferMembersOf(final ProjectRoleTypeEnum roleType, final IncomingInvoice incomingInvoice) {
final Project project = inferProject(incomingInvoice);
if (project == null) {
// can't go any further
return null;
}
final List<ProjectRole> projectRoles = projectRoleRepository.findByProject(project);
return currentPersonsFor(projectRoles);
}
Aggregations