OpenPetra
Free Administration Software for Non-Profits
|
Reads and updates/adds System Defaults. More...
Static Public Member Functions | |
static bool | IsSystemDefaultDefined (String ASystemDefaultName) |
Call this Method to find out whether a System Default is defined, that is, if it exists in the System Defaults table. More... | |
static String | GetSystemDefault (String ASystemDefaultName) |
Returns the value of the specified System Default. More... | |
static String | GetSystemDefault (String ASystemDefaultName, String ADefault) |
Returns the value of the specified System Default. More... | |
static bool | GetBooleanDefault (String ASystemDefaultName, bool ADefault) |
Gets the value of a System Default as a bool. More... | |
static bool | GetBooleanDefault (String ASystemDefaultName) |
Gets the value of a System Default as a bool. More... | |
static System.Char | GetCharDefault (String ASystemDefaultName, System.Char ADefault) |
Gets the value of a System Default as a char. More... | |
static System.Char | GetCharDefault (String ASystemDefaultName) |
Gets the value of a System Default as a char. More... | |
static double | GetDoubleDefault (String ASystemDefaultName, double ADefault) |
Gets the value of a System Default as a double. More... | |
static double | GetDoubleDefault (String ASystemDefaultName) |
Gets the value of a System Default as a double. More... | |
static System.Int16 | GetInt16Default (String ASystemDefaultName, System.Int16 ADefault) |
Gets the value of a System Default as an Int16. More... | |
static System.Int16 | GetInt16Default (String ASystemDefaultName) |
Gets the value of a System Default as an Int16. More... | |
static System.Int32 | GetInt32Default (String ASystemDefaultName, System.Int32 ADefault) |
Gets the value of a System Default as an Int32. More... | |
static System.Int32 | GetInt32Default (String ASystemDefaultName) |
Gets the value of a System Default as an Int32. More... | |
static System.Int64 | GetInt64Default (String ASystemDefaultName, System.Int64 ADefault) |
Gets the value of a System Default as an Int64. More... | |
static System.Int64 | GetInt64Default (String ASystemDefaultName) |
Gets the value of a System Default as an Int64. More... | |
static String | GetStringDefault (String ASystemDefaultName, String ADefault) |
Gets the value of a System Default as a string. More... | |
static String | GetStringDefault (String ASystemDefaultName) |
Gets the value of a System Default as a string. More... | |
static Int64 | GetSiteKeyDefault () |
Gets the SiteKey Sytem Default. More... | |
static SSystemDefaultsTable | GetSystemDefaults () |
Returns the System Defaults as a DataTable. More... | |
static bool | SetSystemDefault (String AKey, String AValue) |
Sets the value of a System Default. If the System Default doesn't exist yet it will be created by that call. More... | |
static bool | SetSystemDefault (String AKey, String AValue, out bool AAdded) |
Sets the value of a System Default. If the System Default doesn't exist yet it will be created by that call. More... | |
Reads and updates/adds System Defaults.
|
inlinestatic |
Gets the value of a System Default as a bool.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Gets the value of a System Default as a bool.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
|
inlinestatic |
Gets the value of a System Default as a char.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Gets the value of a System Default as a char.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
|
inlinestatic |
Gets the value of a System Default as a double.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Gets the value of a System Default as a double.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
|
inlinestatic |
Gets the value of a System Default as an Int16.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Gets the value of a System Default as an Int16.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
|
inlinestatic |
Gets the value of a System Default as an Int32.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Gets the value of a System Default as an Int32.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
|
inlinestatic |
Gets the value of a System Default as an Int64.
ASystemDefaultName | The System Default for which the value should be returned. |
Do not inquire the 'SiteKey' System Default with this Method! Rather, always use the GetSiteKeyDefault Method!
|
inlinestatic |
Gets the value of a System Default as an Int64.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
Do not inquire the 'SiteKey' System Default with this Method! Rather, always use the GetSiteKeyDefault Method!
|
inlinestatic |
Gets the SiteKey Sytem Default.
Note: The SiteKey can get changed by a user with the necessary priviledges while being logged in to OpenPetra and this gets reflected when this Method gets called.
|
inlinestatic |
Gets the value of a System Default as a string.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Gets the value of a System Default as a string.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
|
inlinestatic |
Returns the value of the specified System Default.
The caller doesn't need to know whether the Cache is already populated - if this should be necessary, this function will make a request to populate the cache.
SystemDefault Names are not case sensitive.
ASystemDefaultName | The System Default for which the value should be returned. |
|
inlinestatic |
Returns the value of the specified System Default.
The caller doesn't need to know whether the Cache is already populated - if this should be necessary, this function will make a request to populate the cache.
ASystemDefaultName | The System Default for which the value should be returned. |
ADefault | The value that should be returned if the System Default was not found. |
SystemDefault Names are not case sensitive.
|
inlinestatic |
Returns the System Defaults as a DataTable.
|
inlinestatic |
Call this Method to find out whether a System Default is defined, that is, if it exists in the System Defaults table.
ASystemDefaultName | The System Default that should be checked. |
|
inlinestatic |
Sets the value of a System Default. If the System Default doesn't exist yet it will be created by that call.
AKey | Name of new or existing System Default. |
AValue | String Value. |
|
inlinestatic |
Sets the value of a System Default. If the System Default doesn't exist yet it will be created by that call.
AKey | Name of new or existing System Default. |
AValue | String Value. |
AAdded | True if the System Default got added, false if it already existed. |