Class UserTypeCreateEvent
java.lang.Object
overit.geocall.bl.GenericEvent<BOUserType>
overit.geocall.bl.BusinessEvent<BOUserType>
overit.geocall.basic.bl.usertype.event.UserTypeCreateEvent
Event that will be called to request a user type creation
- Since:
- 9.2
- GCApi:
- event
- Reactors:
- Spouts:
BTUserTypeCreate(-10), BTUserTypeCreateLog(0), BTUserTypeCreate(0)UserTypeCreateEventSpoutImpl-
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
ConstructorsConstructorDescriptionUserTypeCreateEvent(BOUserType userType) Create a new event that will be called to request a user type creationUserTypeCreateEvent(BOUserType userType, boolean sameCompany) Create a new event that will be called to request a user type creation -
Method Summary
Modifier and TypeMethodDescriptionReturns the instance of the user type that will be createdbooleanReturnstrueif the user share the same company of the caller,falseotherwiseMethods 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
-
userType
-
sameCompany
protected boolean sameCompany
-
-
Constructor Details
-
UserTypeCreateEvent
Create a new event that will be called to request a user type creation- Parameters:
userType- the instance of the user type that will be created
-
UserTypeCreateEvent
Create a new event that will be called to request a user type creation- Parameters:
userType- the instance of the user type that will be createdsameCompany- boolean value indicating if the user is from the same company of the caller
-
-
Method Details
-
getUserType
Returns the instance of the user type that will be created- Returns:
- the instance of the user type that will be created
-
isSameCompany
public boolean isSameCompany()Returnstrueif the user share the same company of the caller,falseotherwise- Returns:
trueif the user share the same company of the caller,falseotherwise
-