Class GeneratedProductInterest

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

public abstract class GeneratedProductInterest extends GenericItem
Generated class for type ProductInterest.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedProductInterest

      public GeneratedProductInterest()
  • Method Details

    • getDefaultAttributeModes

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

      public BaseSite getBaseSite(SessionContext ctx)
      Generated method - Getter of the ProductInterest.baseSite attribute.
      Returns:
      the baseSite - Attribute contains base site object that will be used in the process.
    • getBaseSite

      public BaseSite getBaseSite()
      Generated method - Getter of the ProductInterest.baseSite attribute.
      Returns:
      the baseSite - Attribute contains base site object that will be used in the process.
    • setBaseSite

      public void setBaseSite(SessionContext ctx, BaseSite value)
      Generated method - Setter of the ProductInterest.baseSite attribute.
      Parameters:
      value - the baseSite - Attribute contains base site object that will be used in the process.
    • setBaseSite

      public void setBaseSite(BaseSite value)
      Generated method - Setter of the ProductInterest.baseSite attribute.
      Parameters:
      value - the baseSite - Attribute contains base site object that will be used in the process.
    • getBaseStore

      public BaseStore getBaseStore(SessionContext ctx)
      Generated method - Getter of the ProductInterest.baseStore attribute.
      Returns:
      the baseStore
    • getBaseStore

      public BaseStore getBaseStore()
      Generated method - Getter of the ProductInterest.baseStore attribute.
      Returns:
      the baseStore
    • setBaseStore

      public void setBaseStore(SessionContext ctx, BaseStore value)
      Generated method - Setter of the ProductInterest.baseStore attribute.
      Parameters:
      value - the baseStore
    • setBaseStore

      public void setBaseStore(BaseStore value)
      Generated method - Setter of the ProductInterest.baseStore attribute.
      Parameters:
      value - the baseStore
    • createItem

      protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
      Description copied from class: Item
      Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

      In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
      Sn example:

      
       public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
       ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
       man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
       // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
       SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
       super.getNonInitialAttributes( ctx, allAttributes );
       // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
      
       
      Overrides:
      createItem in class GenericItem
      Parameters:
      ctx - the current session context which this item is created within
      type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
      Returns:
      the new item instance
      Throws:
      JaloBusinessException - indicates an error during creation - any changes will be rollbacked
    • getCustomer

      public Customer getCustomer(SessionContext ctx)
      Generated method - Getter of the ProductInterest.customer attribute.
      Returns:
      the customer
    • getCustomer

      public Customer getCustomer()
      Generated method - Getter of the ProductInterest.customer attribute.
      Returns:
      the customer
    • setCustomer

      public void setCustomer(SessionContext ctx, Customer value)
      Generated method - Setter of the ProductInterest.customer attribute.
      Parameters:
      value - the customer
    • setCustomer

      public void setCustomer(Customer value)
      Generated method - Setter of the ProductInterest.customer attribute.
      Parameters:
      value - the customer
    • isEmailEnabled

      public Boolean isEmailEnabled(SessionContext ctx)
      Generated method - Getter of the ProductInterest.emailEnabled attribute.
      Returns:
      the emailEnabled
    • isEmailEnabled

      public Boolean isEmailEnabled()
      Generated method - Getter of the ProductInterest.emailEnabled attribute.
      Returns:
      the emailEnabled
    • isEmailEnabledAsPrimitive

      public boolean isEmailEnabledAsPrimitive(SessionContext ctx)
      Generated method - Getter of the ProductInterest.emailEnabled attribute.
      Returns:
      the emailEnabled
    • isEmailEnabledAsPrimitive

      public boolean isEmailEnabledAsPrimitive()
      Generated method - Getter of the ProductInterest.emailEnabled attribute.
      Returns:
      the emailEnabled
    • setEmailEnabled

      public void setEmailEnabled(SessionContext ctx, Boolean value)
      Generated method - Setter of the ProductInterest.emailEnabled attribute.
      Parameters:
      value - the emailEnabled
    • setEmailEnabled

      public void setEmailEnabled(Boolean value)
      Generated method - Setter of the ProductInterest.emailEnabled attribute.
      Parameters:
      value - the emailEnabled
    • setEmailEnabled

      public void setEmailEnabled(SessionContext ctx, boolean value)
      Generated method - Setter of the ProductInterest.emailEnabled attribute.
      Parameters:
      value - the emailEnabled
    • setEmailEnabled

      public void setEmailEnabled(boolean value)
      Generated method - Setter of the ProductInterest.emailEnabled attribute.
      Parameters:
      value - the emailEnabled
    • getExpiryDate

      public Date getExpiryDate(SessionContext ctx)
      Generated method - Getter of the ProductInterest.expiryDate attribute.
      Returns:
      the expiryDate - Deprecated since 1905, will be replaced by creation time plus expiryDay.
    • getExpiryDate

      public Date getExpiryDate()
      Generated method - Getter of the ProductInterest.expiryDate attribute.
      Returns:
      the expiryDate - Deprecated since 1905, will be replaced by creation time plus expiryDay.
    • setExpiryDate

      public void setExpiryDate(SessionContext ctx, Date value)
      Generated method - Setter of the ProductInterest.expiryDate attribute.
      Parameters:
      value - the expiryDate - Deprecated since 1905, will be replaced by creation time plus expiryDay.
    • setExpiryDate

      public void setExpiryDate(Date value)
      Generated method - Setter of the ProductInterest.expiryDate attribute.
      Parameters:
      value - the expiryDate - Deprecated since 1905, will be replaced by creation time plus expiryDay.
    • getLanguage

      public Language getLanguage(SessionContext ctx)
      Generated method - Getter of the ProductInterest.language attribute.
      Returns:
      the language
    • getLanguage

      public Language getLanguage()
      Generated method - Getter of the ProductInterest.language attribute.
      Returns:
      the language
    • setLanguage

      public void setLanguage(SessionContext ctx, Language value)
      Generated method - Setter of the ProductInterest.language attribute.
      Parameters:
      value - the language
    • setLanguage

      public void setLanguage(Language value)
      Generated method - Setter of the ProductInterest.language attribute.
      Parameters:
      value - the language
    • getNotificationChannels

      public Set<EnumerationValue> getNotificationChannels(SessionContext ctx)
      Generated method - Getter of the ProductInterest.notificationChannels attribute.
      Returns:
      the notificationChannels
    • getNotificationChannels

      public Set<EnumerationValue> getNotificationChannels()
      Generated method - Getter of the ProductInterest.notificationChannels attribute.
      Returns:
      the notificationChannels
    • setNotificationChannels

      public void setNotificationChannels(SessionContext ctx, Set<EnumerationValue> value)
      Generated method - Setter of the ProductInterest.notificationChannels attribute.
      Parameters:
      value - the notificationChannels
    • setNotificationChannels

      public void setNotificationChannels(Set<EnumerationValue> value)
      Generated method - Setter of the ProductInterest.notificationChannels attribute.
      Parameters:
      value - the notificationChannels
    • getNotificationType

      public EnumerationValue getNotificationType(SessionContext ctx)
      Generated method - Getter of the ProductInterest.notificationType attribute.
      Returns:
      the notificationType
    • getNotificationType

      public EnumerationValue getNotificationType()
      Generated method - Getter of the ProductInterest.notificationType attribute.
      Returns:
      the notificationType
    • setNotificationType

      public void setNotificationType(SessionContext ctx, EnumerationValue value)
      Generated method - Setter of the ProductInterest.notificationType attribute.
      Parameters:
      value - the notificationType
    • setNotificationType

      public void setNotificationType(EnumerationValue value)
      Generated method - Setter of the ProductInterest.notificationType attribute.
      Parameters:
      value - the notificationType
    • getProduct

      public Product getProduct(SessionContext ctx)
      Generated method - Getter of the ProductInterest.product attribute.
      Returns:
      the product
    • getProduct

      public Product getProduct()
      Generated method - Getter of the ProductInterest.product attribute.
      Returns:
      the product
    • setProduct

      public void setProduct(SessionContext ctx, Product value)
      Generated method - Setter of the ProductInterest.product attribute.
      Parameters:
      value - the product
    • setProduct

      public void setProduct(Product value)
      Generated method - Setter of the ProductInterest.product attribute.
      Parameters:
      value - the product
    • isSmsEnabled

      public Boolean isSmsEnabled(SessionContext ctx)
      Generated method - Getter of the ProductInterest.smsEnabled attribute.
      Returns:
      the smsEnabled
    • isSmsEnabled

      public Boolean isSmsEnabled()
      Generated method - Getter of the ProductInterest.smsEnabled attribute.
      Returns:
      the smsEnabled
    • isSmsEnabledAsPrimitive

      public boolean isSmsEnabledAsPrimitive(SessionContext ctx)
      Generated method - Getter of the ProductInterest.smsEnabled attribute.
      Returns:
      the smsEnabled
    • isSmsEnabledAsPrimitive

      public boolean isSmsEnabledAsPrimitive()
      Generated method - Getter of the ProductInterest.smsEnabled attribute.
      Returns:
      the smsEnabled
    • setSmsEnabled

      public void setSmsEnabled(SessionContext ctx, Boolean value)
      Generated method - Setter of the ProductInterest.smsEnabled attribute.
      Parameters:
      value - the smsEnabled
    • setSmsEnabled

      public void setSmsEnabled(Boolean value)
      Generated method - Setter of the ProductInterest.smsEnabled attribute.
      Parameters:
      value - the smsEnabled
    • setSmsEnabled

      public void setSmsEnabled(SessionContext ctx, boolean value)
      Generated method - Setter of the ProductInterest.smsEnabled attribute.
      Parameters:
      value - the smsEnabled
    • setSmsEnabled

      public void setSmsEnabled(boolean value)
      Generated method - Setter of the ProductInterest.smsEnabled attribute.
      Parameters:
      value - the smsEnabled