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 Modifier and Type Field Description static String
COMMON_USER
Default User identifierstatic String
DEFAULT_MODEL
Default Model namestatic String
DEFAULT_SKIN
Default Skin/CSSstatic String
DEFAULT_VIEW
Default View/Template
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addLogMessage(String message)
INTERNAL: Adds a message to the user's log.void
addWorkingBundle(String bundle_id, Object object)
INTERNAL: Stores a working bundle of objects under the specifiedid
.void
clearLog()
INTERNAL: Clears the user's log.UserFilterContextStore
getFilterContext()
INTERNAL: Gets the Filter Context object which stores for each topicmap a set of themes the user has selected.HistoryMap
getHistory()
INTERNAL: Gets the last used objects (instances of Object, specialisation through the web application) which the user has visited.String
getId()
INTERNAL: Gets the user identifier.List
getLogMessages()
INTERNAL: Gets the current log messages from the ring buffer.String
getModel()
Get Model Setting for MVS.String
getSkin()
Get Skin (Stylesheet) Setting for MVS.String
getView()
Get View (Template) Setting for MVS.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
.void
removeWorkingBundle(String bundle_id)
INTERNAL: Removes the specified working bundle.void
setHistory(HistoryMap hm)
INTERNAL: Sets the last used objects that are in relation to the user and his path through the web application.void
setModel(String model)
Set Model Setting.void
setSkin(String skin)
Set Skin Setting.void
setView(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.
-
-