public interface ProtocolAmendRenewService
| Modifier and Type | Field and Description |
|---|---|
static String |
AMEND_RENEW_ALLOW_NEW_PROTOCOL_DOCUMENT |
| Modifier and Type | Method and Description |
|---|---|
String |
createAmendment(ProtocolDocumentBase protocolDocument,
ProtocolAmendmentBean amendmentBean)
Create an amendment.
|
String |
createRenewal(ProtocolDocumentBase protocolDocument,
String renewalSummary)
Create a Renewal without an Amendment.
|
String |
createRenewalWithAmendment(ProtocolDocumentBase protocolDocument,
ProtocolAmendmentBean amendmentBean)
Create a Renewal with an Amendment.
|
List<ProtocolBase> |
getAmendmentAndRenewals(String protocolNumber)
Get all of the Amendments and Renewals for a given protocol.
|
Collection<ProtocolBase> |
getAmendments(String protocolNumber)
This method returns all of the amendments associated with a protocol.
|
List<String> |
getAvailableModules(String protocolNumber)
Get the list of protocol modules that can be amended.
|
Collection<ProtocolBase> |
getRenewals(String protocolNumber)
This method returns all of the renewals associated with a protocol.
|
void |
updateAmendmentRenewal(ProtocolDocumentBase protocolDocument,
ProtocolAmendmentBean amendmentBean)
Update the summary and amendment sections.
|
static final String AMEND_RENEW_ALLOW_NEW_PROTOCOL_DOCUMENT
String createAmendment(ProtocolDocumentBase protocolDocument, ProtocolAmendmentBean amendmentBean) throws Exception
protocolDocument - the protocol document to create an amendment fromamendmentBean - the amendment info (which modules to be amended)ExceptionString createRenewal(ProtocolDocumentBase protocolDocument, String renewalSummary) throws Exception
protocolDocument - the protocol document to renewrenewalSummary - renewal summaryExceptionString createRenewalWithAmendment(ProtocolDocumentBase protocolDocument, ProtocolAmendmentBean amendmentBean) throws Exception
protocolDocument - the protocol document to renew/amendamendmentBean - the amendment info (which modules to be amended)Exceptionvoid updateAmendmentRenewal(ProtocolDocumentBase protocolDocument, ProtocolAmendmentBean amendmentBean) throws org.kuali.rice.kew.api.exception.WorkflowException
protocolDocument - the protocol document of the amendment/renewal to be updatedamendmentBean - the amendment info (summary and which modules to be amended)org.kuali.rice.kew.api.exception.WorkflowExceptionList<ProtocolBase> getAmendmentAndRenewals(String protocolNumber) throws Exception
Collection<ProtocolBase> getAmendments(String protocolNumber) throws Exception
protocolNumber - ExceptionCollection<ProtocolBase> getRenewals(String protocolNumber) throws Exception
protocolNumber - ExceptionCopyright © 2013 The Kuali Foundation. All Rights Reserved.