Class BaseUsersEventBody

java.lang.Object
es.kukenan.smartfi.events.common.AbstractEventBody
es.kukenan.smartfi.microservice.clients.events.BaseUsersEventBody
Direct Known Subclasses:
UserContractDocumentEventBody, UserCreatedEventBody, UserPasswordChangeEventBody, UserPasswordResetEventBody, UserStepCreatedEventBody, UserStepUpdatedEventBody, UserUpdatedEventBody

public abstract class BaseUsersEventBody extends es.kukenan.smartfi.events.common.AbstractEventBody
Base class for the body of any Users micro-service event.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private @NotBlank String
    User identifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Full state constructor.
  • Method Summary

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

    canEqual, equals, getPrincipal, hashCode, setPrincipal, toString

    Methods inherited from class java.lang.Object

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

    • id

      @NotBlank private @NotBlank String id
      User identifier.
  • Constructor Details

    • BaseUsersEventBody

      public BaseUsersEventBody(String id, String principal)
      Full state constructor.
      Parameters:
      id - user identifier, mandatory.
      principal - optional principal name, set to id argument if null.