alcatel/dataparser/ClientDocumentaryFileAttributes.py
changeset 37 3848e1813a30
parent 27 8ca7f2cea729
child 42 de4e97ded3c6
--- a/alcatel/dataparser/ClientDocumentaryFileAttributes.py	Mon Jul 22 14:56:35 2013 +0200
+++ b/alcatel/dataparser/ClientDocumentaryFileAttributes.py	Wed Aug 14 16:36:41 2013 +0200
@@ -44,6 +44,22 @@
             logger.info('No query_id attribute in the http post request. ' + str(err))
         return query_id
     
+    def get_json_treemap(self):
+        jsontreemap = ''
+        try:
+            jsontreemap = self.request.POST['jsontreemap']
+        except Exception, err:
+            logger.info('No jsontreemap attribute in the http post request. ' + str(err))
+        return jsontreemap
+    
+    def get_json_streamgraph(self):
+        jsonstreamgraph = ''
+        try:
+            jsonstreamgraph = self.request.POST['jsonstreamgraph']
+        except Exception, err:
+            logger.info('No jsonstreamgraph attribute in the http post request. ' + str(err))
+        return jsonstreamgraph
+    
     def get_visibility(self):
         visibility = False
         try: