Package com.aquima.interactions.portal
Interface IPortalMessageScope
- All Superinterfaces:
IPortalScope
,Serializable
- All Known Subinterfaces:
IInternalSessionScope
,IPageScope
,ISessionScope
- All Known Implementing Classes:
ConcurrentPageScope
,ConcurrentPortalMessageScope
,ConcurrentSessionScope
,PageScope
,PageScopeDelegate
,PortalMessageScope
,ProcessEnabledSessionScope
,ReadonlySessionScope
,SessionScope
,SessionScopeDelegate
,SessionScopeWrapper
Scope interface for scopes containing PortalMessage mappings
- Since:
- 9.2
- Author:
- A.Pragt
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearPortalMessageAction
(String portalMessage) Clears the current action to the specified portal message.String[]
Returns the portalMessages for which a mapping is defined.getPortalMessageAction
(String portalMessage) Returns the current action for the specified portal message.void
setPortalMessageAction
(String portalMessage, PortalMessageAction action) Sets the action to the specified portal message.Methods inherited from interface com.aquima.interactions.portal.IPortalScope
clearAttribute, getAttribute, getAttributeNames, getType, hasAttribute, setAttribute
-
Method Details
-
getMappedPortalMessages
String[] getMappedPortalMessages()Returns the portalMessages for which a mapping is defined.- Returns:
- The names of the mapped portal messages, not null.
-
setPortalMessageAction
Sets the action to the specified portal message.- Parameters:
portalMessage
- The portal message to map, not null or empty.action
- The action to perform on the message, not null.
-
clearPortalMessageAction
Clears the current action to the specified portal message.- Parameters:
portalMessage
- The portal message to clear, not null or empty.
-
getPortalMessageAction
Returns the current action for the specified portal message.- Parameters:
portalMessage
- The portal message to retrieve the action for, not null or empty.- Returns:
- The current action.
-