public abstract class CommitteeServiceImplBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>,PS extends ProtocolSubmissionBase,CSM extends CommitteeScheduleMinuteBase<CSM,CS>> extends Object implements CommitteeServiceBase<CMT,CS>
| Constructor and Description |
|---|
CommitteeServiceImplBase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCommitteeResearchArea(CMT committee,
ResearchAreaBase researchArea)
Add a research area to the committee.
|
void |
addResearchAreas(CMT committee,
Collection<ResearchAreaBase> researchAreas)
Add the research areas to the committee.
|
protected List<CS> |
copySchedules(List<CS> newSchedules,
List<CS> oldSchedules) |
List<org.kuali.rice.core.api.util.KeyValue> |
getAvailableCommitteeDates(String committeeId)
Get the valid upcoming committee dates for scheduling a protocol.
|
List<CommitteeMembershipBase> |
getAvailableMembers(String committeeId,
String scheduleId)
Get the active members scheduled for a future meeting (schedule) in a committee.
|
List<CommitteeMembershipBase> |
getAvailableMembersNow(String committeeId)
Get the active members in a committee.
|
protected Calendar |
getCalendar(Date date) |
protected abstract Class<CMT> |
getCommitteeBOClassHook() |
CMT |
getCommitteeById(String committeeId)
Retrieve a committee from the database based upon its CommitteeBase ID.
|
CS |
getCommitteeSchedule(CMT committee,
String scheduleId)
Get the committee schedule.
|
protected CS |
getCopiedSchedule(CS schedule) |
protected String |
getDescription(CS schedule)
Get the date/place/time description that will be displayed in
the drop-down menu for the user.
|
protected abstract CommitteeResearchAreaBase |
getNewCommitteeResearchAreaInstanceHook() |
protected CS |
getNewCommitteeSchedule(CS schedule,
List<CS> schedules) |
protected boolean |
hasResearchArea(CMT committee,
ResearchAreaBase researchArea)
Does the committee already have this research area?
|
protected boolean |
isInNewCommittee(CS schedule,
List<CS> schedules) |
protected boolean |
isMemberAvailable(CommitteeMembershipBase member,
Date scheduledDate)
Is the member available for the given schedule meeting date?
The member must have a role for that date.
|
protected boolean |
isNotEmptyData(CS schedule) |
protected boolean |
isOkayToScheduleReview(CMT committee,
CS schedule)
Is it OK to schedule a review for the given committee and schedule?
|
protected boolean |
isScheduleDateMatched(CS schedule,
List<CS> schedules) |
List<CS> |
mergeCommitteeSchedule(String committeeId)
This method to merge existing meeting data to the new approved committee.
|
protected void |
setActItemId(CommScheduleActItemBase actItem,
List<CSM> minutes) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Set the Business Object Service.
|
void |
setSequenceAccessorService(org.kuali.rice.krad.service.SequenceAccessorService sequenceAccessorService) |
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - the Business Object Servicepublic CMT getCommitteeById(String committeeId)
CommitteeServiceBasegetCommitteeById in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>committeeId - the committee IDCommitteeServiceBase.getCommitteeById(java.lang.String)public void addResearchAreas(CMT committee, Collection<ResearchAreaBase> researchAreas)
CommitteeServiceBaseaddResearchAreas in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>committee - the committee to add toresearchAreas - the research areas to addorg.kuali.kra.common.committee.service.CommitteeServiceBase#addResearchAreas(org.kuali.kra.common.committee.bo.CMT,
java.util.Collection)protected boolean hasResearchArea(CMT committee, ResearchAreaBase researchArea)
committee - researchArea - protected void addCommitteeResearchArea(CMT committee, ResearchAreaBase researchArea)
committee - researchArea - protected abstract CommitteeResearchAreaBase getNewCommitteeResearchAreaInstanceHook()
public List<org.kuali.rice.core.api.util.KeyValue> getAvailableCommitteeDates(String committeeId)
CommitteeServiceBasegetAvailableCommitteeDates in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>CommitteeServiceBase.getAvailableCommitteeDates(java.lang.String)protected boolean isOkayToScheduleReview(CMT committee, CS schedule)
committee - schedule - protected String getDescription(CS schedule)
schedule - public List<CommitteeMembershipBase> getAvailableMembers(String committeeId, String scheduleId)
CommitteeServiceBasegetAvailableMembers in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>committeeId - the committee's idscheduleId - the schedule's idCommitteeServiceBase.getAvailableMembers(java.lang.String, java.lang.String)public List<CommitteeMembershipBase> getAvailableMembersNow(String committeeId)
CommitteeServiceBasegetAvailableMembersNow in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>committeeId - the committee's idCommitteeServiceBase.getAvailableMembers(java.lang.String, java.lang.String)protected boolean isMemberAvailable(CommitteeMembershipBase member, Date scheduledDate)
member - the memberscheduledDate - the date of the meetingpublic CS getCommitteeSchedule(CMT committee, String scheduleId)
CommitteeServiceBasegetCommitteeSchedule in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>committee - the committee to searchscheduleId - the id of the schedule to findCommitteeServiceBase.getCommitteeSchedule(org.kuali.kra.common.committee.bo.CommitteeBase, java.lang.String)public List<CS> mergeCommitteeSchedule(String committeeId)
CommitteeServiceBasemergeCommitteeSchedule in interface CommitteeServiceBase<CMT extends CommitteeBase<CMT,?,CS>,CS extends CommitteeScheduleBase<CS,CMT,PS,CSM>>CommitteeServiceBase.mergeCommitteeSchedule(java.lang.String)protected boolean isNotEmptyData(CS schedule)
protected void setActItemId(CommScheduleActItemBase actItem, List<CSM> minutes)
public void setSequenceAccessorService(org.kuali.rice.krad.service.SequenceAccessorService sequenceAccessorService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.