Class UserTypeUpdateEvent

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

public class UserTypeUpdateEvent extends BusinessEvent<Void>
Event that will be called to update the user type's information.
Since:
9.2
GCApi:
event
Reactors:
BTUserTypeUpdate(0), BTUserTypeUpdateLog(0), BTUserTypeUpdate(0)
Spouts:
UserTypeUpdateEventSpoutImpl
  • Field Details

    • userType

      protected BOUserType userType
    • safeMode

      protected boolean safeMode
  • Constructor Details

    • UserTypeUpdateEvent

      public UserTypeUpdateEvent(BOUserType userType)
      Create a new event that will be called to load the user type's information
      Parameters:
      userType - the instance of the user type that will be updated
    • UserTypeUpdateEvent

      public UserTypeUpdateEvent(BOUserType userType, boolean safeMode)
      Create a new event that will be called to load the user type's information, removing the sensible data in according to the parameter safeMode
      Parameters:
      userType - the instance of the user type that will be updated
      safeMode - flag to update the sensible data or not
  • Method Details

    • getUserType

      public BOUserType getUserType()
      Returns the instance of the user type that will be updated
      Returns:
      the instance of the user type that will be updated
    • isSafeMode

      public boolean isSafeMode()
      Returns the flag to exclude the sensible data
      Returns:
      the flag to exclude the sensible data