Class UpdateUserEvent
Event that will be called to update the user's information.
- GCApi:
- event
- Reactors:
- Spouts:
BTUserUpdate(-10)UserUpdateEventSpoutImpl-
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
ConstructorsConstructorDescriptionUpdateUserEvent(BOUser user, BOUser oldUser) Create a new event that will be called to update the user's informationUpdateUserEvent(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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the instance of the user before is updatedgetUser()Returns the instance of the user that will be updatedbooleanReturns the flag to exclude the sensible dataMethods 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
-
user
-
oldUser
-
safeMode
protected boolean safeMode
-
-
Constructor Details
-
UpdateUserEvent
Create a new event that will be called to update the user's information- Parameters:
user- the instance of the user that will be updatedoldUser- the instance of the user before is updated
-
UpdateUserEvent
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 updatedoldUser- the instance of the user before is updatedsafeMode- flag to update the sensible data or not
-
-
Method Details
-
getUser
Returns the instance of the user that will be updated- Returns:
- the instance of the user that will be updated
-
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
-