Class EventContextBase
java.lang.Object
com.aquima.interactions.test.templates.context.PortalContextBase
com.aquima.interactions.test.templates.context.EventContextBase
- All Implemented Interfaces:
com.aquima.interactions.portal.IEventContext
,com.aquima.interactions.portal.IPortalContext
,com.aquima.interactions.portal.model.IInternalPortalContext
,Serializable
public abstract class EventContextBase
extends PortalContextBase
implements com.aquima.interactions.portal.IEventContext
Base class for event context templates.
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
EventContextBase
(EventContextTemplate template) protected
EventContextBase
(EventContextTemplate template, com.aquima.interactions.foundation.logging.audit.IAuditEngine auditEngine, com.aquima.interactions.portal.ICommentsManager commentsManager) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addErrorMessage
(com.aquima.interactions.profile.ValueReference attributeReference, String key, String[] parameters) boolean
addErrorText
(com.aquima.interactions.profile.ValueReference attributeReference, com.aquima.interactions.foundation.text.IMultilingualText text) boolean
addWarningMessage
(com.aquima.interactions.profile.ValueReference attributeReference, String key, String[] parameters) boolean
addWarningText
(com.aquima.interactions.profile.ValueReference attributeReference, com.aquima.interactions.foundation.text.IMultilingualText text) boolean
com.aquima.interactions.portal.IErrorMessage[]
getErrors
(boolean onlyGenericErrors) com.aquima.interactions.portal.IErrorMessage[]
getErrors
(com.aquima.interactions.profile.ValueReference attributeReference) com.aquima.interactions.portal.IFiredEvent
getEvent()
boolean
boolean
boolean
void
setFlowBlocked
(boolean rollback) void
setStopOnErrors
(boolean stopOnErrors) Methods inherited from class com.aquima.interactions.test.templates.context.PortalContextBase
addRequestScopeAttribute, forModule, forModule, getActiveInstance, getApplication, getApplicationMode, getApplicationModel, getAuditEngine, getCaseEngineClient, getCommentsManager, getCommunicationEngine, getComposer, getConfiguration, getConnectionManager, getContentManagerFactory, getContentManagerFactory, getCurrentFlow, getCurrentLanguage, getDebugger, getDocumentEngine, getElementComposer, getExpressionParser, getFactoryManager, getFlowEngine, getFlowScope, getFunctionCallDefinitionManager, getId, getInternalCommunicationEngine, getMappingComposer, getMappingManager, getMaskManager, getMatchEngine, getMessageBus, getMetaModel, getPageScope, getProcessScope, getProfile, getProject, getRequestScope, getResourceManager, getRuleEngine, getServiceManager, getSessionId, getSessionScope, getState, getTraceEngine, getTreeEngine, getUserProfile, getUserScope, getWebServices, pushActiveInstance, restore
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.IEventContext
setFocus
Methods inherited from interface com.aquima.interactions.portal.IPortalContext
forModule, forModule, getActiveInstance, getApplicationMode, getAuditEngine, getCaseEngineClient, getCommentsManager, getCommunicationEngine, getConnectionManager, getContentManagerFactory, getContentManagerFactory, getCurrentFlow, getCurrentLanguage, getDebugger, getDocumentEngine, getElementComposer, getExpressionParser, getFlowEngine, getFlowScope, getFunctionCallDefinitionManager, getMappingComposer, getMappingManager, getMaskManager, getMatchEngine, getMetaModel, getPageScope, getProcessScope, getProfile, getProject, getRequestScope, getResourceManager, getRuleEngine, getServiceManager, getSessionId, getSessionScope, getState, getTraceEngine, getTreeEngine, getUserProfile, getUserScope, getWebServices, pushActiveInstance, restore
-
Constructor Details
-
EventContextBase
protected EventContextBase(EventContextTemplate template, com.aquima.interactions.foundation.logging.audit.IAuditEngine auditEngine, com.aquima.interactions.portal.ICommentsManager commentsManager) -
EventContextBase
-
-
Method Details
-
clearErrors
public boolean clearErrors()- Specified by:
clearErrors
in interfacecom.aquima.interactions.portal.IEventContext
-
addErrorMessage
public boolean addErrorMessage(com.aquima.interactions.profile.ValueReference attributeReference, String key, String[] parameters) - Specified by:
addErrorMessage
in interfacecom.aquima.interactions.portal.IEventContext
-
addErrorText
public boolean addErrorText(com.aquima.interactions.profile.ValueReference attributeReference, com.aquima.interactions.foundation.text.IMultilingualText text) - Specified by:
addErrorText
in interfacecom.aquima.interactions.portal.IEventContext
-
addWarningMessage
public boolean addWarningMessage(com.aquima.interactions.profile.ValueReference attributeReference, String key, String[] parameters) - Specified by:
addWarningMessage
in interfacecom.aquima.interactions.portal.IEventContext
-
addWarningText
public boolean addWarningText(com.aquima.interactions.profile.ValueReference attributeReference, com.aquima.interactions.foundation.text.IMultilingualText text) - Specified by:
addWarningText
in interfacecom.aquima.interactions.portal.IEventContext
-
getErrors
public com.aquima.interactions.portal.IErrorMessage[] getErrors(boolean onlyGenericErrors) - Specified by:
getErrors
in interfacecom.aquima.interactions.portal.IEventContext
-
getErrors
public com.aquima.interactions.portal.IErrorMessage[] getErrors(com.aquima.interactions.profile.ValueReference attributeReference) - Specified by:
getErrors
in interfacecom.aquima.interactions.portal.IEventContext
-
hasErrors
public boolean hasErrors()- Specified by:
hasErrors
in interfacecom.aquima.interactions.portal.IEventContext
-
getEvent
public com.aquima.interactions.portal.IFiredEvent getEvent()- Specified by:
getEvent
in interfacecom.aquima.interactions.portal.IEventContext
-
getStopOnErrors
public boolean getStopOnErrors()- Specified by:
getStopOnErrors
in interfacecom.aquima.interactions.portal.IEventContext
-
setStopOnErrors
public void setStopOnErrors(boolean stopOnErrors) - Specified by:
setStopOnErrors
in interfacecom.aquima.interactions.portal.IEventContext
-
isFlowBlocked
public boolean isFlowBlocked()- Specified by:
isFlowBlocked
in interfacecom.aquima.interactions.portal.IEventContext
-
setFlowBlocked
public void setFlowBlocked(boolean rollback) - Specified by:
setFlowBlocked
in interfacecom.aquima.interactions.portal.IEventContext
-