public interface CoiDisclosureService
| 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 userId)
return a list of all disclosures for the given user
|
List<Award> |
getAwards(String personId)
This method is to get a list of Award that need coi disclosure
|
CoiDisclosure |
getCurrentDisclosure() |
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
|
MasterDisclosureBean |
getMasterDisclosureDetail(CoiDisclosure coiDisclosure)
This method is to set up form bean to display master disclosure projects
|
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)
This method sets up a disclosure project and its corresponding details
|
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
|
boolean |
setDisclProjectForSave(CoiDisclosure coiDisclosure,
MasterDisclosureBean masterDisclosureBean)
This method sets up the disclosure projects and details for save
|
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
|
DisclosurePerson getDisclosureReporter(String personId, Long coiDisclosureId)
personId - coiDisclosureId - void addDisclosureReporterUnit(DisclosureReporter disclosureReporter, DisclosureReporterUnit newDisclosureReporterUnit)
disclosureReporter - newDisclosureReporterUnit - void deleteDisclosureReporterUnit(DisclosureReporter disclosureReporter, List<? extends DisclosureReporterUnit> deletedUnits, int unitIndex)
disclosureReporter - deletedUnits - unitIndex - void resetLeadUnit(DisclosureReporter disclosureReporter)
disclosureReporter - void initializeDisclosureDetails(CoiDisclosure coiDisclosure)
coiDisclosure - void initializeDisclosureDetails(CoiDisclProject coiDisclProject)
coiDisclProject - void updateDisclosureDetails(CoiDisclProject coiDisclProject)
coiDisclProject - CoiDisclosure versionCoiDisclosure() throws VersionException
VersionExceptionList<Protocol> getProtocols(String personId)
personId - List<IacucProtocol> getIacucProtocols(String personId)
personId - List<DevelopmentProposal> getProposals(String personId)
personId - List<Award> getAwards(String personId)
personId - List<InstitutionalProposal> getInstitutionalProposals(String personId)
personId - boolean isReporter()
MasterDisclosureBean getMasterDisclosureDetail(CoiDisclosure coiDisclosure)
coiDisclosure - List<CoiDispositionStatus> getDispositionStatuses(String disclosureStatusCode)
void initDisclosureFromMasterDisclosure(CoiDisclosure coiDisclosure)
void initializeDisclosureProject(CoiDisclosure coiDisclosure, String projectId)
coiDisclosure - projectId - boolean setDisclProjectForSave(CoiDisclosure coiDisclosure, MasterDisclosureBean masterDisclosureBean)
coiDisclosure - masterDisclosureBean - CoiDisclosure getCurrentDisclosure()
void populateProposalsAndAwardToCompleteDisclosure(String userId, DisclosureHelper disclosureHelper)
void createDisclosuresGroupedByFinancialEntity(CoiDisclosure coiDisclosure, MasterDisclosureBean masterDisclosureBean)
coiDisclosure - masterDisclosureBean - void createDisclosuresGroupedByEvent(MasterDisclosureBean masterDisclosureBean)
masterDisclosureBean - List<CoiDisclosure> getAllDisclosuresForUser(String userId)
boolean checkScreeningQuestionnaireRule(CoiDisclosureDocument coiDisclosureDocument)
List<CoiDisclosureUndisclosedEvents> getUndisclosedEvents(Map<String,String> searchCriteria)
searchCriteria - CoiDispositionStatus calculateMaximumDispositionStatus(CoiDisclosure coiDisclosure)
coiDisclosure - Integer calculateMaximumDispositionStatusCode(CoiDisclosure coiDisclosure)
void updateDisclosureAndProjectDisposition(CoiDisclosure coiDisclosure)
List<CoiGroupedMasterDisclosureBean> getUndisclosedProjectsGroupedByEvent(List<CoiDisclProject> coiDisclProjects)
coiDisclProjects - List<CoiGroupedMasterDisclosureBean> getUndisclosedProjectsGroupedByFinancialEntity(List<CoiDisclProject> coiDisclProjects)
coiDisclProjects - Copyright © 2013 The Kuali Foundation. All Rights Reserved.