Class CompanyInstallEvent
Event launched to notify the creation of a new company.
- GCApi:
- event
- Reactors:
- No Spouts
CompanyInstallHandler(1)-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.bl.GenericEvent
GenericEvent.Step<O> -
Field Summary
Fields inherited from class overit.geocall.bl.GenericEvent
executorService, journal, streamJournal -
Constructor Summary
ConstructorsConstructorDescriptionCompanyInstallEvent(long factoryId, Long userId, Long userTypeId) Create a new event that notify the creation of a new company -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the id of the company just createdlongReturns the id of the user just createdlongReturns the id of the user's type just createdMethods 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
-
Constructor Details
-
CompanyInstallEvent
Create a new event that notify the creation of a new company- Parameters:
factoryId- the id of the company just createduserId- the id of the user just createduserTypeId- the id of the user's type just created
-
-
Method Details
-
getFactoryId
public long getFactoryId()Returns the id of the company just created- Returns:
- the id of the company just created
-
getUserId
public long getUserId()Returns the id of the user just created- Returns:
- the id of the user just created
-
getUserTypeId
public long getUserTypeId()Returns the id of the user's type just created- Returns:
- the id of the user's type just created
-