public abstract class ProtocolBase extends KraPersistableBusinessObjectBase implements SequenceOwner<ProtocolBase>, Permissionable, UnitAclLoadable, Disclosurable, KcKrmsContextBo
| Modifier and Type | Field and Description |
|---|---|
protected static CharSequence |
AMENDMENT_LETTER |
protected static String |
NEXT_ACTION_ID_KEY |
protected static CharSequence |
RENEWAL_LETTER |
UPDATE_USER_LENGTHextension, versionNumberAWARD_BUDGET_KEY, AWARD_KEY, COI_DISCLOSURE_KEY, COMMITTEE_KEY, COMMITTEE_SCHEDULE_KEY, IACUC_PROTOCOL_KEY, IACUC_PROTOCOL_ONLINE_REVIEW_KEY, NEGOTIATION_KEY, PROPOSAL_BUDGET_KEY, PROPOSAL_KEY, PROTOCOL_KEY, PROTOCOL_ONLINE_REVIEW_KEY, SPONSOR_HIREARCHY_KEY, SUBAWARD_KEY, TIME_AND_MONEY_KEY| Constructor and Description |
|---|
ProtocolBase()
Constructs an ProtocolBase BO.
|
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetKrmsRulesContextprotected static final CharSequence AMENDMENT_LETTER
protected static final CharSequence RENEWAL_LETTER
protected static final String NEXT_ACTION_ID_KEY
public String getInitiatorLastUpdated()
public String getProtocolSubmissionStatus()
protected abstract ProtocolStatusBase getProtocolStatusNewInstanceHook()
protected abstract String getDefaultProtocolStatusCodeHook()
protected abstract String getDefaultProtocolTypeCodeHook()
public Long getProtocolId()
public void setProtocolId(Long protocolId)
public String getProtocolNumber()
public void setProtocolNumber(String protocolNumber)
public Integer getSequenceNumber()
SequenceablegetSequenceNumber in interface Sequenceablepublic void setSequenceNumber(Integer sequenceNumber)
public void setActive(boolean active)
public boolean isActive()
public String getProtocolTypeCode()
public void setProtocolTypeCode(String protocolTypeCode)
public String getProtocolStatusCode()
public void setProtocolStatusCode(String protocolStatusCode)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public Date getSubmissionDate()
public Date getInitialSubmissionDate()
public void setInitialSubmissionDate(Date initialSubmissionDate)
public Date getApprovalDate()
public void setApprovalDate(Date approvalDate)
public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)
public Date getLastApprovalDate()
public void setLastApprovalDate(Date lastApprovalDate)
public String getFdaApplicationNumber()
public void setFdaApplicationNumber(String fdaApplicationNumber)
public String getReferenceNumber1()
public void setReferenceNumber1(String referenceNumber1)
public String getReferenceNumber2()
public void setReferenceNumber2(String referenceNumber2)
public String getSpecialReviewIndicator()
public void setSpecialReviewIndicator(String specialReviewIndicator)
public String getKeyStudyPersonIndicator()
public void setKeyStudyPersonIndicator(String keyStudyPersonIndicator)
public String getFundingSourceIndicator()
public void setFundingSourceIndicator(String fundingSourceIndicator)
public String getCorrespondentIndicator()
public void setCorrespondentIndicator(String correspondentIndicator)
public String getReferenceIndicator()
public void setReferenceIndicator(String referenceIndicator)
public String getRelatedProjectsIndicator()
public void setRelatedProjectsIndicator(String relatedProjectsIndicator)
public List<ProtocolOnlineReviewBase> getProtocolOnlineReviews()
public ProtocolStatusBase getProtocolStatus()
public void setProtocolStatus(ProtocolStatusBase protocolStatus)
public ProtocolTypeBase getProtocolType()
public void setProtocolType(ProtocolTypeBase protocolType)
public String getNewDescription()
public void setNewDescription(String newDescription)
public String getDefaultNewDescription()
public void setProtocolResearchAreas(List<ProtocolResearchAreaBase> protocolResearchAreas)
public List<ProtocolResearchAreaBase> getProtocolResearchAreas()
public void addProtocolResearchAreas(ProtocolResearchAreaBase protocolResearchArea)
public ProtocolResearchAreaBase getProtocolResearchAreas(int index)
protected abstract ProtocolResearchAreaBase getNewProtocolResearchAreaInstance()
public void setProtocolReferences(List<ProtocolReferenceBase> protocolReferences)
public List<ProtocolReferenceBase> getProtocolReferences()
public ProtocolDocumentBase getProtocolDocument()
public void setProtocolDocument(ProtocolDocumentBase protocolDocument)
public void setProtocolLocations(List<ProtocolLocationBase> protocolLocations)
public List<ProtocolLocationBase> getProtocolLocations()
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class org.kuali.rice.krad.bo.PersistableBusinessObjectBasepublic ProtocolPersonBase getPrincipalInvestigator()
public String getPrincipalInvestigatorName()
public ProtocolUnitBase getLeadUnit()
public String getLeadUnitNumber()
getLeadUnitNumber in interface Permissionablepublic void setLeadUnitNumber(String leadUnitNumber)
public String getPrincipalInvestigatorId()
public void setPrincipalInvestigatorId(String principalInvestigatorId)
public boolean isNonEmployeeFlag()
public void setNonEmployeeFlag(boolean nonEmployeeFlag)
protected ProtocolLocationService getProtocolLocationService()
public List<ProtocolPersonBase> getProtocolPersons()
public void setProtocolPersons(List<ProtocolPersonBase> protocolPersons)
public ProtocolPersonBase getProtocolPerson(int index)
index - protected abstract ProtocolPersonnelService getProtocolPersonnelService()
public List<ProtocolFundingSourceBase> getProtocolFundingSources()
public void setProtocolFundingSources(List<ProtocolFundingSourceBase> protocolFundingSources)
public String getResearchAreaCode()
public void setResearchAreaCode(String researchAreaCode)
public String getFundingSource()
public void setFundingSource(String fundingSource)
public String getPerformingOrganizationId()
public void setPerformingOrganizationId(String performingOrganizationId)
public String getLeadUnitName()
public void setLeadUnitName(String leadUnitName)
public void setSpecialReviews(List<ProtocolSpecialReviewBase> specialReviews)
public void addSpecialReview(ProtocolSpecialReviewBase specialReview)
org.kuali.kra.document.SpecialReviewHandler#addSpecialReview(org.kuali.kra.bo.AbstractSpecialReview)public ProtocolSpecialReviewBase getSpecialReview(int index)
org.kuali.kra.document.SpecialReviewHandler#getSpecialReview(int)public List<ProtocolSpecialReviewBase> getSpecialReviews()
org.kuali.kra.document.SpecialReviewHandler#getSpecialReviews()public List<ProtocolAttachmentProtocolBase> getAttachmentProtocols()
null.public ProtocolAttachmentProtocolBase getAttachmentProtocol(int index)
index - the indexpublic List<ProtocolNotepadBase> getNotepads()
null.public ProtocolNotepadBase getNotepad(int index)
index - the index@Deprecated public List<ProtocolAttachmentPersonnelBase> getAttachmentPersonnels()
null.public <T extends ProtocolAttachmentBase> void addAttachmentsByType(T attachment)
attachment - the attachmentIllegalArgumentException - if attachment is null or if an unsupported attachment is foundpublic <T extends ProtocolAttachmentBase> void removeAttachmentsByType(T attachment)
attachment - the attachmentIllegalArgumentException - if attachment is null or if an unsupported attachment is foundpublic String getKeyPerson()
public void setKeyPerson(String keyPerson)
public String getInvestigator()
public void setInvestigator(String investigator)
public ProtocolSubmissionBase getProtocolSubmission()
protected abstract ProtocolSubmissionStatusBase getProtocolSubmissionStatusNewInstanceHook()
protected abstract ProtocolSubmissionTypeBase getProtocolSubmissionTypeNewInstanceHook()
protected abstract ProtocolSubmissionBase getProtocolSubmissionNewInstanceHook()
public void setProtocolSubmission(ProtocolSubmissionBase protocolSubmission)
public void setProtocolActions(List<ProtocolActionBase> protocolActions)
public List<ProtocolActionBase> getProtocolActions()
public ProtocolActionBase getLastProtocolAction()
public void setProtocolSubmissions(List<ProtocolSubmissionBase> protocolSubmissions)
public List<ProtocolSubmissionBase> getProtocolSubmissions()
public Integer getNextValue(String key)
key - the unique key of the sequencepublic void setAttachmentProtocols(List<ProtocolAttachmentProtocolBase> attachmentProtocols)
public void setNotepads(List<ProtocolNotepadBase> notepads)
public void setProtocolAmendRenewal(ProtocolAmendRenewalBase amendRenewal)
public ProtocolAmendRenewalBase getProtocolAmendRenewal()
public List<ProtocolAmendRenewalBase> getProtocolAmendRenewals()
public void setProtocolAmendRenewals(List<ProtocolAmendRenewalBase> protocolAmendRenewals)
public Integer getOwnerSequenceNumber()
getOwnerSequenceNumber in interface SequenceOwner<ProtocolBase>public String getVersionNameField()
SequenceOwnergetVersionNameField in interface SequenceOwner<ProtocolBase>SequenceOwner.getVersionNameField()public void incrementSequenceNumber()
incrementSequenceNumber in interface SequenceOwner<ProtocolBase>public ProtocolBase getSequenceOwner()
getSequenceOwner in interface SequenceAssociate<ProtocolBase>public void setSequenceOwner(ProtocolBase newOwner)
setSequenceOwner in interface SequenceAssociate<ProtocolBase>public void resetPersistenceState()
resetPersistenceState in interface Sequenceablepublic void merge(ProtocolBase amendment)
amendment - public void merge(ProtocolBase amendment, boolean mergeActions)
protected abstract String getProtocolModuleAddModifyAttachmentCodeHook()
public abstract void merge(ProtocolBase amendment, String protocolModuleTypeCode)
protected void mergeProtocolQuestionnaire(ProtocolBase amendment)
protected void removeOldQuestionnaire()
protected void amendQuestionnaire(ProtocolBase amendment)
protected abstract List<AnswerHeader> getAnswerHeaderForProtocol(ProtocolBase protocol)
protected QuestionnaireAnswerService getQuestionnaireAnswerService()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
protected void mergeProtocolSubmission(ProtocolBase amendment)
protected abstract void mergeProtocolAction(ProtocolBase amendment)
protected void mergeGeneralInfo(ProtocolBase amendment)
protected void mergeResearchAreas(ProtocolBase amendment)
protected void mergeFundingSources(ProtocolBase amendment)
protected void mergeReferences(ProtocolBase amendment)
protected void mergeOrganizations(ProtocolBase amendment)
protected void mergeAttachments(ProtocolBase amendment)
protected void restoreAttachments(ProtocolBase protocol)
protected abstract Class<? extends ProtocolAttachmentProtocolBase> getProtocolAttachmentProtocolClassHook()
protected void mergeNotepads(ProtocolBase amendment)
protected void mergeSpecialReview(ProtocolBase amendment)
protected void mergePersonnel(ProtocolBase amendment)
protected void mergeOthers(ProtocolBase amendment)
protected void mergeProtocolPermissions(ProtocolBase amendment)
public abstract ProtocolSummary getProtocolSummary()
protected void addAdditionalInfoSummary(ProtocolSummary protocolSummary)
protected void addSpecialReviewSummaries(ProtocolSummary protocolSummary)
protected void addOrganizationSummaries(ProtocolSummary protocolSummary)
protected void addFundingSourceSummaries(ProtocolSummary protocolSummary)
protected void addAttachmentSummaries(ProtocolSummary protocolSummary)
protected void addResearchAreaSummaries(ProtocolSummary protocolSummary)
protected void addPersonnelSummaries(ProtocolSummary protocolSummary)
protected abstract ProtocolSummary createProtocolSummary()
public abstract String getDocumentKey()
PermissionablegetDocumentKey in interface PermissionablePermissionable.getDocumentKey()public String getDocumentNumberForPermission()
PermissionablegetDocumentNumberForPermission in interface PermissionablePermissionable.getDocumentNumberForPermission()public abstract List<String> getRoleNames()
PermissionablegetRoleNames in interface PermissionablePermissionable.getRoleNames()public void resetForeignKeys()
public void resetPersistenceStateForNotifications()
public abstract String getNamespace()
getNamespace in interface Permissionablepublic String getDocumentUnitNumber()
UnitAclLoadablegetDocumentUnitNumber in interface UnitAclLoadableorg.kuali.kra.UnitAclLoadable#getUnitNumberOfDocument()public abstract String getDocumentRoleTypeCode()
UnitAclLoadablegetDocumentRoleTypeCode in interface PermissionablegetDocumentRoleTypeCode in interface UnitAclLoadableUnitAclLoadable.getDocumentRoleTypeCode()public void populateAdditionalQualifiedRoleAttributes(Map<String,String> qualifiedRoleAttributes)
PermissionablepopulateAdditionalQualifiedRoleAttributes in interface Permissionablepublic boolean isNew()
public boolean isAmendment()
public boolean isRenewal()
public boolean isRenewalWithoutAmendment()
public String getAmendedProtocolNumber()
public boolean isVersioningRequired()
public List<ProtocolAttachmentProtocolBase> getActiveAttachmentProtocols()
public List<ProtocolAttachmentProtocolBase> getActiveAttachmentProtocolsNoDelete()
public boolean isCorrectionMode()
public void setCorrectionMode(boolean correctionMode)
protected org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
protected org.kuali.rice.krad.service.SequenceAccessorService getSequenceAccessorService()
public Long getNotifyIrbSubmissionId()
public void setNotifyIrbSubmissionId(Long notifyIrbSubmissionId)
public boolean isLookupPendingProtocol()
public void setLookupPendingProtocol(boolean lookupPendingProtocol)
public boolean isLookupPendingPIActionProtocol()
public void setLookupPendingPIActionProtocol(boolean lookupPendingPIActionProtocol)
public boolean isLookupActionAmendRenewProtocol()
public void setLookupActionAmendRenewProtocol(boolean lookupActionAmendRenewProtocol)
public boolean isLookupActionRequestProtocol()
public void setLookupActionRequestProtocol(boolean lookupActionRequestProtocol)
public boolean isLookupProtocolPersonId()
public void setLookupProtocolPersonId(boolean lookupProtocolPersonId)
public boolean isFollowupAction(String actionTypeCode)
actionTypeCode - public boolean isMergeAmendment()
public void setMergeAmendment(boolean mergeAmendment)
public ProtocolAttachmentFilterBase getProtocolAttachmentFilter()
public void setProtocolAttachmentFilter(ProtocolAttachmentFilterBase protocolAttachmentFilter)
public List<ProtocolAttachmentProtocolBase> getFilteredAttachmentProtocols()
public abstract void initializeProtocolAttachmentFilter()
public org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
public void cleanupSpecialReviews(ProtocolBase srcProtocol)
public boolean isMemberInProtocolPersonnel(CommitteeMembershipBase member)
member - public List<CommitteeMembershipBase> filterOutProtocolPersonnel(List<CommitteeMembershipBase> members)
members - public Date getApplicationDate()
public String getProjectName()
DisclosurablegetProjectName in interface Disclosurablepublic String getProjectId()
DisclosurablegetProjectId in interface Disclosurablepublic List<ProtocolActionBase> getSortedActions()
public boolean isEmptyProtocolResearchAreas()
public boolean isUserNamedInProtocol(String principalName)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.