public interface ProtocolOnlineReviewService
| Modifier and Type | Field and Description |
|---|---|
static String |
ONLINE_REVIEW_DOCUMENT_DESCRIPTION_FORMAT |
static String |
PROTOCOL_ONLINE_REVIEW_DOCUMENT_TYPE_CODE
Document type code for online review.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancelOnlineReviews(ProtocolSubmissionBase submission,
String annotation)
Cancels all online review documents associated with the submission.
|
ProtocolOnlineReviewDocumentBase |
createAndRouteProtocolOnlineReviewDocument(ProtocolSubmissionBase protocolSubmission,
ProtocolReviewer protocolReviewer,
String documentDescription,
String documentExplanation,
String documentOrganizationDocumentNumber,
String documentRouteAnnotation,
boolean approveDocument,
Date dateRequested,
Date dateDue,
String principalId)
Assign an online review to a reviewer.
|
ProtocolReviewer |
createProtocolReviewer(String principalId,
boolean nonEmployeeFlag,
String reviewerTypeCode,
ProtocolSubmissionBase protocolSubmission)
Creates a reviewer for the protocol included in the protocolSubmission.
|
void |
finalizeOnlineReviews(ProtocolSubmissionBase submission,
String annotation)
Finalizes all online review documents associated with the submission.
|
List<CommitteeMembershipBase> |
getAvailableCommitteeMembersForCurrentSubmission(ProtocolBase protocol)
This method...
|
ProtocolOnlineReviewDocumentBase |
getProtocolOnlineReviewDocument(String principalId,
boolean nonEmployeeFlag,
ProtocolSubmissionBase protocolSubmission)
Returns the ProtocolOnlineReviewDocumentBase associated with the
|
String |
getProtocolOnlineReviewDocumentDescription(String protocolNumber,
String piName)
Generate the standard document description for OLR documents.
|
List<ProtocolOnlineReviewDocumentBase> |
getProtocolReviewDocumentsForCurrentSubmission(ProtocolBase protocol)
Get a list of current ProtocolReview documents associated with the protocol and current submission.
|
ProtocolReviewer |
getProtocolReviewer(String personId,
boolean nonEmployeeFlag,
ProtocolSubmissionBase protocolSubmission)
Returns the online reviewer for the protocol submission corresponding to the principal id, if one exists.
|
List<ProtocolOnlineReviewBase> |
getProtocolReviews(Long submissionId)
This method returns a list of ProtocolOnlineReviewBase BOs that are associated with submission.
|
List<ProtocolOnlineReviewBase> |
getProtocolReviews(String protocolNumber)
Get a list of current ProtocolReview documents associated with the protocol and current submission.
|
boolean |
isProtocolInStateToBeReviewed(ProtocolBase protocol)
Determine if the protocol is in a state that can be reviewed.
|
boolean |
isProtocolReviewer(String principalId,
boolean nonEmployeeFlag,
ProtocolSubmissionBase protocolSubmission)
Returns true if the principal has an online review for the protocol submission.
|
void |
moveOnlineReviews(ProtocolSubmissionBase submission,
ProtocolSubmissionBase newSubmission)
This method is to get the online reviews, loop through them and reassign them to new protocol.
|
void |
removeOnlineReviewDocument(String personId,
boolean nonEmployeeFlag,
ProtocolSubmissionBase submission,
String annotation)
Sets the status to Cancelled/Removed.
|
void |
removeOnlineReviews(ProtocolSubmissionBase submission,
String annotation) |
void |
returnProtocolOnlineReviewDocumentToReviewer(ProtocolOnlineReviewDocumentBase reviewDocument,
String reason,
String principalId)
Return the ProtocolOnlineReviewBase document to the reviewer.
|
static final String ONLINE_REVIEW_DOCUMENT_DESCRIPTION_FORMAT
static final String PROTOCOL_ONLINE_REVIEW_DOCUMENT_TYPE_CODE
ProtocolOnlineReviewDocumentBase createAndRouteProtocolOnlineReviewDocument(ProtocolSubmissionBase protocolSubmission, ProtocolReviewer protocolReviewer, String documentDescription, String documentExplanation, String documentOrganizationDocumentNumber, String documentRouteAnnotation, boolean approveDocument, Date dateRequested, Date dateDue, String principalId)
protocolSubmission - The protocol submission for which the review is being requested.protocolReviewer - The user who will review the document.documentDescription - The description to be used on the associated workflow documentdocumentExplanation - The explanation to be used on the associated workflow documentdocumentOrganizationDocumentNumber - the organization document number to be used on the associated workflow documentdocumentRouteAnnotation - - The annotation to apply to the document when routing it.approveDocument - Should the service approve the document with the given principalID. In the case of
IRB Administrators this will approve the document through the initial node.principalId - The principalId to use when creating the document, and routing it into workflow.ProtocolReviewer createProtocolReviewer(String principalId, boolean nonEmployeeFlag, String reviewerTypeCode, ProtocolSubmissionBase protocolSubmission)
principalId - The ID of the user who will review the documentnonEmployeeFlag - Whether or not the user is an employeereviewerTypeCode - The type of reviewer (usually primary or secondary) that this user will beprotocolSubmission - The submission which the user will reviewList<ProtocolOnlineReviewDocumentBase> getProtocolReviewDocumentsForCurrentSubmission(ProtocolBase protocol)
protocol - List<CommitteeMembershipBase> getAvailableCommitteeMembersForCurrentSubmission(ProtocolBase protocol)
protocol - List<ProtocolOnlineReviewBase> getProtocolReviews(String protocolNumber)
protocolNumber - List<ProtocolOnlineReviewBase> getProtocolReviews(Long submissionId)
submissionId - the submissionId for which you want the ProtocolOnlineReviews.ProtocolReviewer getProtocolReviewer(String personId, boolean nonEmployeeFlag, ProtocolSubmissionBase protocolSubmission)
personId - The id of the personnonEmployeeFlag - Is the person an employee or not? Determines if the personId is treated as a KIM principal or a rolodex id.protocolSubmission - The protocol submissionboolean isProtocolReviewer(String principalId, boolean nonEmployeeFlag, ProtocolSubmissionBase protocolSubmission)
personId - The personId (Rolodex or principal) we are checkingnonEmployeeFlag - Is the person an employee or not? Determines if the personId is treated as a KIM principal or a rolodex id..protocolSubmission - The protocolSubmissionProtocolOnlineReviewDocumentBase getProtocolOnlineReviewDocument(String principalId, boolean nonEmployeeFlag, ProtocolSubmissionBase protocolSubmission)
personId - The personId (Rolodex or principal) we are checkingnonEmployeeFlag - Is the person an employee or not? Determines if the personId is treated as a KIM principal or a rolodex id.protocolSubmission - The protocolSubmissionboolean isProtocolInStateToBeReviewed(ProtocolBase protocol)
protocol - void returnProtocolOnlineReviewDocumentToReviewer(ProtocolOnlineReviewDocumentBase reviewDocument, String reason, String principalId)
review - void removeOnlineReviewDocument(String personId, boolean nonEmployeeFlag, ProtocolSubmissionBase submission, String annotation)
personId - nonEmployeeFlag - submission - annotation - void cancelOnlineReviews(ProtocolSubmissionBase submission, String annotation)
submission - annotation - void removeOnlineReviews(ProtocolSubmissionBase submission, String annotation)
void finalizeOnlineReviews(ProtocolSubmissionBase submission, String annotation)
submission - String getProtocolOnlineReviewDocumentDescription(String protocolNumber, String piName)
protocolNumber - the protocol number to add to the descriptionpiName - The name of the pi to add to the description.void moveOnlineReviews(ProtocolSubmissionBase submission, ProtocolSubmissionBase newSubmission)
submission - newSubmission - Copyright © 2013 The Kuali Foundation. All Rights Reserved.