Class UserRequestData


  • public class UserRequestData
    extends Object
    This class is a user data container which the data are retrieved from an HTTP request that deals with user data creation or modification.
    To get a loaded container, use RequestParameterDecoder.decode(HttpRequest, Class).
    Author:
    Yohann Chastagnier
    • Constructor Detail

      • UserRequestData

        public UserRequestData()
    • Method Detail

      • applyDataOnNewUser

        public void applyDataOnNewUser​(UserDetail newUser)
        Applies the data on the specified new instance of a user.
        Following data are not set:
        • user id
        • the user password validity
        • the user password
        Parameters:
        newUser - the instance of the new user.
      • applyDataOnExistingUser

        public void applyDataOnExistingUser​(UserFull existingUser)
        Applies the data on the specified instance of an existing user.
        Following data are not set:
        • user id
        • user login
        Parameters:
        existingUser - the instance of the existing user.
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getLogin

        public String getLogin()
      • setLogin

        public void setLogin​(String login)
      • getLastName

        public String getLastName()
      • setLastName

        public void setLastName​(String lastName)
      • getFirstName

        public String getFirstName()
      • setFirstName

        public void setFirstName​(String firstName)
      • getEmail

        public String getEmail()
      • setEmail

        public void setEmail​(String email)
      • isSendEmail

        public boolean isSendEmail()
      • setSendEmail

        public void setSendEmail​(boolean sendEmail)
      • setAccessLevel

        public void setAccessLevel​(UserAccessLevel accessLevel)
      • isPasswordValid

        public boolean isPasswordValid()
      • setPasswordValid

        public void setPasswordValid​(boolean passwordValid)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • getGroupId

        public String getGroupId()
      • setGroupId

        public void setGroupId​(String groupId)
      • getLanguage

        public String getLanguage()
      • setLanguage

        public void setLanguage​(String language)
      • getExtraMessage

        public String getExtraMessage()
      • setExtraMessage

        public void setExtraMessage​(String extraMessage)
      • getZoneId

        public ZoneId getZoneId()
      • setZoneId

        public void setZoneId​(ZoneId zoneId)
      • getUserManualNotifReceiverLimitEnabled

        protected boolean getUserManualNotifReceiverLimitEnabled()
      • setUserManualNotifReceiverLimitEnabled

        public void setUserManualNotifReceiverLimitEnabled​(boolean userManualNotifReceiverLimitEnabled)
      • getUserManualNotifReceiverLimitValue

        public Integer getUserManualNotifReceiverLimitValue()
      • isFromCSV

        public boolean isFromCSV()
      • setFromCSV

        public void setFromCSV​(boolean fromCSV)