Class NullTimelineCreator

java.lang.Object
com.aquima.interactions.trace.dao.impl.NullTimelineCreator
All Implemented Interfaces:
ITimelineCreator

public class NullTimelineCreator extends Object implements ITimelineCreator
Null implementation of the ITimelineCreator which will be used when no other implementation is found. Does nothing when entries are inserted (this is a valid scenario), only logs on debug.
  • Constructor Details

    • NullTimelineCreator

      public NullTimelineCreator()
  • Method Details

    • insertTaskMessage

      public void insertTaskMessage(String action, Date date, Map<String,IValue> properties)
      Description copied from interface: ITimelineCreator
      Creates a new timeline entry that contains task data.
      Specified by:
      insertTaskMessage in interface ITimelineCreator
      Parameters:
      action - Name of the action performed on task.
      date - The date when action is performed.
      properties - Additional properties that are specific to this action.
    • insertCaseMessage

      public void insertCaseMessage(String action, Date date, Map<String,IValue> properties)
      Description copied from interface: ITimelineCreator
      Creates a new timeline entry that contains case data.
      Specified by:
      insertCaseMessage in interface ITimelineCreator
      Parameters:
      action - Name of the action performed on case.
      date - The date when action is performed.
      properties - Additional properties that are specific to this action.
    • insertDocumentMessage

      public void insertDocumentMessage(String action, Date date, Map<String,IValue> properties)
      Description copied from interface: ITimelineCreator
      Creates a new timeline entry that contains document data.
      Specified by:
      insertDocumentMessage in interface ITimelineCreator
      Parameters:
      action - Name of the action performed on document.
      date - The date when action is performed.
      properties - Additional properties that are specific to this action.
    • insertInOutMessage

      public void insertInOutMessage(String action, Date date, Map<String,IValue> properties)
      Description copied from interface: ITimelineCreator
      Creates a new timeline entry that contains in/out message event data.
      Specified by:
      insertInOutMessage in interface ITimelineCreator
      Parameters:
      action - Name of the action performed on message event.
      date - The date when action is performed.
      properties - Additional properties that are specific to this action.