Class UserProfileStateUpdateEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.basic.bl.profile.event.UserProfileStateUpdateEvent
Event that will be called to request a user profile state update.
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
FieldsFields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionUserProfileStateUpdateEvent(long profileId, String profileState) Create a new event that will be called to request a user profile state update. -
Method Summary
Modifier and TypeMethodDescriptionlongGets the id of the user profile that will be updated.Gets the new state of the user profile.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
-
profileId
protected final long profileId -
profileState
-
-
Constructor Details
-
UserProfileStateUpdateEvent
Create a new event that will be called to request a user profile state update.- Parameters:
profileId- the id of the user profile that will be updated.profileState- the new state of the user profile.
-
-
Method Details
-
getProfileId
public long getProfileId()Gets the id of the user profile that will be updated.- Returns:
- the id of the user profile that will be updated.
-
getProfileState
Gets the new state of the user profile.- Returns:
- the new state of the user profile.
-