From c9e5e53845a027c4d75916e04c85ee335039996e Mon Sep 17 00:00:00 2001
From: Felix Schmidt <felix.schmidt@mni.thm.de>
Date: Tue, 13 Jan 2015 14:21:58 +0100
Subject: [PATCH] Added new public pool Attributes 'description' and 'faculty'.

---
 .../java/de/thm/arsnova/dao/CouchDBDao.java    |  2 ++
 .../java/de/thm/arsnova/entities/Session.java  | 18 ++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
index 5b56a589..8e6a0616 100644
--- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
+++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java
@@ -352,6 +352,8 @@ public class CouchDBDao implements IDatabaseDao {
 		sessionDocument.put("ppLogo", session.getPpLogo());
 		sessionDocument.put("ppSubject", session.getPpSubject());
 		sessionDocument.put("ppLicense", session.getPpLicense());
+		sessionDocument.put("ppDescription", session.getPpDescription());
+		sessionDocument.put("ppFaculty", session.getPpFaculty());
 		sessionDocument.put("sessionType", session.getSessionType());
 		try {
 			database.saveDocument(sessionDocument);
diff --git a/src/main/java/de/thm/arsnova/entities/Session.java b/src/main/java/de/thm/arsnova/entities/Session.java
index 35f7e06d..2c23654f 100644
--- a/src/main/java/de/thm/arsnova/entities/Session.java
+++ b/src/main/java/de/thm/arsnova/entities/Session.java
@@ -45,6 +45,8 @@ public class Session implements Serializable {
 	private String ppLogo;
 	private String ppSubject;
 	private String ppLicense;
+	private String ppDescription;
+	private String ppFaculty;
 	private String sessionType;
 
 	private String _id;
@@ -211,6 +213,22 @@ public class Session implements Serializable {
 		this.ppLicense = ppLicense;
 	}
 	
+	public String getPpDescription() {
+		return ppDescription;
+	}
+	
+	public void setPpDescription(final String ppDescription) {
+		this.ppDescription = ppDescription;
+	}
+	
+	public String getPpFaculty() {
+		return ppFaculty;
+	}
+	
+	public void setPpFaculty(final String ppFaculty) {
+		this.ppFaculty = ppFaculty;
+	}
+	
 	public String getSessionType() {
 		return sessionType;
 	}
-- 
GitLab