Package net.ontopia.topicmaps.nav2.core
Interface UserIF
-
- All Known Implementing Classes:
User
public interface UserIFINTERNAL: interface for classes which implement user data management usually stored in the session.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMMON_USERDefault User identifierstatic StringDEFAULT_MODELDefault Model namestatic StringDEFAULT_SKINDefault Skin/CSSstatic StringDEFAULT_VIEWDefault View/Template
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLogMessage(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.UserFilterContextStoregetFilterContext()INTERNAL: Gets the Filter Context object which stores for each topicmap a set of themes the user has selected.HistoryMapgetHistory()INTERNAL: Gets the last used objects (instances of Object, specialisation through the web application) which the user has visited.StringgetId()INTERNAL: Gets the user identifier.ListgetLogMessages()INTERNAL: Gets the current log messages from the ring buffer.StringgetModel()Get Model Setting for MVS.StringgetSkin()Get Skin (Stylesheet) Setting for MVS.StringgetView()Get View (Template) Setting for MVS.ObjectgetWorkingBundle(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.voidsetModel(String model)Set Model Setting.voidsetSkin(String skin)Set Skin Setting.voidsetView(String view)Set View Setting.
-
-
-
Field Detail
-
COMMON_USER
static final String COMMON_USER
Default User identifier- See Also:
- Constant Field Values
-
DEFAULT_MODEL
static final String DEFAULT_MODEL
Default Model name- See Also:
- Constant Field Values
-
DEFAULT_VIEW
static final String DEFAULT_VIEW
Default View/Template- See Also:
- Constant Field Values
-
DEFAULT_SKIN
static final String DEFAULT_SKIN
Default Skin/CSS- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
setHistory
void setHistory(HistoryMap hm)
INTERNAL: Sets the last used objects that are in relation to the user and his path through the web application.- Since:
- 1.2.5
-
addLogMessage
void addLogMessage(String message)
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
void addWorkingBundle(String bundle_id, Object object)
INTERNAL: Stores a working bundle of objects under the specifiedid.- Since:
- 1.3.2
-
getWorkingBundle
Object 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.- Since:
- 1.3.2
-
removeWorkingBundle
void removeWorkingBundle(String bundle_id)
INTERNAL: Removes the specified working bundle.- Since:
- 1.3.2
-
getModel
String getModel()
Get Model Setting for MVS.
-
setModel
void setModel(String model)
Set Model Setting.
-
getView
String getView()
Get View (Template) Setting for MVS.
-
setView
void setView(String view)
Set View Setting.
-
getSkin
String getSkin()
Get Skin (Stylesheet) Setting for MVS.
-
setSkin
void setSkin(String skin)
Set Skin Setting.
-
-