Class UserProfileStateUpdateEvent

java.lang.Object
overit.geocall.bl.GenericEvent<Void>
overit.geocall.bl.BusinessEvent<Void>
overit.geocall.basic.bl.profile.event.UserProfileStateUpdateEvent

public class UserProfileStateUpdateEvent extends BusinessEvent<Void>
Event that will be called to request a user profile state update.
  • Field Details

    • profileId

      protected final long profileId
    • profileState

      protected final String profileState
  • Constructor Details

    • UserProfileStateUpdateEvent

      public UserProfileStateUpdateEvent(long profileId, String profileState)
      Create a new event that will be called to request a user profile state update.
      Parameters:
      profileId - the id of the user profile that will be updated.
      profileState - the new state of the user profile.
  • Method Details

    • getProfileId

      public long getProfileId()
      Gets the id of the user profile that will be updated.
      Returns:
      the id of the user profile that will be updated.
    • getProfileState

      public String getProfileState()
      Gets the new state of the user profile.
      Returns:
      the new state of the user profile.