Bug:129 Connection Manager Dashlet
[controller.git] / opendaylight / web / devices / src / main / java / org / opendaylight / controller / devices / web / DevicesJsonBean.java
index 6b77f119edcea1bf6e656ffe46eef6e9b16d39aa..ce0b3763e06bb26f1e3c46e657e8fa4f2e2c5447 100644 (file)
@@ -11,9 +11,12 @@ package org.opendaylight.controller.devices.web;
 import java.util.List;
 import java.util.Map;
 
+import org.opendaylight.controller.sal.authorization.Privilege;
+
 public class DevicesJsonBean {
     private List<String> columnNames;
     private List<Map<String, String>> nodeData;
+    private Privilege privilege;
 
     public List<String> getColumnNames() {
         return columnNames;
@@ -30,4 +33,12 @@ public class DevicesJsonBean {
     public void setNodeData(List<Map<String, String>> nodeData) {
         this.nodeData = nodeData;
     }
+
+    public void setPrivilege(Privilege privilege) {
+        this.privilege = privilege;
+    }
+
+    public Privilege getPrivilege() {
+        return privilege;
+    }
 }