java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.clients.events.AbstractUsersEvent<UserCreatedEventBody>
es.kukenan.smartfi.microservice.clients.events.created.UserCreatedEvent
All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event

public class UserCreatedEvent extends AbstractUsersEvent<UserCreatedEventBody>
Class that describes the contract of the user created event.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Unique platform event type identifier.
    static final String
    Event version.

    Fields inherited from class es.kukenan.smartfi.microservice.clients.events.AbstractUsersEvent

    CONTEXT

    Fields inherited from class es.kukenan.smartfi.events.common.AbstractEvent

    UTC
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
    UserCreatedEvent(String requestId, String companyId, String origin, String operationType, String messageId, Long creationTs, String channel, String session, String manager, String userId, UserCreatedEventBody body)
    State constructor.
  • Method Summary

    Methods inherited from class es.kukenan.smartfi.events.common.AbstractEvent

    canEqual, equals, getBody, getChannel, getCompanyId, getContext, getCreationDate, getCreationTs, getManager, getMessageId, getOperationType, getOrigin, getRequestId, getSession, getTypeId, getUserAgent, getUserId, getUserIp, getVersion, hashCode, setBody, setChannel, setCompanyId, setCreationDate, setCreationTs, setManager, setMessageId, setOperationType, setOrigin, setRequestId, setSession, setUserAgent, setUserId, setUserIp, setVersion, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • UserCreatedEvent

      public UserCreatedEvent()
      Default constructor.
    • UserCreatedEvent

      public UserCreatedEvent(String requestId, String companyId, String origin, String operationType, String messageId, Long creationTs, String channel, String session, String manager, String userId, UserCreatedEventBody body)
      State constructor.
      Parameters:
      requestId - the request identifier (transaction).
      companyId - company/bank identifier (multi-tenant context, BC/BF).
      origin - service that have produced this event.
      operationType - operation type (some kind of event sub-type).
      messageId - arbitrary application-specific identifier for the message/event.
      creationTs - event creation timestamp (milliseconds from epoch).
      channel - event channel.
      session - session identifier.
      manager - manager that generate event.
      userId - user identifier.
      body - event body.