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 2017/08/28 07:57:39 UTC

openmeetings git commit: no jira: recording dto is updated to have ownerId field

Repository: openmeetings
Updated Branches:
  refs/heads/3.3.x 326bd8ff7 -> ba1bd5a38


no jira: recording dto is updated to have ownerId field


Project: http://git-wip-us.apache.org/repos/asf/openmeetings/repo
Commit: http://git-wip-us.apache.org/repos/asf/openmeetings/commit/ba1bd5a3
Tree: http://git-wip-us.apache.org/repos/asf/openmeetings/tree/ba1bd5a3
Diff: http://git-wip-us.apache.org/repos/asf/openmeetings/diff/ba1bd5a3

Branch: refs/heads/3.3.x
Commit: ba1bd5a38d443d8e67131163d4bbad8d67da25f6
Parents: 326bd8f
Author: Maxim Solodovnik <so...@gmail.com>
Authored: Mon Aug 28 14:57:31 2017 +0700
Committer: Maxim Solodovnik <so...@gmail.com>
Committed: Mon Aug 28 14:57:31 2017 +0700

----------------------------------------------------------------------
 .../db/dto/record/RecordingDTO.java             | 22 ++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/openmeetings/blob/ba1bd5a3/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
----------------------------------------------------------------------
diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
index e0bbea3..7f00e57 100644
--- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
+++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dto/record/RecordingDTO.java
@@ -43,9 +43,10 @@ public class RecordingDTO implements Serializable {
 	private Date end;
 	private Integer width;
 	private Integer height;
+	private Long ownerId;
 
 	public RecordingDTO() {}
-	
+
 	public RecordingDTO(Recording r) {
 		this.id = r.getId();
 		this.name = r.getName();
@@ -57,6 +58,7 @@ public class RecordingDTO implements Serializable {
 		this.end = r.getRecordEnd();
 		this.width = r.getWidth();
 		this.height = r.getHeight();
+		this.ownerId = r.getOwnerId();
 	}
 
 	public Long getId() {
@@ -122,23 +124,31 @@ public class RecordingDTO implements Serializable {
 	public void setEnd(Date end) {
 		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 Long getOwnerId() {
+		return ownerId;
+	}
+
+	public void setOwnerId(Long ownerId) {
+		this.ownerId = ownerId;
+	}
+
 	public static List<RecordingDTO> list(List<Recording> l) {
 		List<RecordingDTO> list = new ArrayList<>();
 		if (l != null) {