Class ConcurrentPortalMessageScope
java.lang.Object
com.aquima.interactions.portal.model.session.concurrent.ConcurrentPortalScope
com.aquima.interactions.portal.model.session.concurrent.ConcurrentPortalMessageScope
- All Implemented Interfaces:
IPortalMessageScope
,IPortalScope
,Serializable
- Direct Known Subclasses:
ConcurrentPageScope
,ConcurrentSessionScope
public abstract class ConcurrentPortalMessageScope
extends ConcurrentPortalScope
implements IPortalMessageScope
Abstract portal message scope implementation that uses locking to handle concurrent method calls.
- Since:
- 9.2
- Author:
- A.Pragt
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
ConcurrentPortalMessageScope
(IPortalMessageScope delegate, ReadWriteLock lock) -
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 class com.aquima.interactions.portal.model.session.concurrent.ConcurrentPortalScope
clearAttribute, destroyDisposableObjects, getAttribute, getAttributeNames, hasAttribute, setAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.aquima.interactions.portal.IPortalScope
clearAttribute, getAttribute, getAttributeNames, getType, hasAttribute, setAttribute
-
Constructor Details
-
ConcurrentPortalMessageScope
-
-
Method Details
-
getMappedPortalMessages
Description copied from interface:IPortalMessageScope
Returns the portalMessages for which a mapping is defined.- Specified by:
getMappedPortalMessages
in interfaceIPortalMessageScope
- Returns:
- The names of the mapped portal messages, not null.
-
setPortalMessageAction
Description copied from interface:IPortalMessageScope
Sets the action to the specified portal message.- Specified by:
setPortalMessageAction
in interfaceIPortalMessageScope
- Parameters:
portalMessage
- The portal message to map, not null or empty.action
- The action to perform on the message, not null.
-
clearPortalMessageAction
Description copied from interface:IPortalMessageScope
Clears the current action to the specified portal message.- Specified by:
clearPortalMessageAction
in interfaceIPortalMessageScope
- Parameters:
portalMessage
- The portal message to clear, not null or empty.
-
getPortalMessageAction
Description copied from interface:IPortalMessageScope
Returns the current action for the specified portal message.- Specified by:
getPortalMessageAction
in interfaceIPortalMessageScope
- Parameters:
portalMessage
- The portal message to retrieve the action for, not null or empty.- Returns:
- The current action.
-