Class ContentReviewQueueServiceImpl
- java.lang.Object
-
- org.sakaiproject.contentreview.service.ContentReviewQueueServiceImpl
-
- All Implemented Interfaces:
ContentReviewQueueService
public class ContentReviewQueueServiceImpl extends Object implements ContentReviewQueueService
-
-
Constructor Summary
Constructors Constructor Description ContentReviewQueueServiceImpl()
-
Method Summary
-
-
-
Method Detail
-
queueContent
@Transactional public void queueContent(Integer providerId, String userId, String siteId, String taskId, List<ContentResource> content) throws QueueException
- Specified by:
queueContentin interfaceContentReviewQueueService- Throws:
QueueException
-
getReviewScore
@Transactional(readOnly=true) @Deprecated public int getReviewScore(Integer providerId, String contentId) throws QueueException, ReportException, Exception
Deprecated.- Specified by:
getReviewScorein interfaceContentReviewQueueService- Throws:
QueueExceptionReportExceptionException
-
getReviewStatus
@Transactional(readOnly=true) @Deprecated public Long getReviewStatus(Integer providerId, String contentId) throws QueueException
Deprecated.- Specified by:
getReviewStatusin interfaceContentReviewQueueService- Throws:
QueueException
-
getDateQueued
@Transactional(readOnly=true) @Deprecated public Date getDateQueued(Integer providerId, String contentId) throws QueueException
Deprecated.- Specified by:
getDateQueuedin interfaceContentReviewQueueService- Throws:
QueueException
-
getDateSubmitted
@Transactional(readOnly=true) @Deprecated public Date getDateSubmitted(Integer providerId, String contentId) throws QueueException, SubmissionException
Deprecated.- Specified by:
getDateSubmittedin interfaceContentReviewQueueService- Throws:
QueueExceptionSubmissionException
-
getContentReviewItems
@Transactional(readOnly=true) public List<ContentReviewItem> getContentReviewItems(Integer providerId, String siteId, String taskId)
- Specified by:
getContentReviewItemsin interfaceContentReviewQueueService
-
getAllContentReviewItemsGroupedBySiteAndTask
@Transactional(readOnly=true) public List<ContentReviewItem> getAllContentReviewItemsGroupedBySiteAndTask(Integer providerId)
- Specified by:
getAllContentReviewItemsGroupedBySiteAndTaskin interfaceContentReviewQueueService
-
getContentReviewItemsGroupedBySite
@Transactional(readOnly=true) public List<String> getContentReviewItemsGroupedBySite(Integer providerId)
- Specified by:
getContentReviewItemsGroupedBySitein interfaceContentReviewQueueService
-
resetUserDetailsLockedItems
@Transactional public void resetUserDetailsLockedItems(Integer providerId, String userId)
- Specified by:
resetUserDetailsLockedItemsin interfaceContentReviewQueueService
-
removeFromQueue
@Transactional public void removeFromQueue(Integer providerId, String contentId)
- Specified by:
removeFromQueuein interfaceContentReviewQueueService
-
getQueuedItem
@Transactional(readOnly=true) public Optional<ContentReviewItem> getQueuedItem(Integer providerId, String contentId)
- Specified by:
getQueuedItemin interfaceContentReviewQueueService
-
getQueuedItemByExternalId
@Transactional(readOnly=true) public Optional<ContentReviewItem> getQueuedItemByExternalId(Integer providerId, String externalId)
- Specified by:
getQueuedItemByExternalIdin interfaceContentReviewQueueService
-
getQueuedNotSubmittedItems
@Transactional(readOnly=true) public List<ContentReviewItem> getQueuedNotSubmittedItems(Integer providerId)
- Specified by:
getQueuedNotSubmittedItemsin interfaceContentReviewQueueService
-
getNextItemInQueueToSubmit
@Transactional(readOnly=true) public Optional<ContentReviewItem> getNextItemInQueueToSubmit(Integer providerId)
- Specified by:
getNextItemInQueueToSubmitin interfaceContentReviewQueueService
-
getAwaitingReports
@Transactional(readOnly=true) public List<ContentReviewItem> getAwaitingReports(Integer providerId)
- Specified by:
getAwaitingReportsin interfaceContentReviewQueueService
-
update
@Transactional public void update(ContentReviewItem item)
- Specified by:
updatein interfaceContentReviewQueueService
-
delete
@Transactional public void delete(ContentReviewItem item)
- Specified by:
deletein interfaceContentReviewQueueService
-
-