Class CreateUserEvent
Event that will be called to request a user creation
- GCApi:
- event
- Reactors:
- Spouts:
BTUserCreate(-10)UserCreateEventSpoutImpl-
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
ConstructorsConstructorDescriptionCreateUserEvent(BOUser user) Create a new event that will be called to request a user creationCreateUserEvent(BOUser user, boolean sameCompany) Create a new event that will be called to request a user creation -
Method Summary
Modifier and TypeMethodDescriptiongetUser()Returns the instance of the user that will be createdbooleanReturns a boolean value indicating if the user is from the same company of the callerMethods 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
-
-
Constructor Details
-
CreateUserEvent
Create a new event that will be called to request a user creation- Parameters:
user- the instance of the user that will be created
-
CreateUserEvent
Create a new event that will be called to request a user creation- Parameters:
user- the instance of the user that will be createdsameCompany- boolean value indicating if the user is from the same company of the caller
-
-
Method Details
-
getUser
Returns the instance of the user that will be created- Returns:
- the instance of the user that will be created
-
isSameCompany
public boolean isSameCompany()Returns a boolean value indicating if the user is from the same company of the caller- Returns:
- a boolean value indicating if the user is from the same company of the caller
-