Class UpdateUserStateEvent
Event that will be called to update the user's state.
- GCApi:
- event
- No Reactors
- No Spouts
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stateprotected Longprotected Stringprotected StringFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionUpdateUserStateEvent(State state, Long userId, String userStateClass, String userStateObject) Create a new event that will be called to update the user's state -
Method Summary
Methods inherited from class overit.geocall.bl.BusinessEvent
doLaunchMethods inherited from class overit.geocall.bl.GenericEvent
clearEvents, defineInterruptor, defineResult, getJournal, getResult, getSpouts, getStreamJournal, isInternal, launch, launch, launchAsync, launchAsync, register, registerSpouts
-
Field Details
-
state
-
userId
-
userStateClass
-
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 updateduserId- the user id that will be used to identify the row to updateuserStateClass- the user state class that will be used to identify the row to updateuserStateObject- the user state object that will be used to identify the row to update
-
-
Method Details
-
getState
- Returns:
- the state that will be updated
-
getUserId
- Returns:
- the user id that will be used to identify the row to update
-
getUserStateClass
- Returns:
- the user state class that will be used to identify the row to update
-
getUserStateObject
- Returns:
- the user state object that will be used to identify the row to update
-