You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by so...@apache.org on 2015/10/12 12:43:13 UTC
svn commit: r1708082 - in /openmeetings:
branches/3.0.x/src/db/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
trunk/singlewebapp/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
Author: solomax
Date: Mon Oct 12 10:43:13 2015
New Revision: 1708082
URL: http://svn.apache.org/viewvc?rev=1708082&view=rev
Log:
[OPENMEETINGS-1266] width/height are added to RecordingDTO
Modified:
openmeetings/branches/3.0.x/src/db/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
openmeetings/trunk/singlewebapp/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
Modified: openmeetings/branches/3.0.x/src/db/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
URL: http://svn.apache.org/viewvc/openmeetings/branches/3.0.x/src/db/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java?rev=1708082&r1=1708081&r2=1708082&view=diff
==============================================================================
--- openmeetings/branches/3.0.x/src/db/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java (original)
+++ openmeetings/branches/3.0.x/src/db/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java Mon Oct 12 10:43:13 2015
@@ -34,6 +34,8 @@ public class RecordingDTO {
private boolean interview;
private Date start;
private Date end;
+ private Integer width;
+ private Integer height;
public RecordingDTO() {}
@@ -47,6 +49,8 @@ public class RecordingDTO {
this.interview = r.getIsInterview();
this.start = r.getRecordStart();
this.end = r.getRecordEnd();
+ this.width = r.getWidth();
+ this.height = r.getHeight();
}
public Long getId() {
@@ -121,6 +125,22 @@ public class RecordingDTO {
this.end = end;
}
+ public Integer getWidth() {
+ return width;
+ }
+
+ public void setWidth(Integer width) {
+ this.width = width;
+ }
+
+ public Integer getHeight() {
+ return height;
+ }
+
+ public void setHeight(Integer height) {
+ this.height = height;
+ }
+
public static List<RecordingDTO> list(List<FlvRecording> l) {
List<RecordingDTO> rList = new ArrayList<RecordingDTO>();
if (l != null) {
Modified: openmeetings/trunk/singlewebapp/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
URL: http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java?rev=1708082&r1=1708081&r2=1708082&view=diff
==============================================================================
--- openmeetings/trunk/singlewebapp/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java (original)
+++ openmeetings/trunk/singlewebapp/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java Mon Oct 12 10:43:13 2015
@@ -42,6 +42,8 @@ public class RecordingDTO implements Ser
private boolean interview;
private Date start;
private Date end;
+ private Integer width;
+ private Integer height;
public RecordingDTO() {}
@@ -55,6 +57,8 @@ public class RecordingDTO implements Ser
this.interview = r.getIsInterview();
this.start = r.getRecordStart();
this.end = r.getRecordEnd();
+ this.width = r.getWidth();
+ this.height = r.getHeight();
}
public Long getId() {
@@ -129,6 +133,22 @@ public class RecordingDTO implements Ser
this.end = end;
}
+ public Integer getWidth() {
+ return width;
+ }
+
+ public void setWidth(Integer width) {
+ this.width = width;
+ }
+
+ public Integer getHeight() {
+ return height;
+ }
+
+ public void setHeight(Integer height) {
+ this.height = height;
+ }
+
public static List<RecordingDTO> list(List<Recording> l) {
List<RecordingDTO> rList = new ArrayList<RecordingDTO>();
if (l != null) {