Package com.saperion.intf
Interface SaSystemSetting
-
- All Superinterfaces:
SaSetting
- All Known Implementing Classes:
SaSystemSettingImpl
public interface SaSystemSetting extends SaSetting
Interface holding the system specific settings to be transported to other components; to get this information no user authentication is required.- Author:
- mak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends SaSystemSettingType>
TgetEntry(java.lang.Class<T> klass)
Returns the specific system setting.<T extends SaSystemSettingType>
booleanhasEntry(java.lang.Class<T> klass)
Checks, if the system setting for the given key exists.<T extends SaSystemSettingType>
voidsetEntry(java.lang.Class<T> klass, T setting)
Sets the system setting.-
Methods inherited from interface com.saperion.intf.SaSetting
getAccessKey
-
-
-
-
Method Detail
-
getEntry
<T extends SaSystemSettingType> T getEntry(java.lang.Class<T> klass)
Returns the specific system setting.- Type Parameters:
T
- specializedSaSystemSettingType
- Parameters:
klass
- class- Returns:
- the concrete
SaSystemSettingType
instance
-
setEntry
<T extends SaSystemSettingType> void setEntry(java.lang.Class<T> klass, T setting)
Sets the system setting.- Type Parameters:
T
- specializedSaSystemSettingType
- Parameters:
klass
- classsetting
- the concreteSaSystemSettingType
instance
-
hasEntry
<T extends SaSystemSettingType> boolean hasEntry(java.lang.Class<T> klass)
Checks, if the system setting for the given key exists.- Type Parameters:
T
- specializedSaSystemSettingType
- Parameters:
klass
- class- Returns:
true
if a system setting exists to the given key, otherwisefalse
-
-