Record Class RecordingEntity
java.lang.Object
java.lang.Record
org.exoplatform.webconferencing.rest.model.RecordingEntity
- Record Components:
documentId- the JCR identifier of the recording's file, the id the documents add-on and its transcription REST taketitle- the title displayed in DocumentsrecordedDate- when the recording was saved, an ISO 8601 instant in UTCstartedDate- when the recording started, an ISO 8601 instant in UTC, or null when its file name does not tell itsizeBytes- the size of the recording in bytes, -1 when unknownmimeType- the media type of the recordingdurationSeconds- how long the recording lasts, in seconds, or null when its file does not tell itpreviewUrl- the link opening the recording in the Documents preview
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedocumentIdrecord component.Returns the value of thedurationSecondsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mimeType()Returns the value of themimeTyperecord component.Returns the value of thepreviewUrlrecord component.Returns the value of therecordedDaterecord component.longReturns the value of thesizeBytesrecord component.Returns the value of thestartedDaterecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RecordingEntity
public RecordingEntity(String documentId, String title, String recordedDate, String startedDate, long sizeBytes, String mimeType, Long durationSeconds, String previewUrl) Creates an instance of aRecordingEntityrecord class.- Parameters:
documentId- the value for thedocumentIdrecord componenttitle- the value for thetitlerecord componentrecordedDate- the value for therecordedDaterecord componentstartedDate- the value for thestartedDaterecord componentsizeBytes- the value for thesizeBytesrecord componentmimeType- the value for themimeTyperecord componentdurationSeconds- the value for thedurationSecondsrecord componentpreviewUrl- the value for thepreviewUrlrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
documentId
Returns the value of thedocumentIdrecord component.- Returns:
- the value of the
documentIdrecord component
-
title
-
recordedDate
Returns the value of therecordedDaterecord component.- Returns:
- the value of the
recordedDaterecord component
-
startedDate
Returns the value of thestartedDaterecord component.- Returns:
- the value of the
startedDaterecord component
-
sizeBytes
-
mimeType
-
durationSeconds
Returns the value of thedurationSecondsrecord component.- Returns:
- the value of the
durationSecondsrecord component
-
previewUrl
Returns the value of thepreviewUrlrecord component.- Returns:
- the value of the
previewUrlrecord component
-