it.eng.spagobi.engines.commonj.utils
Class GeneralUtils

java.lang.Object
  extended by it.eng.spagobi.engines.commonj.utils.GeneralUtils

public class GeneralUtils
extends java.lang.Object


Constructor Summary
GeneralUtils()
           
 
Method Summary
static org.json.JSONObject buildJSONObject(java.lang.String pid, int statusCode)
           
static java.lang.String getEventMessage(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneralUtils

public GeneralUtils()
Method Detail

getEventMessage

public static java.lang.String getEventMessage(int status)

buildJSONObject

public static org.json.JSONObject buildJSONObject(java.lang.String pid,
                                                  int statusCode)
                                           throws org.json.JSONException
Throws:
org.json.JSONException