public abstract class ProtocolDocumentBase extends ResearchDocumentBase implements org.kuali.rice.krad.document.Copyable, org.kuali.rice.krad.document.SessionDocument, KrmsRulesContext
| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolDocumentBase.ProtocolMergeException |
static class |
ProtocolDocumentBase.ProtocolWorkflowType
Contains all the property names in this class.
|
| Constructor and Description |
|---|
ProtocolDocumentBase()
Constructs a ProtocolDocumentBase object.
|
| Modifier and Type | Method and Description |
|---|---|
List |
buildListOfDeletionAwareLists() |
protected abstract ProtocolBase |
createNewProtocolInstanceHook() |
void |
doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent) |
protected void |
finalizeAttachmentProtocol(ProtocolBase protocol) |
protected List<RolePersons> |
getAllRolePersons()
Get the list of roles for the document along with each of the individuals in those roles.
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
protected abstract String |
getCommitteeDisapprovedStatusCodeHook() |
String |
getCustomLockDescriptor(org.kuali.rice.kim.api.identity.Person user) |
protected abstract ProtocolNotificationContextBase |
getDisapproveNotificationContextHook(ProtocolBase protocol) |
protected org.kuali.rice.krad.service.DocumentService |
getDocumentService() |
abstract String |
getDocumentTypeCode() |
protected org.kuali.rice.kew.actiontaken.ActionTakenValue |
getLatestCurrentActionTakenValue() |
protected abstract ProtocolActionBase |
getNewProtocolActionInstanceHook(ProtocolBase protocol,
ProtocolSubmissionBase protocolSubmission,
String actionTypeCode) |
protected String |
getNewProtocolDocId()
This method returns the doc number of the current active protocol
|
protected abstract ProtocolNotification |
getNewProtocolNotificationInstanceHook() |
protected KcNotificationService |
getNotificationService() |
protected String |
getOriginalProtocolNumber()
Amendments/Renewals have a protocol number with a 4 character suffix.
|
ProtocolBase |
getProtocol()
This method is a convenience method for facilitating a 1:1 relationship between ProtocolDocumentBase
and ProtocolBase to the outside world - aka a single ProtocolBase field associated with ProtocolDocumentBase
|
protected ProtocolActionService |
getProtocolActionService() |
protected abstract Class<? extends ProtocolActionService> |
getProtocolActionServiceClassHook() |
protected abstract Class<? extends ProtocolBase> |
getProtocolBOClassHook() |
protected ProtocolGenericActionService |
getProtocolGenericActionService() |
protected abstract Class<? extends ProtocolGenericActionService> |
getProtocolGenericActionServiceClassHook() |
List<ProtocolBase> |
getProtocolList()
This method is used by OJB to get around with anonymous keys issue.
|
protected abstract Class<? extends ProtocolLocationService> |
getProtocolLocationServiceClassHook() |
protected String |
getProtocolNumberIndex() |
protected abstract Class<? extends ProtocolResearchAreaService> |
getProtocolResearchAreaServiceClassHook() |
String |
getProtocolWorkflowType() |
boolean |
getReRouted() |
protected abstract Class<? extends ResearchAreaBase> |
getResearchAreaBoClassHook() |
protected org.kuali.rice.kew.routeheader.service.RouteHeaderService |
getRouteHeaderService() |
protected org.kuali.rice.krad.workflow.service.WorkflowDocumentService |
getWorkflowDocumentService() |
void |
initialize() |
boolean |
isAmendment()
Is this an amendment protocol document?
|
protected boolean |
isDisapproved(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
Has the document entered the disapproval state in workflow?
|
protected boolean |
isFinal(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
Has the document entered the final state in workflow?
|
boolean |
isNormal()
Is this a normal protocol document?
|
protected boolean |
isRecall(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent) |
boolean |
isRenewal()
Is this a renewal protocol document?
|
protected abstract void |
mergeProtocolAmendment() |
protected void |
performVersioningOperationsOnProtocolAfterDisapproval() |
void |
populateAgendaQualifiers(Map<String,String> qualifiers) |
void |
prepareForSave() |
void |
setProtocol(ProtocolBase protocol)
This method is a convenience method for facilitating a 1:1 relationship between ProtocolDocumentBase
and ProtocolBase to the outside world - aka a single ProtocolBase field associated with ProtocolDocumentBase
|
void |
setProtocolList(List<ProtocolBase> protocolList)
This method is used by OJB to get around with anonymous keys issue.
|
void |
setProtocolWorkflowType(ProtocolDocumentBase.ProtocolWorkflowType protocolWorkflowType) |
void |
setReRouted(boolean reRouted) |
void |
updateProtocolStatus(String actionTypeCode,
String comments)
Add a new protocol action to the protocol and update the status.
|
boolean |
useCustomLockDescriptors() |
org.kuali.rice.krad.workflow.KualiDocumentXmlMaterializer |
wrapDocumentWithMetadataForXmlSerialization()
Wraps a document in an instance of KualiDocumentXmlMaterializer, that provides additional metadata for serialization
|
answerSplitNodeQuestion, getCustomAttributeDocument, getCustomAttributeDocuments, getDocumentCustomData, getDocumentNextValue, getDocumentNextvalueBo, getDocumentNextvalues, getService, getUpdateTimestamp, getUpdateUser, isProcessComplete, isViewOnly, populateAdditionalQualifiedRoleAttributes, processAfterRetrieve, setCustomAttributeDocuments, setDocumentNextvalues, setUpdateTimestamp, setUpdateUser, setViewOnly, toCopy, updateDocumentDescriptions, validateBusinessRulesgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, prepareForSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocksafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFacts, populateContextQualifiersaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotespublic ProtocolDocumentBase()
protected abstract ProtocolBase createNewProtocolInstanceHook()
public void initialize()
initialize in class ResearchDocumentBaseResearchDocumentBase.initialize()protected abstract Class<? extends ProtocolResearchAreaService> getProtocolResearchAreaServiceClassHook()
protected abstract Class<? extends ResearchAreaBase> getResearchAreaBoClassHook()
public ProtocolBase getProtocol()
public void setProtocol(ProtocolBase protocol)
protocol - public List<ProtocolBase> getProtocolList()
public void setProtocolList(List<ProtocolBase> protocolList)
protocolList - public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseorg.kuali.core.bo.PersistableBusinessObjectBase#buildListOfDeletionAwareLists()protected List<RolePersons> getAllRolePersons()
ResearchDocumentBasegetAllRolePersons in class ResearchDocumentBaseResearchDocumentBase.getAllRolePersons()public abstract String getDocumentTypeCode()
getDocumentTypeCode in class ResearchDocumentBasepublic String getProtocolWorkflowType()
public void setProtocolWorkflowType(ProtocolDocumentBase.ProtocolWorkflowType protocolWorkflowType)
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class org.kuali.rice.krad.document.DocumentBaseDocumentBase.doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange)protected void performVersioningOperationsOnProtocolAfterDisapproval()
throws Exception
Exceptionprotected abstract String getCommitteeDisapprovedStatusCodeHook()
protected abstract ProtocolNotification getNewProtocolNotificationInstanceHook()
protected abstract ProtocolNotificationContextBase getDisapproveNotificationContextHook(ProtocolBase protocol)
protected final org.kuali.rice.kew.actiontaken.ActionTakenValue getLatestCurrentActionTakenValue()
protected org.kuali.rice.kew.routeheader.service.RouteHeaderService getRouteHeaderService()
protected KcNotificationService getNotificationService()
protected ProtocolGenericActionService getProtocolGenericActionService()
protected abstract Class<? extends ProtocolGenericActionService> getProtocolGenericActionServiceClassHook()
protected abstract void mergeProtocolAmendment()
public void updateProtocolStatus(String actionTypeCode, String comments)
actionTypeCode - the new actionprotected abstract ProtocolActionBase getNewProtocolActionInstanceHook(ProtocolBase protocol, ProtocolSubmissionBase protocolSubmission, String actionTypeCode)
protected ProtocolActionService getProtocolActionService()
protected abstract Class<? extends ProtocolActionService> getProtocolActionServiceClassHook()
protected void finalizeAttachmentProtocol(ProtocolBase protocol)
protected String getProtocolNumberIndex()
protected org.kuali.rice.krad.service.DocumentService getDocumentService()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
protected String getOriginalProtocolNumber()
protected boolean isFinal(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
statusChangeEvent - protected boolean isDisapproved(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
statusChangeEvent - protected boolean isRecall(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
public boolean isRenewal()
public boolean isAmendment()
public boolean isNormal()
public void prepareForSave()
prepareForSave in interface org.kuali.rice.krad.document.DocumentprepareForSave in class ResearchDocumentBaseprotected abstract Class<? extends ProtocolLocationService> getProtocolLocationServiceClassHook()
public org.kuali.rice.krad.workflow.KualiDocumentXmlMaterializer wrapDocumentWithMetadataForXmlSerialization()
ResearchDocumentBasewrapDocumentWithMetadataForXmlSerialization in interface org.kuali.rice.krad.document.DocumentwrapDocumentWithMetadataForXmlSerialization in class ResearchDocumentBaseDocument.wrapDocumentWithMetadataForXmlSerialization()public boolean useCustomLockDescriptors()
useCustomLockDescriptors in interface org.kuali.rice.krad.document.DocumentuseCustomLockDescriptors in class org.kuali.rice.krad.document.DocumentBasepublic String getCustomLockDescriptor(org.kuali.rice.kim.api.identity.Person user)
getCustomLockDescriptor in interface org.kuali.rice.krad.document.DocumentgetCustomLockDescriptor in class org.kuali.rice.krad.document.DocumentBasepublic boolean getReRouted()
public void setReRouted(boolean reRouted)
protected org.kuali.rice.krad.workflow.service.WorkflowDocumentService getWorkflowDocumentService()
protected String getNewProtocolDocId()
protected abstract Class<? extends ProtocolBase> getProtocolBOClassHook()
public void populateAgendaQualifiers(Map<String,String> qualifiers)
populateAgendaQualifiers in interface KrmsRulesContextCopyright © 2013 The Kuali Foundation. All Rights Reserved.