Class UserTypeGrantsUpdateEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.basic.bl.usertype.event.UserTypeGrantsUpdateEvent

public class UserTypeGrantsUpdateEvent extends BusinessEvent<Void>
Event that will be called to update the user type's functions.
Since:
9.2
GCApi:
event
Reactors:
BTUserTypeGrantsUpdate(-10), BTUserTypeGrantsLog(0), BTUserTypeGrantsUpdate(0)
No Spouts
  • Field Details

    • userTypeId

      protected long userTypeId
    • grants

      protected Set<String> grants
  • Constructor Details

    • UserTypeGrantsUpdateEvent

      public UserTypeGrantsUpdateEvent(long userTypeId, Set<String> grants)
      Create a new event that will be called to update the user type's grants
      Parameters:
      userTypeId - The id of the user type
      grants - 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

      public Set<String> 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