Class UserCreateEvent


@Deprecated(since="13.0", forRemoval=true) public class UserCreateEvent extends BusinessEvent<BOUser>
Deprecated, for removal: This API element is subject to removal in a future version.
Event that will be called to request a user creation
GCApi:
event
Reactors:
BTUserCreate(0)
No Spouts
  • Field Details

    • user

      protected BOUser user
      Deprecated, for removal: This API element is subject to removal in a future version.
    • sameCompany

      protected boolean sameCompany
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • UserCreateEvent

      public UserCreateEvent(BOUser user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new event that will be called to request a user creation
      Parameters:
      user - the instance of the user that will be created
    • UserCreateEvent

      public UserCreateEvent(BOUser user, boolean sameCompany)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the instance of the user that will be created
      Returns:
      the instance of the user that will be created
    • isSameCompany

      public boolean isSameCompany()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns true if the user share the same company of the caller, false otherwise
      Returns:
      true if the user share the same company of the caller, false otherwise