Class SystemInstance
java.lang.Object
com.aquima.interactions.portal.model.session.SystemInstance
Class that can be used to access the system instance with its attribute values.
This class is for internal use only, so does not contain all needed methods for external use.
- Since:
- 8.4
- Author:
- Jon van Leuven
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method adds a value to system.event.getEvent()
This method returns the current value for system.event.static SystemInstance
getInstance
(IProfile profile) This method can be used to acquire a system instance.This method returns the current value of system.languagegetToday()
This method returns the current value for system.today.void
void
setChannel
(String channelName) This method sets the current value for system.channel.void
setCurrentPage
(String pageName) This method sets the current value for system.currentpage.void
This method sets the current values for system.event.void
This method sets the current values for system.event.void
setLanguageName
(String name) This method sets the current value for system.language.void
setPageValid
(boolean pageValid) This method sets the current value for system.pagevalid.void
void
setTaskName
(IValue taskName) void
This method sets the current value for system.today.void
This method sets the current value for system.authorizationroles.
-
Field Details
-
TASK_NAME
- See Also:
-
-
Method Details
-
getInstance
This method can be used to acquire a system instance.- Parameters:
profile
- The profile that contains the system instance.- Returns:
- The system instance, never null.
-
getToday
This method returns the current value for system.today. -
setToday
This method sets the current value for system.today.- Parameters:
today
- The value for system.today
-
getEvent
This method returns the current value for system.event.- Returns:
- The current value for system.event, never null.
-
setEvent
This method sets the current values for system.event.- Parameters:
events
- The values for system.event
-
setEvent
This method sets the current values for system.event.- Parameters:
events
- The values for system.event
-
addEvent
This method adds a value to system.event.- Parameters:
event
- The value to add to system.event
-
setChannel
This method sets the current value for system.channel.- Parameters:
channelName
- The value for system.channel
-
setUserInfo
public void setUserInfo(String userId, String userName, String[] roles, String[] teams, String tenant) This method sets the current value for system.authorizationroles.- Parameters:
roles
- The values for system.authorizationroles
-
getLanguageName
This method returns the current value of system.language- Returns:
- the value for system.language
-
setLanguageName
This method sets the current value for system.language.- Parameters:
name
- The value for system.language
-
setCurrentPage
This method sets the current value for system.currentpage.- Parameters:
pageName
- The value for system.currentpage
-
setPageValid
public void setPageValid(boolean pageValid) This method sets the current value for system.pagevalid.- Parameters:
pageValid
- The value for system.pagevalid
-
getTaskId
-
setTaskId
-
getTaskName
-
setTaskName
-
getCaseId
-
setCaseId
-