public interface ReviewCommentsService<PRA extends ProtocolReviewAttachmentBase>
| Modifier and Type | Method and Description |
|---|---|
void |
addReviewAttachment(PRA newReviewAttachment,
List<PRA> reviewAttachments,
ProtocolBase protocol)
This method is to add review attachment in OLR or manage review attachment
|
void |
addReviewComment(CommitteeScheduleMinuteBase newReviewComment,
List<CommitteeScheduleMinuteBase> reviewComments,
ProtocolBase protocol)
Adds the newReviewComment to the list of reviewComments in the given protocol.
|
void |
addReviewComment(CommitteeScheduleMinuteBase newReviewComment,
List<CommitteeScheduleMinuteBase> reviewComments,
ProtocolOnlineReviewBase protocolOnlineReview)
Adds the newReviewerComment to the list of reviewerComments in the given protocol online review.
|
boolean |
canViewOnlineReviewerComments(String principalId,
ProtocolSubmissionBase protocolSubmission)
Determines whether the given principal can view the list of online reviewer comments for the given protocol submission.
|
boolean |
canViewOnlineReviewers(String principalId,
ProtocolSubmissionBase protocolSubmission)
Determines whether the given principal can view the list of online reviewers for the given protocol submission.
|
void |
deleteAllReviewAttachments(List<PRA> reviewAttachments,
List<PRA> deletedReviewAttachments)
This method is to delete all saved attachments
|
void |
deleteAllReviewComments(List<CommitteeScheduleMinuteBase> reviewComments,
List<CommitteeScheduleMinuteBase> deletedReviewComments)
Delete all review comments from the list of reviewComments and add them all to the list of deletedReviewComments.
|
void |
deleteReviewAttachment(List<PRA> reviewAttachments,
int index,
List<PRA> deletedReviewAttachments)
This method is to delete a review attachment.
|
void |
deleteReviewComment(List<CommitteeScheduleMinuteBase> reviewComments,
int index,
List<CommitteeScheduleMinuteBase> deletedReviewComments)
Delete the review comment at index from the list of reviewComments and add it to the list of deletedReviewComments.
|
List<ProtocolOnlineReviewBase> |
getProtocolOnlineReviews(String protocolNumber,
int submissionNumber)
This method is to get a list of active protocol online reviews for (possibly more than one) submission specified by the parameters.
|
List<ProtocolReviewer> |
getProtocolReviewers(String protocolNumber,
int submissionNumber)
This method is to get a list or protocol reviewers for this submission.
|
boolean |
getReviewerAcceptedCommentsView(CommitteeScheduleMinuteBase minute)
This method is to check whether the Reviewer can view Accepted minute comment.
|
List<PRA> |
getReviewerAttachments(String protocolNumber,
int submissionNumber)
This method is to get review attachments for submission detail
|
List<CommitteeScheduleMinuteBase> |
getReviewerComments(String protocolNumber,
int submissionNumber)
Finds and returns the reviewer comments for a protocol number and a certain submission.
|
boolean |
getReviewerCommentsView(ProtocolReviewableBase minute)
This method is to check whether the current user can view this comment.
|
boolean |
getReviewerMinuteCommentsView(CommitteeScheduleMinuteBase minute)
This method is to check whether the current user can view this minute comment.
|
void |
moveDownReviewComment(List<CommitteeScheduleMinuteBase> reviewComments,
ProtocolBase protocol,
int fromIndex)
Moves one review comment down the list by one value.
|
void |
moveUpReviewComment(List<CommitteeScheduleMinuteBase> reviewComments,
ProtocolBase protocol,
int fromIndex)
Moves one review comment up the list by one value.
|
void |
saveReviewAttachments(List<PRA> reviewAttachments,
List<PRA> deletedReviewAttachments)
This method is to save review attachments in OLR or manage review attachment
|
void |
saveReviewComments(List<CommitteeScheduleMinuteBase> reviewComments,
List<CommitteeScheduleMinuteBase> deletedReviewComments)
Saves the given reviewComments to the database and deletes the given deletedReviewComments.
|
boolean |
setHideReviewerName(List<? extends ProtocolReviewableBase> reviewComments)
This method is to check whether there is any review comments can display reviewer name
based on IRB_DISPLAY_REVIEWER_NAME parameter, and role based business rule.
|
boolean |
setHideReviewerName(ProtocolBase protocol,
int submissionNumber)
This method is to check whether there is any review comments can display reviewer name
based on IRB_DISPLAY_REVIEWER_NAME parameter, and role based business rule.
|
boolean |
setHideViewButton(List<PRA> reviewAttachments)
This method is to check to show 'view' button for protocol personnel
|
boolean canViewOnlineReviewerComments(String principalId, ProtocolSubmissionBase protocolSubmission)
principalId - the id of the userprotocolSubmission - the protocol submissionboolean canViewOnlineReviewers(String principalId, ProtocolSubmissionBase protocolSubmission)
principalId - the id of the userprotocolSubmission - the protocol submissionList<CommitteeScheduleMinuteBase> getReviewerComments(String protocolNumber, int submissionNumber)
protocolNumber - The protocol numbersubmissionNumber - The number of the submissionboolean getReviewerCommentsView(ProtocolReviewableBase minute)
CommitteeScheduleMinuteBase - minuteList<ProtocolReviewer> getProtocolReviewers(String protocolNumber, int submissionNumber)
protocolNumber - submissionNumber - List<ProtocolOnlineReviewBase> getProtocolOnlineReviews(String protocolNumber, int submissionNumber)
protocolNumber - submissionNumber - void addReviewComment(CommitteeScheduleMinuteBase newReviewComment, List<CommitteeScheduleMinuteBase> reviewComments, ProtocolBase protocol)
newReviewComment - the new review comment to addreviewComments - the list of reviewer commentsprotocol - the current protocolvoid addReviewComment(CommitteeScheduleMinuteBase newReviewComment, List<CommitteeScheduleMinuteBase> reviewComments, ProtocolOnlineReviewBase protocolOnlineReview)
newReviewComment - the new review comment to addreviewComments - the list of reviewer commentsprotocolOnlineReview - the current protocol online reviewvoid moveUpReviewComment(List<CommitteeScheduleMinuteBase> reviewComments, ProtocolBase protocol, int fromIndex)
reviewComments - the list of review commentsprotocol - the current protocolfromIndex - the current position of the review commentvoid moveDownReviewComment(List<CommitteeScheduleMinuteBase> reviewComments, ProtocolBase protocol, int fromIndex)
reviewComments - the list of reviewer commentsprotocol - the current protocolfromIndex - the current position of the review commentvoid deleteReviewComment(List<CommitteeScheduleMinuteBase> reviewComments, int index, List<CommitteeScheduleMinuteBase> deletedReviewComments)
reviewComments - the list of reviewer commentsindex - the index of the reviewer comment to be deleteddeletedReviewComments - the list of deleted reviewer commentsvoid deleteAllReviewComments(List<CommitteeScheduleMinuteBase> reviewComments, List<CommitteeScheduleMinuteBase> deletedReviewComments)
reviewComments - the list of reviewer commentsdeletedReviewComments - the list of deleted reviewer commentsvoid saveReviewComments(List<CommitteeScheduleMinuteBase> reviewComments, List<CommitteeScheduleMinuteBase> deletedReviewComments)
reviewComments - the review comments that will be saveddeletedReviewComments - the review comments that will be deletedboolean setHideReviewerName(ProtocolBase protocol, int submissionNumber)
protocol - submissionNumber - boolean setHideReviewerName(List<? extends ProtocolReviewableBase> reviewComments)
reviewComments - boolean getReviewerMinuteCommentsView(CommitteeScheduleMinuteBase minute)
CommitteeScheduleMinuteBase - minuteboolean getReviewerAcceptedCommentsView(CommitteeScheduleMinuteBase minute)
CommitteeScheduleMinuteBase - minutevoid deleteReviewAttachment(List<PRA> reviewAttachments, int index, List<PRA> deletedReviewAttachments)
reviewAttachments - index - deletedReviewAttachments - void saveReviewAttachments(List<PRA> reviewAttachments, List<PRA> deletedReviewAttachments)
reviewAttachments - deletedReviewAttachments - void deleteAllReviewAttachments(List<PRA> reviewAttachments, List<PRA> deletedReviewAttachments)
reviewAttachments - deletedReviewAttachments - void addReviewAttachment(PRA newReviewAttachment, List<PRA> reviewAttachments, ProtocolBase protocol)
newReviewAttachment - reviewAttachments - protocol - List<PRA> getReviewerAttachments(String protocolNumber, int submissionNumber)
protocolNumber - submissionNumber - Copyright © 2013 The Kuali Foundation. All Rights Reserved.