T - Special Reviewpublic abstract class SpecialReviewHelperBase<T extends SpecialReview<? extends SpecialReviewExemption>> extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static String |
IACUC_NAMESPACE_CODE
Namespace code for IACUC Protocol linking parameters.
|
protected static String |
NAMESPACE_CODE
Namespace code for Protocol linking parameters.
|
protected static String |
PARAMETER_CODE
Parameter code for Protocol linking parameters.
|
| Constructor and Description |
|---|
SpecialReviewHelperBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCanModifySpecialReview() |
IacucProtocolSpecialReviewService |
getIacucProtocolSpecialReviewService() |
boolean |
getIsIacucProtocolLinkingEnabled() |
boolean |
getIsIrbProtocolLinkingEnabled() |
protected Protocol |
getLastApprovedProtocol(String protocolNumber)
Gets the last approved Protocol, ignoring any amendments or renewals.
|
List<String> |
getLinkedProtocolNumbers() |
T |
getNewSpecialReview() |
org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
protected DevelopmentProposal |
getPropososalDevelopment(String proposalNumber)
This method gets a DevelopmentProposal object based on the proposalNumber
|
ProtocolFinderDao |
getProtocolFinderDao() |
ProtocolSpecialReviewService |
getProtocolSpecialReviewService() |
protected abstract List<T> |
getSpecialReviews()
Get the existing saved Special Reviews from the form.
|
SpecialReviewService |
getSpecialReviewService() |
protected abstract boolean |
hasModifySpecialReviewPermission(String principalId)
Can the current user modify Special Review?
|
protected abstract boolean |
isCanCreateIacucProtocol() |
protected abstract boolean |
isCanCreateIrbProtocol() |
protected abstract boolean |
isIacucProtocolLinkingEnabledForModule()
Is the Iacuc Protocol linking parameter enabled for this module?
|
protected abstract boolean |
isIrbProtocolLinkingEnabledForModule()
Is the Protocol linking parameter enabled for this module?
|
void |
prepareProtocolLinkViewFields(T specialReview)
Prepares the linked fields on the Special Review that are pulled directly from the Protocol and not from the local object.
|
void |
prepareView()
Prepares the user view by initializing the permissions.
|
void |
setIacucProtocolSpecialReviewService(IacucProtocolSpecialReviewService iacucProtocolSpecialReviewService) |
void |
setLinkedProtocolNumbers(List<String> linkedProtocolNumbers) |
void |
setNewSpecialReview(T newSpecialReview) |
void |
setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) |
void |
setProtocolFinderDao(ProtocolFinderDao protocolFinderDao) |
void |
setProtocolSpecialReviewService(ProtocolSpecialReviewService protocolSpecialReviewService) |
void |
setSpecialReviewService(SpecialReviewService specialReviewService) |
protected void |
syncProtocolFundingSourcesWithSpecialReviews(String fundingSourceNumber,
String fundingSourceTypeCode,
String fundingSourceName,
String fundingSourceTitle)
Synchronizes the information between the Special Reviews and the corresponding Protocol Funding Sources.
|
protected static final String NAMESPACE_CODE
protected static final String IACUC_NAMESPACE_CODE
protected static final String PARAMETER_CODE
public T getNewSpecialReview()
public void setNewSpecialReview(T newSpecialReview)
public boolean getCanModifySpecialReview()
public boolean getIsIrbProtocolLinkingEnabled()
public boolean getIsIacucProtocolLinkingEnabled()
public void prepareView()
public void prepareProtocolLinkViewFields(T specialReview)
specialReview - the Special Review to updateprotected DevelopmentProposal getPropososalDevelopment(String proposalNumber)
proposalNumber - protected abstract List<T> getSpecialReviews()
protected abstract boolean hasModifySpecialReviewPermission(String principalId)
principalId - the Id of the user for which to check permissionsprotected abstract boolean isIrbProtocolLinkingEnabledForModule()
protected abstract boolean isIacucProtocolLinkingEnabledForModule()
protected Protocol getLastApprovedProtocol(String protocolNumber)
protocolNumber - the number of the Protocolprotected void syncProtocolFundingSourcesWithSpecialReviews(String fundingSourceNumber, String fundingSourceTypeCode, String fundingSourceName, String fundingSourceTitle)
fundingSourceNumber - 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/savedpublic org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public ProtocolFinderDao getProtocolFinderDao()
public void setProtocolFinderDao(ProtocolFinderDao protocolFinderDao)
public SpecialReviewService getSpecialReviewService()
public void setSpecialReviewService(SpecialReviewService specialReviewService)
public ProtocolSpecialReviewService getProtocolSpecialReviewService()
public void setProtocolSpecialReviewService(ProtocolSpecialReviewService protocolSpecialReviewService)
public IacucProtocolSpecialReviewService getIacucProtocolSpecialReviewService()
public void setIacucProtocolSpecialReviewService(IacucProtocolSpecialReviewService iacucProtocolSpecialReviewService)
protected abstract boolean isCanCreateIrbProtocol()
protected abstract boolean isCanCreateIacucProtocol()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.