Class UpdateUserEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.basic.bl.user.event.UpdateUserEvent

public class UpdateUserEvent extends BusinessEvent<Void>
Event that will be called to update the user's information.
GCApi:
event
Reactors:
BTUserUpdate(-10)
Spouts:
UserUpdateEventSpoutImpl
  • Field Details

    • user

      protected BOUser user
    • oldUser

      protected BOUser oldUser
    • safeMode

      protected boolean safeMode
  • Constructor Details

    • UpdateUserEvent

      public UpdateUserEvent(BOUser user, BOUser oldUser)
      Create a new event that will be called to update the user's information
      Parameters:
      user - the instance of the user that will be updated
      oldUser - the instance of the user before is updated
    • UpdateUserEvent

      public UpdateUserEvent(BOUser user, BOUser oldUser, boolean safeMode)
      Create a new event that will be called to update the user's information, removing the sensible data in according to the parameter safeMode
      Parameters:
      user - the instance of the user that will be updated
      oldUser - the instance of the user before is updated
      safeMode - flag to update the sensible data or not
  • Method Details

    • getUser

      public BOUser getUser()
      Returns the instance of the user that will be updated
      Returns:
      the instance of the user that will be updated
    • getOldUser

      public BOUser getOldUser()
      Returns the instance of the user before is updated
      Returns:
      the instance of the user before is updated
    • isSafeMode

      public boolean isSafeMode()
      Returns the flag to exclude the sensible data
      Returns:
      the flag to exclude the sensible data