Package net.ontopia.topicmaps.nav2.core
Interface UserIF
- All Known Implementing Classes:
User
public interface UserIF
INTERNAL: interface for classes which implement user data management
usually stored in the session.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLogMessage(String message) INTERNAL: Adds a message to the user's log.voidaddWorkingBundle(String bundle_id, Object object) INTERNAL: Stores a working bundle of objects under the specifiedid.voidclearLog()INTERNAL: Clears the user's log.INTERNAL: Gets the Filter Context object which stores for each topicmap a set of themes the user has selected.INTERNAL: Gets the last used objects (instances of Object, specialisation through the web application) which the user has visited.getId()INTERNAL: Gets the user identifier.INTERNAL: Gets the current log messages from the ring buffer.getModel()Get Model Setting for MVS.getSkin()Get Skin (Stylesheet) Setting for MVS.getView()Get View (Template) Setting for MVS.getWorkingBundle(String bundle_id) INTERNAL: Gets an ordered lists of objects (parameter name as key, list of objects as value) grouped together by the given identifierid.voidremoveWorkingBundle(String bundle_id) INTERNAL: Removes the specified working bundle.voidsetHistory(HistoryMap hm) INTERNAL: Sets the last used objects that are in relation to the user and his path through the web application.voidSet Model Setting.voidSet Skin Setting.voidSet View Setting.
-
Field Details
-
COMMON_USER
Default User identifier- See Also:
-
DEFAULT_MODEL
Default Model name- See Also:
-
DEFAULT_VIEW
Default View/Template- See Also:
-
DEFAULT_SKIN
Default Skin/CSS- See Also:
-
-
Method Details
-
getId
String getId()INTERNAL: Gets the user identifier. -
getFilterContext
UserFilterContextStore getFilterContext()INTERNAL: Gets the Filter Context object which stores for each topicmap a set of themes the user has selected. -
getHistory
HistoryMap getHistory()INTERNAL: Gets the last used objects (instances of Object, specialisation through the web application) which the user has visited.- Since:
- 1.2.5
-
addLogMessage
INTERNAL: Adds a message to the user's log. The order of these messages is preserved, but if too many messages are added, the latest ones are lost. -
clearLog
void clearLog()INTERNAL: Clears the user's log. -
getLogMessages
List getLogMessages()INTERNAL: Gets the current log messages from the ring buffer.- Since:
- 1.3.2
-
addWorkingBundle
INTERNAL: Stores a working bundle of objects under the specifiedid.- Since:
- 1.3.2
-
getWorkingBundle
INTERNAL: Gets an ordered lists of objects (parameter name as key, list of objects as value) grouped together by the given identifierid.- Since:
- 1.3.2
-
removeWorkingBundle
INTERNAL: Removes the specified working bundle.- Since:
- 1.3.2
-
getModel
String getModel()Get Model Setting for MVS. -
setModel
Set Model Setting. -
getView
String getView()Get View (Template) Setting for MVS. -
setView
Set View Setting. -
getSkin
String getSkin()Get Skin (Stylesheet) Setting for MVS. -
setSkin
Set Skin Setting.
-