Class GlobalProperty

java.lang.Object
com.netlang.lang.GlobalProperty

public class GlobalProperty extends Object
The GlobalProperty class
  • Constructor Details

    • GlobalProperty

      public GlobalProperty()
      Initializes a newly created GlobalProperty
  • Method Details

    • getInt

      public static int getInt(String key) throws com.net4z.APIException
      Get a Global property as an Int.
      Parameters:
      key -
      Returns:
      Throws:
      com.net4z.APIException
    • getDecimal

      public static com.netlang.lang.Decimal getDecimal(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • getDouble

      public static double getDouble(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • getLong

      public static long getLong(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • getBoolean

      public static boolean getBoolean(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • set

      public static void set(String key, String value) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • set

      public static void set(String key, com.intellus.xml.XMLDocument doc) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • set

      public static void set(String key, org.json.JSONObject jo) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • set

      public static void set(String key, double value) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • set

      public static void set(String key, long value) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • set

      public static void set(String key, int value) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • get

      public static String get(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • getXML

      public static com.intellus.xml.XMLDocument getXML(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • getJSON

      public static org.json.JSONObject getJSON(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • getNumberSeries

      public static long getNumberSeries(String key, boolean increment) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • createNumberSeries

      public static void createNumberSeries(String category, String key, String description, int startValue) throws Exception
      Throws:
      Exception
    • removeCategory

      public static void removeCategory(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • remove

      public static void remove(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • listCategories

      public static List<String> listCategories(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • list

      public static List<String> list(String key) throws com.net4z.APIException
      Throws:
      com.net4z.APIException