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 Details

    • EventContextBase

      protected EventContextBase(EventContextTemplate template, com.aquima.interactions.foundation.logging.audit.IAuditEngine auditEngine, com.aquima.interactions.portal.ICommentsManager commentsManager)
    • EventContextBase

      protected EventContextBase(EventContextTemplate template)
  • Method Details

    • clearErrors

      public boolean clearErrors()
      Specified by:
      clearErrors in interface com.aquima.interactions.portal.IEventContext
    • addErrorMessage

      public boolean addErrorMessage(com.aquima.interactions.profile.ValueReference attributeReference, String key, String[] parameters)
      Specified by:
      addErrorMessage in interface com.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 interface com.aquima.interactions.portal.IEventContext
    • addWarningMessage

      public boolean addWarningMessage(com.aquima.interactions.profile.ValueReference attributeReference, String key, String[] parameters)
      Specified by:
      addWarningMessage in interface com.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 interface com.aquima.interactions.portal.IEventContext
    • getErrors

      public com.aquima.interactions.portal.IErrorMessage[] getErrors(boolean onlyGenericErrors)
      Specified by:
      getErrors in interface com.aquima.interactions.portal.IEventContext
    • getErrors

      public com.aquima.interactions.portal.IErrorMessage[] getErrors(com.aquima.interactions.profile.ValueReference attributeReference)
      Specified by:
      getErrors in interface com.aquima.interactions.portal.IEventContext
    • hasErrors

      public boolean hasErrors()
      Specified by:
      hasErrors in interface com.aquima.interactions.portal.IEventContext
    • getEvent

      public com.aquima.interactions.portal.IFiredEvent getEvent()
      Specified by:
      getEvent in interface com.aquima.interactions.portal.IEventContext
    • getStopOnErrors

      public boolean getStopOnErrors()
      Specified by:
      getStopOnErrors in interface com.aquima.interactions.portal.IEventContext
    • setStopOnErrors

      public void setStopOnErrors(boolean stopOnErrors)
      Specified by:
      setStopOnErrors in interface com.aquima.interactions.portal.IEventContext
    • isFlowBlocked

      public boolean isFlowBlocked()
      Specified by:
      isFlowBlocked in interface com.aquima.interactions.portal.IEventContext
    • setFlowBlocked

      public void setFlowBlocked(boolean rollback)
      Specified by:
      setFlowBlocked in interface com.aquima.interactions.portal.IEventContext