public class SpecialReviewServiceImpl extends Object implements SpecialReviewService
| Modifier and Type | Field and Description |
|---|---|
static String |
NEW_SPECIAL_REVIEW_COMMENT |
| Constructor and Description |
|---|
SpecialReviewServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addProtocolFundingSourceForSpecialReview(String protocolNumber,
String fundingSourceNumber,
String fundingSourceTypeCode,
String fundingSourceName,
String fundingSourceTitle)
Creates a Protocol Funding Source from a Special Review contained in either an Institutional Proposal or Award and adds it to the Protocol.
|
void |
addSpecialReviewForProtocolFundingSource(String fundingSourceNumber,
String fundingSourceTypeCode,
String protocolNumber,
Date applicationDate,
Date approvalDate,
Date expirationDate,
List<String> exemptionTypeCodes)
Creates an Institutional Proposal or Award Special Review based on the given Protocol and adds it to the specified Institutional Proposal or Award.
|
void |
deleteProtocolFundingSourceForSpecialReview(String protocolNumber,
String fundingSourceNumber,
String fundingSourceTypeCode)
Deletes the Protocol Funding Sources associated with the Special Review being deleted.
|
void |
deleteSpecialReviewForProtocolFundingSource(String fundingSourceNumber,
String fundingSourceTypeCode,
String protocolNumber)
Deletes the Institutional Proposal Special Review associated with the Protocol Funding Source being deleted.
|
AwardService |
getAwardService() |
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
org.kuali.rice.krad.service.DocumentService |
getDocumentService() |
IacucProtocolFinderDao |
getIacucProtocolFinderDao() |
InstitutionalProposalService |
getInstitutionalProposalService() |
ProtocolFinderDao |
getProtocolFinderDao() |
int |
getProtocolIndex(String prefix)
Gets the index of the protocol included in the prefix string.
|
String |
getProtocolSaveLocationPrefix(Map<String,String[]> parameters)
Gets the save location prefix string before the protocol number included in the parameter map.
|
String |
getViewSpecialReviewProtocolRouteHeaderId(String protocolNumber)
Gets the route header id of the document represented by the given protocolNumber.
|
String |
getViewSpecialReviewProtocolRouteHeaderId(String protocolNumber,
String specialReviewTypeCode)
Gets the route header id of the document represented by the given protocolNumber.
|
boolean |
isLinkedToProtocolFundingSource(String protocolNumber,
String fundingSourceNumber,
String fundingSourceTypeCode)
Determines whether the given Protocol contains a Funding Source linking to the Institutional Proposal or Award corresponding to the given number.
|
boolean |
isLinkedToSpecialReview(String fundingSourceNumber,
String fundingSourceTypeCode,
String protocolNumber)
Determines whether the given Institutional Proposal or Award Protocol contains a Special Review linking to the given protocol number.
|
void |
setAwardService(AwardService awardService) |
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService) |
void |
setDocumentService(org.kuali.rice.krad.service.DocumentService documentService) |
void |
setIacucProtocolFinderDao(IacucProtocolFinderDao iacucProtocolFinderDao) |
void |
setInstitutionalProposalService(InstitutionalProposalService institutionalProposalService) |
void |
setProtocolFinderDao(ProtocolFinderDao protocolFinderDao) |
public static final String NEW_SPECIAL_REVIEW_COMMENT
public String getProtocolSaveLocationPrefix(Map<String,String[]> parameters)
This prefix can either be specialReviewHelper.newSpecialReview for a new Special Review or a string similar to
document.protocolList[0].specialReviews[0] for an existing Special Review.
getProtocolSaveLocationPrefix in interface SpecialReviewServiceparameters - The parameters from the requestSpecialReviewService.getProtocolSaveLocationPrefix(java.util.Map)public int getProtocolIndex(String prefix)
document.protocolList[0].specialReviews[0], or else the method will return -1.getProtocolIndex in interface SpecialReviewServiceprefix - The prefix string in the form document.protocolList[0].specialReviews[0]SpecialReviewService.getProtocolIndex(java.lang.String)public String getViewSpecialReviewProtocolRouteHeaderId(String protocolNumber) throws Exception
getViewSpecialReviewProtocolRouteHeaderId in interface SpecialReviewServiceprotocolNumber - The number of the protocolExceptionSpecialReviewService.getViewSpecialReviewProtocolRouteHeaderId(java.lang.String)public String getViewSpecialReviewProtocolRouteHeaderId(String protocolNumber, String specialReviewTypeCode) throws Exception
getViewSpecialReviewProtocolRouteHeaderId in interface SpecialReviewServiceprotocolNumber - The number of the protocolspecialReviewTypeCode - for the protocolExceptionSpecialReviewService.getViewSpecialReviewProtocolRouteHeaderId(java.lang.String, java.lang.String)public boolean isLinkedToProtocolFundingSource(String protocolNumber, String fundingSourceNumber, String fundingSourceTypeCode)
isLinkedToProtocolFundingSource in interface SpecialReviewServiceprotocolNumber - The number of the Protocol in which to check for the Funding SourcefundingSourceNumber - The number of the Institutional Proposal or Award to check forfundingSourceTypeCode - The type code (for either Institutional Proposal or Award) to check forSpecialReviewService.isLinkedToProtocolFundingSource(java.lang.String, java.lang.String,
java.lang.String)public boolean isLinkedToSpecialReview(String fundingSourceNumber, String fundingSourceTypeCode, String protocolNumber)
isLinkedToSpecialReview in interface SpecialReviewServicefundingSourceNumber - The number of the Institutional Proposal or Award in which to check for the Special ReviewfundingSourceTypeCode - The type code (for either Institutional Proposal or Award) in which to check for the Special ReviewprotocolNumber - The number of the Protocol to check forSpecialReviewService.isLinkedToSpecialReview(java.lang.String, java.lang.String, java.lang.String)public void addProtocolFundingSourceForSpecialReview(String protocolNumber, String fundingSourceNumber, String fundingSourceTypeCode, String fundingSourceName, String fundingSourceTitle)
addProtocolFundingSourceForSpecialReview in interface SpecialReviewServiceprotocolNumber - The number of the Protocol to which to add the new Funding SourcefundingSourceNumber - The human-readable number of the Institutional Proposal or Award in which the Special Review is added/savedfundingSourceTypeCode - The type code (for either Institutional Proposal or Award) of the entity in which the Special Review is added/savedfundingSourceName - The name of the Institutional Proposal or Award in which the Special Review is added/savedfundingSourceTitle - The title of the Institutional Proposal or Award in which the Special Review is added/savedSpecialReviewService.addProtocolFundingSourceForSpecialReview(java.lang.String, java.lang.String,
java.lang.String, java.lang.String, java.lang.String)public void deleteProtocolFundingSourceForSpecialReview(String protocolNumber, String fundingSourceNumber, String fundingSourceTypeCode)
deleteProtocolFundingSourceForSpecialReview in interface SpecialReviewServiceprotocolNumber - The number of the Protocol to which to delete the Funding SourcesfundingSourceNumber - The number of the Institutional Proposal or Award in which the Special Review is deletedfundingSourceTypeCode - The type code (for either Institutional Proposal or Award) of the entity in which the Special Review is deletedSpecialReviewService.deleteProtocolFundingSourceForSpecialReview(java.lang.String, java.lang.String,
java.lang.String)public void addSpecialReviewForProtocolFundingSource(String fundingSourceNumber, String fundingSourceTypeCode, String protocolNumber, Date applicationDate, Date approvalDate, Date expirationDate, List<String> exemptionTypeCodes)
addSpecialReviewForProtocolFundingSource in interface SpecialReviewServicefundingSourceNumber - The number of the Institutional Proposal or AwardfundingSourceTypeCode - The type code (for either Institutional Proposal or Award)protocolNumber - The number of the given ProtocolapplicationDate - The application date (submission date) of the given ProtocolapprovalDate - The approval date of the given ProtocolexpirationDate - The expiration date of the given ProtocolexemptionTypeCodes - The exemption type codes of the given ProtocolSpecialReviewService.addSpecialReviewForProtocolFundingSource(java.lang.String, java.lang.String,
java.lang.String, java.sql.Date, java.sql.Date, java.sql.Date, java.util.List)public void deleteSpecialReviewForProtocolFundingSource(String fundingSourceNumber, String fundingSourceTypeCode, String protocolNumber)
deleteSpecialReviewForProtocolFundingSource in interface SpecialReviewServicefundingSourceNumber - The number of the Institutional Proposal or Award to which to delete the Special ReviewfundingSourceTypeCode - The type code (for either Institutional Proposal or Award) to which to delete the Special ReviewprotocolNumber - The number of the Protocol in which the Funding Source is deletedSpecialReviewService.deleteSpecialReviewForProtocolFundingSource(java.lang.String, java.lang.String,
java.lang.String)public AwardService getAwardService()
public void setAwardService(AwardService awardService)
public InstitutionalProposalService getInstitutionalProposalService()
public void setInstitutionalProposalService(InstitutionalProposalService institutionalProposalService)
public IacucProtocolFinderDao getIacucProtocolFinderDao()
public void setIacucProtocolFinderDao(IacucProtocolFinderDao iacucProtocolFinderDao)
public ProtocolFinderDao getProtocolFinderDao()
public void setProtocolFinderDao(ProtocolFinderDao protocolFinderDao)
public org.kuali.rice.krad.service.DocumentService getDocumentService()
public void setDocumentService(org.kuali.rice.krad.service.DocumentService documentService)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.