Class UserTypeGrantsUpdateEvent
java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.basic.bl.usertype.event.UserTypeGrantsUpdateEvent
Event that will be called to update the user type's functions.
- Since:
- 9.2
- GCApi:
- event
- Reactors:
- No Spouts
BTUserTypeGrantsUpdate(-10), BTUserTypeGrantsLog(0), BTUserTypeGrantsUpdate(0)-
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
ConstructorsConstructorDescriptionUserTypeGrantsUpdateEvent(long userTypeId, Set<String> grants) Create a new event that will be called to update the user type's grants -
Method Summary
Modifier and TypeMethodDescriptionReturns the set of grants of the user that will be updatedlongReturns the id of the user type that will be updatedMethods 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
-
userTypeId
protected long userTypeId -
grants
-
-
Constructor Details
-
UserTypeGrantsUpdateEvent
Create a new event that will be called to update the user type's grants- Parameters:
userTypeId- The id of the user typegrants- Set of grants to assign
-
-
Method Details
-
getUserTypeId
public long getUserTypeId()Returns the id of the user type that will be updated- Returns:
- the id of the user type that will be updated
-
getGrants
Returns the set of grants of the user that will be updated- Returns:
- the set of grants of the user that will be updated
-