Class UpdateUserStateEvent

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

public class UpdateUserStateEvent extends BusinessEvent<Void>
Event that will be called to update the user's state.
GCApi:
event
No Reactors
No Spouts
  • Field Details

    • state

      protected State state
    • userId

      protected Long userId
    • userStateClass

      protected String userStateClass
    • userStateObject

      protected String userStateObject
  • Constructor Details

    • UpdateUserStateEvent

      public UpdateUserStateEvent(State state, Long userId, String userStateClass, String userStateObject)
      Create a new event that will be called to update the user's state
      Parameters:
      state - the state that will be updated
      userId - the user id that will be used to identify the row to update
      userStateClass - the user state class that will be used to identify the row to update
      userStateObject - the user state object that will be used to identify the row to update
  • Method Details

    • getState

      public State getState()
      Returns:
      the state that will be updated
    • getUserId

      public Long getUserId()
      Returns:
      the user id that will be used to identify the row to update
    • getUserStateClass

      public String getUserStateClass()
      Returns:
      the user state class that will be used to identify the row to update
    • getUserStateObject

      public String getUserStateObject()
      Returns:
      the user state object that will be used to identify the row to update