Package ch.tocco.nice2.infobox.impl
Class InfoboxPreferencesImpl
java.lang.Object
ch.tocco.nice2.infobox.impl.InfoboxPreferencesImpl
- All Implemented Interfaces:
InfoboxPreferences
-
Field Summary
Fields inherited from interface ch.tocco.nice2.infobox.api.InfoboxPreferences
DEFAULT_POSITION, NODE_PREFIX
-
Constructor Summary
ConstructorDescriptionInfoboxPreferencesImpl
(PreferencesFactory preferencesFactory, InfoboxSecurityService infoboxSecurityService) -
Method Summary
Modifier and TypeMethodDescriptiongetAllPreferences
(String boxId) int
getInfoboxHeight
(String boxId) getInfoboxPosition
(String boxId) getInfoboxStatus
(String boxId) void
setInfoboxHeight
(String boxId, int height) void
setInfoboxPosition
(String boxId, String position) void
setInfoboxStatus
(String boxId, String statusId)
-
Field Details
-
defaultHeight
public static final int defaultHeight- See Also:
-
defaultStatus
-
-
Constructor Details
-
InfoboxPreferencesImpl
public InfoboxPreferencesImpl(PreferencesFactory preferencesFactory, InfoboxSecurityService infoboxSecurityService)
-
-
Method Details
-
getInfoboxHeight
- Specified by:
getInfoboxHeight
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-
setInfoboxHeight
- Specified by:
setInfoboxHeight
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-
getInfoboxStatus
- Specified by:
getInfoboxStatus
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-
setInfoboxStatus
- Specified by:
setInfoboxStatus
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-
getInfoboxPosition
- Specified by:
getInfoboxPosition
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-
setInfoboxPosition
- Specified by:
setInfoboxPosition
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-
getAllPreferences
- Specified by:
getAllPreferences
in interfaceInfoboxPreferences
- Throws:
InfoboxPreferencesException
-