Class CaseDossierTraceMessage

java.lang.Object
com.aquima.interactions.trace.impl.TraceMessageBase
com.aquima.interactions.trace.impl.CaseDossierTraceMessage
All Implemented Interfaces:
ITraceMessage, Serializable

public final class CaseDossierTraceMessage extends TraceMessageBase
See Also:
  • Field Details

    • PROPERTY_DATE

      public static final String PROPERTY_DATE
      The name of the column that contains date time at which the action is performed.
      See Also:
    • PROPERTY_USER_ID

      public static final String PROPERTY_USER_ID
      The name of the column that contains the id of the user who performed the change.
      See Also:
    • PROPERTY_USER_NAME

      public static final String PROPERTY_USER_NAME
      The name of the column that contains the name of the user who performed the change.
      See Also:
    • PROPERTY_PROFILE

      public static final String PROPERTY_PROFILE
      The name of the column that contains the xml representation of the case dossier/caseDossier profile after the performed action.
      See Also:
    • PROPERTY_CASE_DOSSIER_ID

      public static final String PROPERTY_CASE_DOSSIER_ID
      The name of the column that contains the case dossier/caseDossier id.
      See Also:
    • PROPERTY_CASE_DOSSIER_VERSION

      public static final String PROPERTY_CASE_DOSSIER_VERSION
      The name of the column that contains the case dossier/caseDossier version.
      See Also:
    • PROPERTY_CASE_ID

      public static final String PROPERTY_CASE_ID
      the id of the case where the case dossier/caseDossier belongs to
      See Also:
    • TYPE_CREATED

      public static final String TYPE_CREATED
      See Also:
    • TYPE_UPDATED

      public static final String TYPE_UPDATED
      See Also:
    • TYPE_DELETED

      public static final String TYPE_DELETED
      See Also:
  • Method Details

    • forCreate

      public static CaseDossierTraceMessage forCreate(String applicationId, String userId, String userName, Long caseDossierId, long version, String data, String caseId)
      This method returns a new Case Dossier Trace Message when a new caseDossier is created.
      Parameters:
      applicationId - The application id.
      userId - the user id
      userName - the username
      caseDossierId - the caseDossier id
      version - the caseDossier version
      data - the caseDossier data
      caseId - the id of the case where this case dossier belongs to
      Returns:
      A new trace message.
    • forDelete

      public static CaseDossierTraceMessage forDelete(String applicationId, String userId, String userName, Long caseDossierId, long version, String data, String caseId)
      This method returns a new Case Dossier Trace Message when a Case Dossier is deleted.
      Parameters:
      applicationId - The application id.
      userId - the user id
      userName - the username
      caseDossierId - the caseDossier id
      version - the caseDossier version
      data - the caseDossier data
      caseId - the id of the case where this case dossier belongs to
      Returns:
      A new trace message.
    • forUpdate

      public static CaseDossierTraceMessage forUpdate(String applicationId, String userId, String userName, Long caseDossierId, long version, String data, String caseId)
      This method returns a new Case Dossier Trace Message when a Case Dossier is updated.
      Parameters:
      applicationId - The application id.
      userId - the user id
      userName - the username
      caseDossierId - the caseDossier id
      version - the caseDossier version
      data - the caseDossier data
      caseId - the id of the case where this case dossier belongs to
      Returns:
      A new trace message.