Package com.netlang.lang
Class GlobalProperty
java.lang.Object
com.netlang.lang.GlobalProperty
The
GlobalProperty class-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateNumberSeries(String category, String key, String description, int startValue) static Stringstatic booleangetBoolean(String key) static com.netlang.lang.DecimalgetDecimal(String key) static doublestatic intGet a Global property as an Int.static org.json.JSONObjectstatic longstatic longgetNumberSeries(String key, boolean increment) static com.intellus.xml.XMLDocumentlistCategories(String key) static voidstatic voidremoveCategory(String key) static voidstatic voidstatic voidstatic voidstatic voidstatic void
-
Constructor Details
-
GlobalProperty
public GlobalProperty()Initializes a newly createdGlobalProperty
-
-
Method Details
-
getInt
Get a Global property as an Int.- Parameters:
key-- Returns:
- Throws:
com.net4z.APIException
-
getDecimal
- Throws:
com.net4z.APIException
-
getDouble
- Throws:
com.net4z.APIException
-
getLong
- Throws:
com.net4z.APIException
-
getBoolean
- Throws:
com.net4z.APIException
-
set
- Throws:
com.net4z.APIException
-
set
- Throws:
com.net4z.APIException
-
set
- Throws:
com.net4z.APIException
-
set
- Throws:
com.net4z.APIException
-
set
- Throws:
com.net4z.APIException
-
set
- Throws:
com.net4z.APIException
-
get
- Throws:
com.net4z.APIException
-
getXML
- Throws:
com.net4z.APIException
-
getJSON
- Throws:
com.net4z.APIException
-
getNumberSeries
- Throws:
com.net4z.APIException
-
createNumberSeries
public static void createNumberSeries(String category, String key, String description, int startValue) throws Exception - Throws:
Exception
-
removeCategory
- Throws:
com.net4z.APIException
-
remove
- Throws:
com.net4z.APIException
-
listCategories
- Throws:
com.net4z.APIException
-
list
- Throws:
com.net4z.APIException
-