Class CreateUserEvent


public class CreateUserEvent extends BusinessEvent<BOUser>
Event that will be called to request a user creation
GCApi:
event
Reactors:
BTUserCreate(-10)
Spouts:
UserCreateEventSpoutImpl
  • Field Details

    • user

      protected BOUser user
  • Constructor Details

    • CreateUserEvent

      public CreateUserEvent(BOUser user)
      Create a new event that will be called to request a user creation
      Parameters:
      user - the instance of the user that will be created
    • CreateUserEvent

      public CreateUserEvent(BOUser user, boolean sameCompany)
      Create a new event that will be called to request a user creation
      Parameters:
      user - the instance of the user that will be created
      sameCompany - boolean value indicating if the user is from the same company of the caller
  • Method Details

    • getUser

      public BOUser getUser()
      Returns the instance of the user that will be created
      Returns:
      the instance of the user that will be created
    • isSameCompany

      public boolean isSameCompany()
      Returns a boolean value indicating if the user is from the same company of the caller
      Returns:
      a boolean value indicating if the user is from the same company of the caller