public class CoiDisclosureServiceImpl extends Object implements CoiDisclosureService
| Constructor and Description |
|---|
CoiDisclosureServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDisclosureReporterUnit(DisclosureReporter disclosureReporter,
DisclosureReporterUnit newDisclosureReporterUnit)
This method is to add a disclosure reporter unit
|
CoiDispositionStatus |
calculateMaximumDispositionStatus(CoiDisclosure coiDisclosure)
Loops through all projects and financial entities and sets the project disclosure to the maximum disposition in that project
and returns the maximum disposition status from the disclosure.
|
Integer |
calculateMaximumDispositionStatusCode(CoiDisclosure coiDisclosure) |
boolean |
checkScreeningQuestionnaireRule(CoiDisclosureDocument coiDisclosureDocument)
Check the KRMS rule designated in KRMS_SCREENING_QUESTIONNAIRE_RULE to see if the screening questionnaire rule has passed or not.
|
void |
createDisclosuresGroupedByEvent(MasterDisclosureBean masterDisclosureBean)
This method is to group all disclosures by event
|
void |
createDisclosuresGroupedByFinancialEntity(CoiDisclosure coiDisclosure,
MasterDisclosureBean masterDisclosureBean)
This method is to group all project disclosures by financial entity
|
void |
deleteDisclosureReporterUnit(DisclosureReporter disclosureReporter,
List<? extends DisclosureReporterUnit> deletedUnits,
int unitIndex)
This method is to delete a disclosure reporter unit
|
List<CoiDisclosure> |
getAllDisclosuresForUser(String personId)
return a list of all disclosures for the given user
|
protected List<SponsorHierarchy> |
getAllSponsors(String hierarchyName) |
List<Award> |
getAwards(String personId)
This method is to get a list of Award that need coi disclosure
|
CoiDisclosureDao |
getCoiDisclosureDao() |
protected CoiDisclosureProjectBean |
getCoiDisclosureProjectBean(CoiDiscDetail coiDiscDetail) |
protected CoiDisclosureProjectBean |
getCoiDisclosureProjectBean(CoiDisclProject coiDisclProject) |
CoiDisclosureUndisclosedEventsDao |
getCoiDisclosureUndisclosedEventsDao() |
CoiDisclosure |
getCurrentDisclosure() |
protected CoiDisclProject |
getCurrentProject(CoiDisclosure historyDisclosure,
List<CoiDisclProject> coiDisclProjects) |
protected CoiDiscDetail |
getCurrentProjectDetail(CoiDisclosure coiDisclosure) |
protected Integer |
getDefaultDispositionStatus(CoiDisclosure coiDisclosure) |
protected List<CoiDisclosureHistory> |
getDisclosureHistory(String coiDisclosureNumber) |
DisclosurePerson |
getDisclosureReporter(String personId,
Long coiDisclosureId)
This method is to get disclosure reporter when initiate a new disclosure.
|
List<CoiDispositionStatus> |
getDispositionStatuses(String disclosureStatusCode) |
List<IacucProtocol> |
getIacucProtocols(String personId)
This method is to get a list of protocols that need coi disclosure
|
List<InstitutionalProposal> |
getInstitutionalProposals(String personId)
This method is to get a list of Institutional Proposal that need coi disclosure
|
KrmsRulesExecutionService |
getKrmsRulesExecutionService() |
MasterDisclosureBean |
getMasterDisclosureDetail(CoiDisclosure coiDisclosure)
This method is to set up form bean to display master disclosure projects
|
MedusaService |
getMedusaService() |
List<DevelopmentProposal> |
getProposals(String personId)
This method is to get a list of PD that need coi disclosure
|
List<Protocol> |
getProtocols(String personId)
This method is to get a list of protocols that need coi disclosure
|
List<CoiDisclosureUndisclosedEvents> |
getUndisclosedEvents(Map<String,String> searchCriteria)
This method is to get a list of undisclosed events from all projects based
on search criteria.
|
List<CoiGroupedMasterDisclosureBean> |
getUndisclosedProjectsGroupedByEvent(List<CoiDisclProject> coiDisclProjects)
This method is to group undisclosed projects by event type
|
List<CoiGroupedMasterDisclosureBean> |
getUndisclosedProjectsGroupedByFinancialEntity(List<CoiDisclProject> coiDisclProjects)
This method is to group undisclosed projects by financial entity
|
void |
initDisclosureFromMasterDisclosure(CoiDisclosure coiDisclosure) |
void |
initializeDisclosureDetails(CoiDisclosure coiDisclosure)
This method is for annual disclosure to populate all FE to projects eligible for disclosure
|
void |
initializeDisclosureDetails(CoiDisclProject coiDisclProject)
This method is to initialize disclosure FE for manual project
|
void |
initializeDisclosureProject(CoiDisclosure coiDisclosure,
String projectId)
Called during a "Report Coi" instance for System Events.
|
boolean |
isReporter()
This method is to check whether this user has active projects to disclose
|
void |
populateProposalsAndAwardToCompleteDisclosure(String userId,
DisclosureHelper disclosureHelper) |
void |
resetLeadUnit(DisclosureReporter disclosureReporter)
This method is to reset the lead unit if there is lead unit change
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setCoiDisclosureDao(CoiDisclosureDao coiDisclosureDao) |
void |
setCoiDisclosureUndisclosedEventsDao(CoiDisclosureUndisclosedEventsDao coiDisclosureUndisclosedEventsDao) |
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService) |
boolean |
setDisclProjectForSave(CoiDisclosure coiDisclosure,
MasterDisclosureBean masterDisclosureBean)
This method sets up the disclosure projects and details for save
|
void |
setFinancialEntityService(FinancialEntityService financialEntityService) |
void |
setKcPersonService(KcPersonService kcPersonService) |
void |
setKrmsRulesExecutionService(KrmsRulesExecutionService krmsRulesExecutionService) |
void |
setMedusaService(MedusaService medusaService) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setProtocolFinderDao(ProtocolFinderDao protocolFinderDao) |
void |
setVersioningService(VersioningService versioningService) |
void |
updateDisclosureAndProjectDisposition(CoiDisclosure coiDisclosure) |
void |
updateDisclosureDetails(CoiDisclProject coiDisclProject)
This method is to update disclosure FE for manual project.
|
CoiDisclosure |
versionCoiDisclosure()
This method is to create new version of COI disclosure if there is disclosure exist for the reporter
|
public DisclosurePerson getDisclosureReporter(String personId, Long coiDisclosureId)
CoiDisclosureServicegetDisclosureReporter in interface CoiDisclosureServiceCoiDisclosureService.getDisclosureReporter(java.lang.String, java.lang.Long)public void addDisclosureReporterUnit(DisclosureReporter disclosureReporter, DisclosureReporterUnit newDisclosureReporterUnit)
CoiDisclosureServicepublic void deleteDisclosureReporterUnit(DisclosureReporter disclosureReporter, List<? extends DisclosureReporterUnit> deletedUnits, int unitIndex)
CoiDisclosureServicepublic void resetLeadUnit(DisclosureReporter disclosureReporter)
CoiDisclosureServiceresetLeadUnit in interface CoiDisclosureServiceCoiDisclosureService.resetLeadUnit(org.kuali.kra.coi.DisclosureReporter)public boolean setDisclProjectForSave(CoiDisclosure coiDisclosure, MasterDisclosureBean masterDisclosureBean)
CoiDisclosureServicesetDisclProjectForSave in interface CoiDisclosureServicepublic void initializeDisclosureDetails(CoiDisclosure coiDisclosure)
CoiDisclosureServiceinitializeDisclosureDetails in interface CoiDisclosureServiceCoiDisclosureService.initializeDisclosureDetails(org.kuali.kra.coi.CoiDisclosure)public void initializeDisclosureDetails(CoiDisclProject coiDisclProject)
CoiDisclosureServiceinitializeDisclosureDetails in interface CoiDisclosureServiceCoiDisclosureService.initializeDisclosureDetails(org.kuali.kra.coi.CoiDisclProject)public void updateDisclosureDetails(CoiDisclProject coiDisclProject)
CoiDisclosureServiceupdateDisclosureDetails in interface CoiDisclosureServiceCoiDisclosureService.updateDisclosureDetails(org.kuali.kra.coi.CoiDisclProject)public List<Protocol> getProtocols(String personId)
CoiDisclosureServicegetProtocols in interface CoiDisclosureServiceCoiDisclosureService.getProtocols(java.lang.String)public List<IacucProtocol> getIacucProtocols(String personId)
CoiDisclosureServicegetIacucProtocols in interface CoiDisclosureServiceCoiDisclosureService.getProtocols(java.lang.String)public List<DevelopmentProposal> getProposals(String personId)
CoiDisclosureServicegetProposals in interface CoiDisclosureServiceCoiDisclosureService.getProposals(java.lang.String)public List<InstitutionalProposal> getInstitutionalProposals(String personId)
CoiDisclosureServicegetInstitutionalProposals in interface CoiDisclosureServiceCoiDisclosureService.getInstitutionalProposals(java.lang.String)public List<Award> getAwards(String personId)
CoiDisclosureServicegetAwards in interface CoiDisclosureServiceCoiDisclosureService.getAwards(java.lang.String)public CoiDisclosure versionCoiDisclosure() throws VersionException
CoiDisclosureServiceversionCoiDisclosure in interface CoiDisclosureServiceVersionExceptionCoiDisclosureService.versionCoiDisclosure()public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
public void setKcPersonService(KcPersonService kcPersonService)
public void setFinancialEntityService(FinancialEntityService financialEntityService)
public void setProtocolFinderDao(ProtocolFinderDao protocolFinderDao)
public void setVersioningService(VersioningService versioningService)
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
protected List<SponsorHierarchy> getAllSponsors(String hierarchyName)
public boolean isReporter()
CoiDisclosureServiceisReporter in interface CoiDisclosureServicepublic MasterDisclosureBean getMasterDisclosureDetail(CoiDisclosure coiDisclosure)
CoiDisclosureServicegetMasterDisclosureDetail in interface CoiDisclosureServiceCoiDisclosureService.getMasterDisclosureDetail(org.kuali.kra.coi.CoiDisclosure)public void createDisclosuresGroupedByEvent(MasterDisclosureBean masterDisclosureBean)
CoiDisclosureServicepublic List<CoiGroupedMasterDisclosureBean> getUndisclosedProjectsGroupedByEvent(List<CoiDisclProject> coiDisclProjects)
CoiDisclosureServicegetUndisclosedProjectsGroupedByEvent in interface CoiDisclosureServiceCoiDisclosureService.getUndisclosedProjectsGroupedByEvent(java.util.List)public List<CoiGroupedMasterDisclosureBean> getUndisclosedProjectsGroupedByFinancialEntity(List<CoiDisclProject> coiDisclProjects)
CoiDisclosureServicegetUndisclosedProjectsGroupedByFinancialEntity in interface CoiDisclosureServiceCoiDisclosureService.getUndisclosedProjectsGroupedByFinancialEntity(java.util.List)public void createDisclosuresGroupedByFinancialEntity(CoiDisclosure coiDisclosure, MasterDisclosureBean masterDisclosureBean)
CoiDisclosureServicepublic void setCoiDisclosureDao(CoiDisclosureDao coiDisclosureDao)
public CoiDisclosureDao getCoiDisclosureDao()
protected List<CoiDisclosureHistory> getDisclosureHistory(String coiDisclosureNumber)
protected CoiDiscDetail getCurrentProjectDetail(CoiDisclosure coiDisclosure)
protected CoiDisclProject getCurrentProject(CoiDisclosure historyDisclosure, List<CoiDisclProject> coiDisclProjects)
protected CoiDisclosureProjectBean getCoiDisclosureProjectBean(CoiDiscDetail coiDiscDetail)
protected CoiDisclosureProjectBean getCoiDisclosureProjectBean(CoiDisclProject coiDisclProject)
public List<CoiDispositionStatus> getDispositionStatuses(String disclosureStatusCode)
getDispositionStatuses in interface CoiDisclosureServicepublic void initDisclosureFromMasterDisclosure(CoiDisclosure coiDisclosure)
initDisclosureFromMasterDisclosure in interface CoiDisclosureServicepublic CoiDisclosure getCurrentDisclosure()
getCurrentDisclosure in interface CoiDisclosureServicepublic void initializeDisclosureProject(CoiDisclosure coiDisclosure, String projectId)
initializeDisclosureProject in interface CoiDisclosureServiceCoiDisclosureService.initializeDisclosureProject(org.kuali.kra.coi.CoiDisclosure, java.lang.String)public void populateProposalsAndAwardToCompleteDisclosure(String userId, DisclosureHelper disclosureHelper)
public MedusaService getMedusaService()
public void setMedusaService(MedusaService medusaService)
public List<CoiDisclosureUndisclosedEvents> getUndisclosedEvents(Map<String,String> searchCriteria)
CoiDisclosureServicegetUndisclosedEvents in interface CoiDisclosureServiceCoiDisclosureService.getUndisclosedEvents(java.util.Map)public CoiDisclosureUndisclosedEventsDao getCoiDisclosureUndisclosedEventsDao()
public void setCoiDisclosureUndisclosedEventsDao(CoiDisclosureUndisclosedEventsDao coiDisclosureUndisclosedEventsDao)
public List<CoiDisclosure> getAllDisclosuresForUser(String personId)
CoiDisclosureServicegetAllDisclosuresForUser in interface CoiDisclosureServicepublic boolean checkScreeningQuestionnaireRule(CoiDisclosureDocument coiDisclosureDocument)
CoiDisclosureServicecheckScreeningQuestionnaireRule in interface CoiDisclosureServicepublic KrmsRulesExecutionService getKrmsRulesExecutionService()
public void setKrmsRulesExecutionService(KrmsRulesExecutionService krmsRulesExecutionService)
public Integer calculateMaximumDispositionStatusCode(CoiDisclosure coiDisclosure)
calculateMaximumDispositionStatusCode in interface CoiDisclosureServiceprotected Integer getDefaultDispositionStatus(CoiDisclosure coiDisclosure)
public CoiDispositionStatus calculateMaximumDispositionStatus(CoiDisclosure coiDisclosure)
CoiDisclosureServicecalculateMaximumDispositionStatus in interface CoiDisclosureServicepublic void updateDisclosureAndProjectDisposition(CoiDisclosure coiDisclosure)
updateDisclosureAndProjectDisposition in interface CoiDisclosureServiceCopyright © 2013 The Kuali Foundation. All Rights Reserved.