public class NoOpContentReviewService extends Object implements ContentReviewService
| Constructor and Description |
|---|
NoOpContentReviewService() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProviderIdpublic void queueContent(String userId, String siteId, String taskId, List<ContentResource> content) throws QueueException
queueContent in interface ContentReviewServiceQueueExceptionpublic int getReviewScore(String contentId, String taskId, String userId) throws QueueException, ReportException, Exception
getReviewScore in interface ContentReviewServiceQueueExceptionReportExceptionExceptionpublic String getReviewReport(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReport in interface ContentReviewServiceQueueExceptionReportExceptionpublic String getReviewReportStudent(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReportStudent in interface ContentReviewServiceQueueExceptionReportExceptionpublic String getReviewReportInstructor(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReportInstructor in interface ContentReviewServiceQueueExceptionReportExceptionpublic Long getReviewStatus(String contentId) throws QueueException
getReviewStatus in interface ContentReviewServiceQueueExceptionpublic Date getDateQueued(String contextId) throws QueueException
getDateQueued in interface ContentReviewServiceQueueExceptionpublic Date getDateSubmitted(String contextId) throws QueueException, SubmissionException
getDateSubmitted in interface ContentReviewServiceQueueExceptionSubmissionExceptionpublic void processQueue()
processQueue in interface ContentReviewServicepublic void checkForReports()
checkForReports in interface ContentReviewServicepublic List<ContentReviewItem> getReportList(String siteId, String taskId) throws QueueException, SubmissionException, ReportException
getReportList in interface ContentReviewServiceQueueExceptionSubmissionExceptionReportExceptionpublic List<ContentReviewItem> getReportList(String siteId) throws QueueException, SubmissionException, ReportException
getReportList in interface ContentReviewServiceQueueExceptionSubmissionExceptionReportExceptionpublic List<ContentReviewItem> getAllContentReviewItems(String siteId, String taskId) throws QueueException, SubmissionException, ReportException
getAllContentReviewItems in interface ContentReviewServiceQueueExceptionSubmissionExceptionReportExceptionpublic String getServiceName()
getServiceName in interface ContentReviewServicepublic void resetUserDetailsLockedItems(String userId)
resetUserDetailsLockedItems in interface ContentReviewServicepublic boolean allowAllContent()
allowAllContent in interface ContentReviewServicepublic boolean isAcceptableContent(ContentResource resource)
isAcceptableContent in interface ContentReviewServicepublic Map<String,SortedSet<String>> getAcceptableExtensionsToMimeTypes()
getAcceptableExtensionsToMimeTypes in interface ContentReviewServicepublic Map<String,SortedSet<String>> getAcceptableFileTypesToExtensions()
getAcceptableFileTypesToExtensions in interface ContentReviewServicepublic boolean isSiteAcceptable(Site site)
isSiteAcceptable in interface ContentReviewServicepublic String getIconCssClassforScore(int score, String contentId)
getIconCssClassforScore in interface ContentReviewServicepublic boolean allowResubmission()
allowResubmission in interface ContentReviewServicepublic void removeFromQueue(String contentId)
removeFromQueue in interface ContentReviewServicepublic String getLocalizedStatusMessage(String messageCode, String userRef)
getLocalizedStatusMessage in interface ContentReviewServicepublic String getLocalizedStatusMessage(String messageCode)
getLocalizedStatusMessage in interface ContentReviewServicepublic String getReviewError(String contentId)
getReviewError in interface ContentReviewServicepublic String getLocalizedStatusMessage(String messageCode, Locale locale)
getLocalizedStatusMessage in interface ContentReviewServicepublic Map getAssignment(String siteId, String taskId) throws SubmissionException, TransientSubmissionException
getAssignment in interface ContentReviewServiceSubmissionExceptionTransientSubmissionExceptionpublic void createAssignment(String siteId, String taskId, Map extraAsnnOpts) throws SubmissionException, TransientSubmissionException
createAssignment in interface ContentReviewServiceSubmissionExceptionTransientSubmissionExceptionpublic ContentReviewItem getContentReviewItemByContentId(String contentId)
getContentReviewItemByContentId in interface ContentReviewServiceCopyright © 2003–2018 Sakai Project. All rights reserved.