Class AbstractUsersEvent<B extends es.kukenan.smartfi.events.common.AbstractEventBody>
java.lang.Object
es.kukenan.smartfi.events.common.AbstractEvent<B>
es.kukenan.smartfi.microservice.clients.events.AbstractUsersEvent<B>
- Type Parameters:
B- the event body type.
- All Implemented Interfaces:
es.kukenan.smartfi.events.common.Event
- Direct Known Subclasses:
UserContractDocumentEvent,UserCreatedEvent,UserCreationErrorEvent,UserDeviceTokenDeletedEvent,UserPasswordChangeEvent,UserPasswordResetEvent,UserStepCreatedEvent,UserStepUpdatedEvent,UserUpdatedEvent
public abstract class AbstractUsersEvent<B extends es.kukenan.smartfi.events.common.AbstractEventBody>
extends es.kukenan.smartfi.events.common.AbstractEvent<B>
Class that describes the contract of the events generated by the Users micro-service.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant value for the context field, unique for users micro-service context.Fields inherited from class es.kukenan.smartfi.events.common.AbstractEvent
UTC -
Constructor Summary
ConstructorsConstructorDescriptionAbstractUsersEvent(String typeId, String version) Minimal constructor.AbstractUsersEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body) State constructor.AbstractUsersEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body, String userIp, String userAgent) 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
-
Field Details
-
CONTEXT
Constant value for the context field, unique for users micro-service context.- See Also:
-
-
Constructor Details
-
AbstractUsersEvent
Minimal constructor.- Parameters:
typeId- event type (the pair origin-typeId is the unique identifier of the event type in the platform).version- event version.
-
AbstractUsersEvent
public AbstractUsersEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B 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.typeId- event type (the pair origin-typeId is the unique identifier of the event type in the platform).operationType- operation type (some kind of event sub-type).messageId- arbitrary application-specific identifier for the message/event.version- event version.creationTs- event creation timestamp (milliseconds from EPOCH).channel- event channel.session- session identifier.manager- manager that generate event.userId- user identifier.body- event body.
-
AbstractUsersEvent
public AbstractUsersEvent(String requestId, String companyId, String origin, String typeId, String operationType, String messageId, String version, Long creationTs, String channel, String session, String manager, String userId, B body, String userIp, String userAgent) State constructor.- Parameters:
requestId- the request identifier (transaction).companyId- company/bank identifier (multi-tenant context, BC/BF).origin- service that have produced this event.typeId- event type (the pair origin-typeId is the unique identifier of the event type in the platform).operationType- operation type (some kind of event sub-type).messageId- arbitrary application-specific identifier for the message/event.version- event version.creationTs- event creation timestamp (milliseconds from EPOCH).channel- event channel.session- session identifier.manager- manager that generate event.userId- user identifier.body- event body.userIp- user IP Address.userAgent- user-agent header info.
-