Interface TranscriptChaptersRequester


public interface TranscriptChaptersRequester
What makes the chapters of transcripts (EXO-92122), as Documents asks it for those of a transcript opened with none. The transcriber implements it as a bean of the documents context, which DocumentTranscriptionService collects: Documents cannot see the transcriber's classes, only this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    requestChapters(String documentId)
    Asks for the chapters of a file's transcript, and tells whether they are coming.
  • Method Details

    • requestChapters

      boolean requestChapters(String documentId) throws org.exoplatform.commons.exception.ObjectNotFoundException
      Asks for the chapters of a file's transcript, and tells whether they are coming.
      Parameters:
      documentId - the file's UUID
      Returns:
      true when the chapters are queued now, or were queued and are not made yet; false when none are to be made (switched off, a recording too short, or already made or refused for this file)
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException - when the file does not exist