Class GeneratedUser

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
User

public abstract class GeneratedUser extends Principal
Generated class for type User.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedUser

      public GeneratedUser()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedPrincipal
    • getAddresses

      public Collection<Address> getAddresses(SessionContext ctx)
      Generated method - Getter of the User.addresses attribute.
      Returns:
      the addresses
    • getAddresses

      public Collection<Address> getAddresses()
      Generated method - Getter of the User.addresses attribute.
      Returns:
      the addresses
    • setAddresses

      public void setAddresses(SessionContext ctx, Collection<Address> value)
      Generated method - Setter of the User.addresses attribute.
      Parameters:
      value - the addresses
    • setAddresses

      public void setAddresses(Collection<Address> value)
      Generated method - Setter of the User.addresses attribute.
      Parameters:
      value - the addresses
    • addToAddresses

      public void addToAddresses(SessionContext ctx, Address value)
      Generated method - Adds value to addresses.
      Parameters:
      value - the item to add to addresses
    • addToAddresses

      public void addToAddresses(Address value)
      Generated method - Adds value to addresses.
      Parameters:
      value - the item to add to addresses
    • removeFromAddresses

      public void removeFromAddresses(SessionContext ctx, Address value)
      Generated method - Removes value from addresses.
      Parameters:
      value - the item to remove from addresses
    • removeFromAddresses

      public void removeFromAddresses(Address value)
      Generated method - Removes value from addresses.
      Parameters:
      value - the item to remove from addresses
    • getCarts

      public Collection<Cart> getCarts(SessionContext ctx)
      Generated method - Getter of the User.carts attribute.
      Returns:
      the carts
    • getCarts

      public Collection<Cart> getCarts()
      Generated method - Getter of the User.carts attribute.
      Returns:
      the carts
    • setCarts

      public void setCarts(SessionContext ctx, Collection<Cart> value)
      Generated method - Setter of the User.carts attribute.
      Parameters:
      value - the carts
    • setCarts

      public void setCarts(Collection<Cart> value)
      Generated method - Setter of the User.carts attribute.
      Parameters:
      value - the carts
    • addToCarts

      public void addToCarts(SessionContext ctx, Cart value)
      Generated method - Adds value to carts.
      Parameters:
      value - the item to add to carts
    • addToCarts

      public void addToCarts(Cart value)
      Generated method - Adds value to carts.
      Parameters:
      value - the item to add to carts
    • removeFromCarts

      public void removeFromCarts(SessionContext ctx, Cart value)
      Generated method - Removes value from carts.
      Parameters:
      value - the item to remove from carts
    • removeFromCarts

      public void removeFromCarts(Cart value)
      Generated method - Removes value from carts.
      Parameters:
      value - the item to remove from carts
    • getContactInfos

      public Collection<AbstractContactInfo> getContactInfos(SessionContext ctx)
      Generated method - Getter of the User.contactInfos attribute.
      Returns:
      the contactInfos
    • getContactInfos

      public Collection<AbstractContactInfo> getContactInfos()
      Generated method - Getter of the User.contactInfos attribute.
      Returns:
      the contactInfos
    • setContactInfos

      public void setContactInfos(SessionContext ctx, Collection<AbstractContactInfo> value)
      Generated method - Setter of the User.contactInfos attribute.
      Parameters:
      value - the contactInfos
    • setContactInfos

      public void setContactInfos(Collection<AbstractContactInfo> value)
      Generated method - Setter of the User.contactInfos attribute.
      Parameters:
      value - the contactInfos
    • addToContactInfos

      public void addToContactInfos(SessionContext ctx, AbstractContactInfo value)
      Generated method - Adds value to contactInfos.
      Parameters:
      value - the item to add to contactInfos
    • addToContactInfos

      public void addToContactInfos(AbstractContactInfo value)
      Generated method - Adds value to contactInfos.
      Parameters:
      value - the item to add to contactInfos
    • removeFromContactInfos

      public void removeFromContactInfos(SessionContext ctx, AbstractContactInfo value)
      Generated method - Removes value from contactInfos.
      Parameters:
      value - the item to remove from contactInfos
    • removeFromContactInfos

      public void removeFromContactInfos(AbstractContactInfo value)
      Generated method - Removes value from contactInfos.
      Parameters:
      value - the item to remove from contactInfos
    • getDeactivationDate

      public Date getDeactivationDate(SessionContext ctx)
      Generated method - Getter of the User.deactivationDate attribute.
      Returns:
      the deactivationDate - The deactivation date for the user account
    • getDeactivationDate

      public Date getDeactivationDate()
      Generated method - Getter of the User.deactivationDate attribute.
      Returns:
      the deactivationDate - The deactivation date for the user account
    • setDeactivationDate

      public void setDeactivationDate(SessionContext ctx, Date value)
      Generated method - Setter of the User.deactivationDate attribute.
      Parameters:
      value - the deactivationDate - The deactivation date for the user account
    • setDeactivationDate

      public void setDeactivationDate(Date value)
      Generated method - Setter of the User.deactivationDate attribute.
      Parameters:
      value - the deactivationDate - The deactivation date for the user account
    • getDefaultPaymentAddress

      public Address getDefaultPaymentAddress(SessionContext ctx)
      Generated method - Getter of the User.defaultPaymentAddress attribute.
      Returns:
      the defaultPaymentAddress
    • getDefaultPaymentAddress

      public Address getDefaultPaymentAddress()
      Generated method - Getter of the User.defaultPaymentAddress attribute.
      Returns:
      the defaultPaymentAddress
    • setDefaultPaymentAddress

      public void setDefaultPaymentAddress(SessionContext ctx, Address value)
      Generated method - Setter of the User.defaultPaymentAddress attribute.
      Parameters:
      value - the defaultPaymentAddress
    • setDefaultPaymentAddress

      public void setDefaultPaymentAddress(Address value)
      Generated method - Setter of the User.defaultPaymentAddress attribute.
      Parameters:
      value - the defaultPaymentAddress
    • getDefaultShipmentAddress

      public Address getDefaultShipmentAddress(SessionContext ctx)
      Generated method - Getter of the User.defaultShipmentAddress attribute.
      Returns:
      the defaultShipmentAddress
    • getDefaultShipmentAddress

      public Address getDefaultShipmentAddress()
      Generated method - Getter of the User.defaultShipmentAddress attribute.
      Returns:
      the defaultShipmentAddress
    • setDefaultShipmentAddress

      public void setDefaultShipmentAddress(SessionContext ctx, Address value)
      Generated method - Setter of the User.defaultShipmentAddress attribute.
      Parameters:
      value - the defaultShipmentAddress
    • setDefaultShipmentAddress

      public void setDefaultShipmentAddress(Address value)
      Generated method - Setter of the User.defaultShipmentAddress attribute.
      Parameters:
      value - the defaultShipmentAddress
    • getEncodedPassword

      public String getEncodedPassword(SessionContext ctx)
      Generated method - Getter of the User.encodedPassword attribute.
      Returns:
      the encodedPassword
    • getEncodedPassword

      public String getEncodedPassword()
      Generated method - Getter of the User.encodedPassword attribute.
      Returns:
      the encodedPassword
    • setEncodedPassword

      public void setEncodedPassword(SessionContext ctx, String value)
      Generated method - Setter of the User.encodedPassword attribute.
      Parameters:
      value - the encodedPassword
    • setEncodedPassword

      public void setEncodedPassword(String value)
      Generated method - Setter of the User.encodedPassword attribute.
      Parameters:
      value - the encodedPassword
    • isHmcLoginDisabled

      public Boolean isHmcLoginDisabled(SessionContext ctx)
      Generated method - Getter of the User.hmcLoginDisabled attribute.
      Returns:
      the hmcLoginDisabled
    • isHmcLoginDisabled

      public Boolean isHmcLoginDisabled()
      Generated method - Getter of the User.hmcLoginDisabled attribute.
      Returns:
      the hmcLoginDisabled
    • isHmcLoginDisabledAsPrimitive

      public boolean isHmcLoginDisabledAsPrimitive(SessionContext ctx)
      Generated method - Getter of the User.hmcLoginDisabled attribute.
      Returns:
      the hmcLoginDisabled
    • isHmcLoginDisabledAsPrimitive

      public boolean isHmcLoginDisabledAsPrimitive()
      Generated method - Getter of the User.hmcLoginDisabled attribute.
      Returns:
      the hmcLoginDisabled
    • setHmcLoginDisabled

      public void setHmcLoginDisabled(SessionContext ctx, Boolean value)
      Generated method - Setter of the User.hmcLoginDisabled attribute.
      Parameters:
      value - the hmcLoginDisabled
    • setHmcLoginDisabled

      public void setHmcLoginDisabled(Boolean value)
      Generated method - Setter of the User.hmcLoginDisabled attribute.
      Parameters:
      value - the hmcLoginDisabled
    • setHmcLoginDisabled

      public void setHmcLoginDisabled(SessionContext ctx, boolean value)
      Generated method - Setter of the User.hmcLoginDisabled attribute.
      Parameters:
      value - the hmcLoginDisabled
    • setHmcLoginDisabled

      public void setHmcLoginDisabled(boolean value)
      Generated method - Setter of the User.hmcLoginDisabled attribute.
      Parameters:
      value - the hmcLoginDisabled
    • getLastLogin

      public Date getLastLogin(SessionContext ctx)
      Generated method - Getter of the User.lastLogin attribute.
      Returns:
      the lastLogin
    • getLastLogin

      public Date getLastLogin()
      Generated method - Getter of the User.lastLogin attribute.
      Returns:
      the lastLogin
    • setLastLogin

      public void setLastLogin(SessionContext ctx, Date value)
      Generated method - Setter of the User.lastLogin attribute.
      Parameters:
      value - the lastLogin
    • setLastLogin

      public void setLastLogin(Date value)
      Generated method - Setter of the User.lastLogin attribute.
      Parameters:
      value - the lastLogin
    • isLoginDisabled

      public Boolean isLoginDisabled(SessionContext ctx)
      Generated method - Getter of the User.loginDisabled attribute.
      Returns:
      the loginDisabled - Determines whether user is allowed to login to system.
    • isLoginDisabled

      public Boolean isLoginDisabled()
      Generated method - Getter of the User.loginDisabled attribute.
      Returns:
      the loginDisabled - Determines whether user is allowed to login to system.
    • isLoginDisabledAsPrimitive

      public boolean isLoginDisabledAsPrimitive(SessionContext ctx)
      Generated method - Getter of the User.loginDisabled attribute.
      Returns:
      the loginDisabled - Determines whether user is allowed to login to system.
    • isLoginDisabledAsPrimitive

      public boolean isLoginDisabledAsPrimitive()
      Generated method - Getter of the User.loginDisabled attribute.
      Returns:
      the loginDisabled - Determines whether user is allowed to login to system.
    • setLoginDisabled

      public void setLoginDisabled(SessionContext ctx, Boolean value)
      Generated method - Setter of the User.loginDisabled attribute.
      Parameters:
      value - the loginDisabled - Determines whether user is allowed to login to system.
    • setLoginDisabled

      public void setLoginDisabled(Boolean value)
      Generated method - Setter of the User.loginDisabled attribute.
      Parameters:
      value - the loginDisabled - Determines whether user is allowed to login to system.
    • setLoginDisabled

      public void setLoginDisabled(SessionContext ctx, boolean value)
      Generated method - Setter of the User.loginDisabled attribute.
      Parameters:
      value - the loginDisabled - Determines whether user is allowed to login to system.
    • setLoginDisabled

      public void setLoginDisabled(boolean value)
      Generated method - Setter of the User.loginDisabled attribute.
      Parameters:
      value - the loginDisabled - Determines whether user is allowed to login to system.
    • getOrders

      public Collection<Order> getOrders(SessionContext ctx)
      Generated method - Getter of the User.orders attribute.
      Returns:
      the orders
    • getOrders

      public Collection<Order> getOrders()
      Generated method - Getter of the User.orders attribute.
      Returns:
      the orders
    • setOrders

      public void setOrders(SessionContext ctx, Collection<Order> value)
      Generated method - Setter of the User.orders attribute.
      Parameters:
      value - the orders
    • setOrders

      public void setOrders(Collection<Order> value)
      Generated method - Setter of the User.orders attribute.
      Parameters:
      value - the orders
    • addToOrders

      public void addToOrders(SessionContext ctx, Order value)
      Generated method - Adds value to orders.
      Parameters:
      value - the item to add to orders
    • addToOrders

      public void addToOrders(Order value)
      Generated method - Adds value to orders.
      Parameters:
      value - the item to add to orders
    • removeFromOrders

      public void removeFromOrders(SessionContext ctx, Order value)
      Generated method - Removes value from orders.
      Parameters:
      value - the item to remove from orders
    • removeFromOrders

      public void removeFromOrders(Order value)
      Generated method - Removes value from orders.
      Parameters:
      value - the item to remove from orders
    • getPasswordAnswer

      public String getPasswordAnswer(SessionContext ctx)
      Generated method - Getter of the User.passwordAnswer attribute.
      Returns:
      the passwordAnswer
    • getPasswordAnswer

      public String getPasswordAnswer()
      Generated method - Getter of the User.passwordAnswer attribute.
      Returns:
      the passwordAnswer
    • setPasswordAnswer

      public void setPasswordAnswer(SessionContext ctx, String value)
      Generated method - Setter of the User.passwordAnswer attribute.
      Parameters:
      value - the passwordAnswer
    • setPasswordAnswer

      public void setPasswordAnswer(String value)
      Generated method - Setter of the User.passwordAnswer attribute.
      Parameters:
      value - the passwordAnswer
    • getPasswordEncoding

      public String getPasswordEncoding(SessionContext ctx)
      Generated method - Getter of the User.passwordEncoding attribute.
      Returns:
      the passwordEncoding
    • getPasswordEncoding

      public String getPasswordEncoding()
      Generated method - Getter of the User.passwordEncoding attribute.
      Returns:
      the passwordEncoding
    • setPasswordEncoding

      public void setPasswordEncoding(SessionContext ctx, String value)
      Generated method - Setter of the User.passwordEncoding attribute.
      Parameters:
      value - the passwordEncoding
    • setPasswordEncoding

      public void setPasswordEncoding(String value)
      Generated method - Setter of the User.passwordEncoding attribute.
      Parameters:
      value - the passwordEncoding
    • getPasswordQuestion

      public String getPasswordQuestion(SessionContext ctx)
      Generated method - Getter of the User.passwordQuestion attribute.
      Returns:
      the passwordQuestion
    • getPasswordQuestion

      public String getPasswordQuestion()
      Generated method - Getter of the User.passwordQuestion attribute.
      Returns:
      the passwordQuestion
    • setPasswordQuestion

      public void setPasswordQuestion(SessionContext ctx, String value)
      Generated method - Setter of the User.passwordQuestion attribute.
      Parameters:
      value - the passwordQuestion
    • setPasswordQuestion

      public void setPasswordQuestion(String value)
      Generated method - Setter of the User.passwordQuestion attribute.
      Parameters:
      value - the passwordQuestion
    • getPaymentInfos

      public Collection<PaymentInfo> getPaymentInfos(SessionContext ctx)
      Generated method - Getter of the User.paymentInfos attribute.
      Returns:
      the paymentInfos
    • getPaymentInfos

      public Collection<PaymentInfo> getPaymentInfos()
      Generated method - Getter of the User.paymentInfos attribute.
      Returns:
      the paymentInfos
    • setPaymentInfos

      public void setPaymentInfos(SessionContext ctx, Collection<PaymentInfo> value)
      Generated method - Setter of the User.paymentInfos attribute.
      Parameters:
      value - the paymentInfos
    • setPaymentInfos

      public void setPaymentInfos(Collection<PaymentInfo> value)
      Generated method - Setter of the User.paymentInfos attribute.
      Parameters:
      value - the paymentInfos
    • addToPaymentInfos

      public void addToPaymentInfos(SessionContext ctx, PaymentInfo value)
      Generated method - Adds value to paymentInfos.
      Parameters:
      value - the item to add to paymentInfos
    • addToPaymentInfos

      public void addToPaymentInfos(PaymentInfo value)
      Generated method - Adds value to paymentInfos.
      Parameters:
      value - the item to add to paymentInfos
    • removeFromPaymentInfos

      public void removeFromPaymentInfos(SessionContext ctx, PaymentInfo value)
      Generated method - Removes value from paymentInfos.
      Parameters:
      value - the item to remove from paymentInfos
    • removeFromPaymentInfos

      public void removeFromPaymentInfos(PaymentInfo value)
      Generated method - Removes value from paymentInfos.
      Parameters:
      value - the item to remove from paymentInfos
    • getQuotes

      public Collection<Quote> getQuotes(SessionContext ctx)
      Generated method - Getter of the User.quotes attribute.
      Returns:
      the quotes
    • getQuotes

      public Collection<Quote> getQuotes()
      Generated method - Getter of the User.quotes attribute.
      Returns:
      the quotes
    • setQuotes

      public void setQuotes(SessionContext ctx, Collection<Quote> value)
      Generated method - Setter of the User.quotes attribute.
      Parameters:
      value - the quotes
    • setQuotes

      public void setQuotes(Collection<Quote> value)
      Generated method - Setter of the User.quotes attribute.
      Parameters:
      value - the quotes
    • addToQuotes

      public void addToQuotes(SessionContext ctx, Quote value)
      Generated method - Adds value to quotes.
      Parameters:
      value - the item to add to quotes
    • addToQuotes

      public void addToQuotes(Quote value)
      Generated method - Adds value to quotes.
      Parameters:
      value - the item to add to quotes
    • removeFromQuotes

      public void removeFromQuotes(SessionContext ctx, Quote value)
      Generated method - Removes value from quotes.
      Parameters:
      value - the item to remove from quotes
    • removeFromQuotes

      public void removeFromQuotes(Quote value)
      Generated method - Removes value from quotes.
      Parameters:
      value - the item to remove from quotes
    • getRandomToken

      public String getRandomToken(SessionContext ctx)
      Generated method - Getter of the User.randomToken attribute.
      Returns:
      the randomToken - Random part of login token
    • getRandomToken

      public String getRandomToken()
      Generated method - Getter of the User.randomToken attribute.
      Returns:
      the randomToken - Random part of login token
    • setRandomToken

      public void setRandomToken(SessionContext ctx, String value)
      Generated method - Setter of the User.randomToken attribute.
      Parameters:
      value - the randomToken - Random part of login token
    • setRandomToken

      public void setRandomToken(String value)
      Generated method - Setter of the User.randomToken attribute.
      Parameters:
      value - the randomToken - Random part of login token
    • getRetentionState

      public EnumerationValue getRetentionState(SessionContext ctx)
      Generated method - Getter of the User.retentionState attribute.
      Returns:
      the retentionState - User retention state, avoiding being picked up again by cronjob if processed
    • getRetentionState

      public EnumerationValue getRetentionState()
      Generated method - Getter of the User.retentionState attribute.
      Returns:
      the retentionState - User retention state, avoiding being picked up again by cronjob if processed
    • setRetentionState

      public void setRetentionState(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the User.retentionState attribute.
      Parameters:
      value - the retentionState - User retention state, avoiding being picked up again by cronjob if processed
    • setRetentionState

      public void setRetentionState(EnumerationValue value)
      Generated method - Setter of the User.retentionState attribute.
      Parameters:
      value - the retentionState - User retention state, avoiding being picked up again by cronjob if processed
    • getSessionCurrency

      public Currency getSessionCurrency(SessionContext ctx)
      Generated method - Getter of the User.sessionCurrency attribute.
      Returns:
      the sessionCurrency
    • getSessionCurrency

      public Currency getSessionCurrency()
      Generated method - Getter of the User.sessionCurrency attribute.
      Returns:
      the sessionCurrency
    • setSessionCurrency

      public void setSessionCurrency(SessionContext ctx, Currency value)
      Generated method - Setter of the User.sessionCurrency attribute.
      Parameters:
      value - the sessionCurrency
    • setSessionCurrency

      public void setSessionCurrency(Currency value)
      Generated method - Setter of the User.sessionCurrency attribute.
      Parameters:
      value - the sessionCurrency
    • getSessionLanguage

      public Language getSessionLanguage(SessionContext ctx)
      Generated method - Getter of the User.sessionLanguage attribute.
      Returns:
      the sessionLanguage
    • getSessionLanguage

      public Language getSessionLanguage()
      Generated method - Getter of the User.sessionLanguage attribute.
      Returns:
      the sessionLanguage
    • setSessionLanguage

      public void setSessionLanguage(SessionContext ctx, Language value)
      Generated method - Setter of the User.sessionLanguage attribute.
      Parameters:
      value - the sessionLanguage
    • setSessionLanguage

      public void setSessionLanguage(Language value)
      Generated method - Setter of the User.sessionLanguage attribute.
      Parameters:
      value - the sessionLanguage
    • getUserprofile

      public UserProfile getUserprofile(SessionContext ctx)
      Generated method - Getter of the User.userprofile attribute.
      Returns:
      the userprofile
    • getUserprofile

      public UserProfile getUserprofile()
      Generated method - Getter of the User.userprofile attribute.
      Returns:
      the userprofile
    • setUserprofile

      public void setUserprofile(SessionContext ctx, UserProfile value)
      Generated method - Setter of the User.userprofile attribute.
      Parameters:
      value - the userprofile
    • setUserprofile

      public void setUserprofile(UserProfile value)
      Generated method - Setter of the User.userprofile attribute.
      Parameters:
      value - the userprofile