Class RecordingEntityBuilder

java.lang.Object
org.exoplatform.webconferencing.rest.util.RecordingEntityBuilder

public final class RecordingEntityBuilder extends Object
Maps the recordings of a call to their REST form.
  • Method Details

    • toEntity

      public static RecordingEntity toEntity(RecordingInfo recording)
      Maps a recording to its REST form.
      Parameters:
      recording - the recording
      Returns:
      its REST form
    • toEntity

      public static RecordingCallEntity toEntity(RecordingCall call, int graceHours)
      Maps the call of a recording to its REST form.
      Parameters:
      call - the call of the recording
      graceHours - the grace the recordings of an occurrence are listed with
      Returns:
      its REST form