public class NoOpContentReviewService extends BaseContentReviewService
BaseContentReviewService.LastErrorUpdaterpreferencesService, serverConfigurationService| Constructor and Description |
|---|
NoOpContentReviewService() |
allowSubmissionsOnBehalf, createFormattedMessageXML, createLastError, getLocalizedLastError, getResourceLoader, getResourceLoaderName, getReviewReportRedirectUrl, getUserEULAVersion, getWebhookUrl, setLastError, setLastError, setLastErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProviderIdpublic void queueContent(String userId, String siteId, String taskId, List<ContentResource> content) throws QueueException
QueueExceptionpublic int getReviewScore(String contentId, String taskId, String userId) throws QueueException, ReportException, Exception
QueueExceptionReportExceptionExceptionpublic String getReviewReport(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReport in interface ContentReviewServicegetReviewReport in class BaseContentReviewServiceQueueExceptionReportExceptionpublic String getReviewReportStudent(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReportStudent in interface ContentReviewServicegetReviewReportStudent in class BaseContentReviewServiceQueueExceptionReportExceptionpublic String getReviewReportInstructor(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReportInstructor in interface ContentReviewServicegetReviewReportInstructor in class BaseContentReviewServiceQueueExceptionReportExceptionpublic Long getReviewStatus(String contentId) throws QueueException
QueueExceptionpublic Date getDateQueued(String contextId) throws QueueException
QueueExceptionpublic Date getDateSubmitted(String contextId) throws QueueException, SubmissionException
QueueExceptionSubmissionExceptionpublic void processQueue()
public void checkForReports()
public void syncRosters()
public List<ContentReviewItem> getReportList(String siteId, String taskId) throws QueueException, SubmissionException, ReportException
public List<ContentReviewItem> getReportList(String siteId) throws QueueException, SubmissionException, ReportException
public List<ContentReviewItem> getAllContentReviewItems(String siteId, String taskId) throws QueueException, SubmissionException, ReportException
public String getServiceName()
public void resetUserDetailsLockedItems(String userId)
public boolean allowAllContent()
public boolean isAcceptableContent(ContentResource resource)
public Map<String,SortedSet<String>> getAcceptableExtensionsToMimeTypes()
public Map<String,SortedSet<String>> getAcceptableFileTypesToExtensions()
public boolean isSiteAcceptable(Site site)
public boolean allowResubmission()
public void removeFromQueue(String contentId)
public String getLocalizedStatusMessage(String messageCode, String userRef)
public String getLocalizedStatusMessage(String messageCode, Locale locale)
public Map getAssignment(String siteId, String taskId) throws SubmissionException, TransientSubmissionException
public void createAssignment(String siteId, String taskId, Map extraAsnnOpts) throws SubmissionException, TransientSubmissionException
public ContentReviewItem getContentReviewItemByContentId(String contentId)
public Instant getEndUserLicenseAgreementTimestamp()
public Instant getUserEULATimestamp(String userId)
getUserEULATimestamp in interface ContentReviewServicegetUserEULATimestamp in class BaseContentReviewServicepublic void updateUserEULATimestamp(String userId)
updateUserEULATimestamp in interface ContentReviewServiceupdateUserEULATimestamp in class BaseContentReviewServicepublic String getEndUserLicenseAgreementVersion()
Copyright © 2003–2020 Sakai Project. All rights reserved.