public interface ProtocolDao<GenericProtocol extends ProtocolBase>
| Modifier and Type | Method and Description |
|---|---|
List<GenericProtocol> |
getExpiringProtocols(String committeeId,
Date startDate,
Date endDate)
This method returns all Protocols that were approved by the specified committee and
expires in the specified date range.
|
List<ProtocolBase> |
getNotifiedProtocols(String committeeId,
Date startDate,
Date endDate)
This method returns all Protocols that were given a decision status of "Specify Minor Revision" (SMR)
or "Substantive Revision Required" (SRR) by the specified committee in the specified date range.
|
List<GenericProtocol> |
getProtocols(Map<String,String> fieldValues)
This method get protocols lookup search results.
|
boolean |
getProtocolSubmissionCountFromProtocol(String protocolNumber)
This method Check if there are any pending amendmends/renewals for this protocols.
|
<T extends ProtocolAttachmentBase & TypedAttachment> |
retrieveAttachmentVersions(T attachment,
Class<T> type)
Gets all the attachment versions based on the passed in attachment.
|
List<GenericProtocol> getProtocols(Map<String,String> fieldValues)
fieldValues - boolean getProtocolSubmissionCountFromProtocol(String protocolNumber)
protocolNumber - <T extends ProtocolAttachmentBase & TypedAttachment> List<T> retrieveAttachmentVersions(T attachment, Class<T> type)
attachment - the attachment to base the query off oftype - a class token used for retrieving the attachmentsList<GenericProtocol> getExpiringProtocols(String committeeId, Date startDate, Date endDate)
committeeId - of the most recent protocol submission that approved the protocol.startDate - of the date range for the expiration date of the protocol. The start date is
optional. If no start date is specified, the beginning of time will be used.endDate - of the date range for the expiration date of the protocol. The end date is
optional. If no end date is specified, the end of time will be used.List<ProtocolBase> getNotifiedProtocols(String committeeId, Date startDate, Date endDate)
committeeId - of thestartDate - endDate - of the date range for theCopyright © 2013 The Kuali Foundation. All Rights Reserved.