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