public class ContentReviewFederatedServiceImpl extends BaseContentReviewService
BaseContentReviewService.LastErrorUpdaterpreferencesService, serverConfigurationService| Constructor and Description |
|---|
ContentReviewFederatedServiceImpl() |
createFormattedMessageXML, createLastError, getLocalizedLastError, getResourceLoaderName, getUserEULAVersion, getWebhookUrl, setLastError, setLastError, setLastErrorpublic void init()
public boolean allowResubmission()
public void checkForReports()
public void syncRosters()
public Integer getProviderId()
public void createAssignment(String arg0, String arg1, Map arg2) throws SubmissionException, TransientSubmissionException
public List<ContentReviewItem> getAllContentReviewItems(String arg0, String arg1) throws QueueException, SubmissionException, ReportException
public Map getAssignment(String arg0, String arg1) throws SubmissionException, TransientSubmissionException
public Date getDateQueued(String arg0) throws QueueException
QueueExceptionpublic Date getDateSubmitted(String arg0) throws QueueException, SubmissionException
QueueExceptionSubmissionExceptionpublic List<ContentReviewItem> getReportList(String siteId) throws QueueException, SubmissionException, ReportException
public List<ContentReviewItem> getReportList(String siteId, String taskId) throws QueueException, SubmissionException, ReportException
public String getReviewReport(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReport in interface ContentReviewServicegetReviewReport in class BaseContentReviewServiceQueueExceptionReportExceptionpublic String getReviewReportInstructor(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReportInstructor in interface ContentReviewServicegetReviewReportInstructor in class BaseContentReviewServiceQueueExceptionReportExceptionpublic String getReviewReportStudent(String contentId, String assignmentRef, String userId) throws QueueException, ReportException
getReviewReportStudent in interface ContentReviewServicegetReviewReportStudent in class BaseContentReviewServiceQueueExceptionReportExceptionpublic Long getReviewStatus(String contentId) throws QueueException
QueueExceptionpublic String getServiceName()
public boolean allowAllContent()
public boolean isAcceptableContent(ContentResource arg0)
public Map<String,SortedSet<String>> getAcceptableExtensionsToMimeTypes()
public Map<String,SortedSet<String>> getAcceptableFileTypesToExtensions()
public boolean isSiteAcceptable(Site arg0)
public void processQueue()
public void queueContent(String userId, String siteId, String assignmentReference, List<ContentResource> content) throws QueueException
QueueExceptionpublic void removeFromQueue(String arg0)
public void resetUserDetailsLockedItems(String arg0)
public int getReviewScore(String contentId, String assignmentRef, String userId) throws QueueException, ReportException, Exception
QueueExceptionReportExceptionExceptionpublic ContentReviewItem getContentReviewItemByContentId(String arg0)
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()
public String getReviewReportRedirectUrl(String contentId, String assignmentRef, String userId, String contextId, boolean isInstructor)
getReviewReportRedirectUrl in interface ContentReviewServicegetReviewReportRedirectUrl in class BaseContentReviewServicepublic void webhookEvent(javax.servlet.http.HttpServletRequest request,
int providerId,
Optional<String> customParam)
public boolean allowSubmissionsOnBehalf()
allowSubmissionsOnBehalf in interface ContentReviewServiceallowSubmissionsOnBehalf in class BaseContentReviewServiceprotected ResourceLoader getResourceLoader()
BaseContentReviewServicegetResourceLoader in class BaseContentReviewServiceCopyright © 2003–2020 Sakai Project. All rights reserved.