1 package org.kuali.kpme.edo.service;
2
3
4
5 import org.kuali.kpme.edo.candidate.delegate.EdoCandidateDelegate;
6 import org.kuali.kpme.edo.candidate.delegate.EdoChairDelegate;
7 import org.kuali.kpme.edo.candidate.guest.EdoCandidateGuest;
8
9 import java.math.BigDecimal;
10 import java.util.Date;
11 import java.util.List;
12 import java.util.Map;
13
14
15
16 public interface MaintenanceService {
17
18 public boolean saveDelegateForCandidate(String emplid, Date startDate, Date endDate, String facultyId, String roleName);
19 public boolean updateDelegateForCandidate(String emplid, Date startDate, Date endDate, String facultyId, String roleName);
20 public boolean expireAllDelegatesForCandidate(String facultyId);
21 public boolean deleteCandidateDelegate(String emplId, String facultyId, String roleName);
22 public boolean deleteGuestForCandidateDossier(String guestId, String dossierId);
23 public boolean saveGuestForDossierId(String emplid, Date startDate, Date endDate, BigDecimal dossierId);
24 public boolean hasCandidateRole(String emplid);
25 public boolean hasChairRole(String emplid);
26 public boolean hasSuperUserRole(String emplid);
27 public boolean hasCandidateRole_W(String emplid);
28 public boolean hasChairRole_W(String emplid);
29 public boolean hasSuperUserRole_W(String emplid);
30
31 public List<String> getDelegatesCandidateList(String delegateEmplid);
32 public Map<String, String> getCandidateDelegates(String emplid, String roleName);
33 public List<String> getCandidateDelegatesEmplIds(String emplid, String roleName);
34 public List<EdoCandidateGuest> getCandidateGuests(String emplid);
35 public List<String> getCandidateExistingGuests(BigDecimal dossierId);
36 public List<String> getGuestDossierList(String guestEmplid);
37
38 public List<EdoCandidateDelegate> getCandidateDelegateInfo(String emplid, String roleName);
39 public List<EdoChairDelegate> getChairDelegateInfo(String emplid, String roleName);
40
41 public List<String> getChairDelegatesEmplIds(String emplid, String roleName);
42 public List<String> getChairListForDelegate(String chairDelegateEmplid);
43 public boolean saveDelegateForChair(String emplid, Date startDate, Date endDate, String facultyId, String roleName);
44 public boolean deleteChairDelegate(String emplId, String facultyId, String roleName);
45 public List<String> getSecondUnitReviewerDossierList(String secondUnitRevEmplid);
46 public List<String> getCandidateSecondaryUnitReviewers(BigDecimal dossierId);
47
48
49 }