Class GeneratedAbstractConfiguratorSetting

    • Field Detail

      • ID

        public static final java.lang.String ID
        Qualifier of the AbstractConfiguratorSetting.id attribute
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Qualifier of the AbstractConfiguratorSetting.catalogVersion attribute
        See Also:
        Constant Field Values
      • CONFIGURATORTYPE

        public static final java.lang.String CONFIGURATORTYPE
        Qualifier of the AbstractConfiguratorSetting.configuratorType attribute
        See Also:
        Constant Field Values
      • QUALIFIER

        public static final java.lang.String QUALIFIER
        Qualifier of the AbstractConfiguratorSetting.qualifier attribute
        See Also:
        Constant Field Values
      • CONFIGURATIONCATEGORYPOS

        public static final java.lang.String CONFIGURATIONCATEGORYPOS
        Qualifier of the AbstractConfiguratorSetting.configurationCategoryPOS attribute
        See Also:
        Constant Field Values
      • CONFIGURATIONCATEGORY

        public static final java.lang.String CONFIGURATIONCATEGORY
        Qualifier of the AbstractConfiguratorSetting.configurationCategory attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedAbstractConfiguratorSetting

        public GeneratedAbstractConfiguratorSetting()
    • Method Detail

      • getCatalogVersion

        public CatalogVersion getCatalogVersion​(SessionContext ctx)
        Generated method - Getter of the AbstractConfiguratorSetting.catalogVersion attribute.
        Returns:
        the catalogVersion - Catalog Version
      • getCatalogVersion

        public CatalogVersion getCatalogVersion()
        Generated method - Getter of the AbstractConfiguratorSetting.catalogVersion attribute.
        Returns:
        the catalogVersion - Catalog Version
      • setCatalogVersion

        protected void setCatalogVersion​(SessionContext ctx,
                                         CatalogVersion value)
        Generated method - Setter of the AbstractConfiguratorSetting.catalogVersion attribute.
        Parameters:
        value - the catalogVersion - Catalog Version
      • setCatalogVersion

        protected void setCatalogVersion​(CatalogVersion value)
        Generated method - Setter of the AbstractConfiguratorSetting.catalogVersion attribute.
        Parameters:
        value - the catalogVersion - Catalog Version
      • getConfigurationCategory

        public ConfigurationCategory getConfigurationCategory​(SessionContext ctx)
        Generated method - Getter of the AbstractConfiguratorSetting.configurationCategory attribute.
        Returns:
        the configurationCategory
      • getConfigurationCategory

        public ConfigurationCategory getConfigurationCategory()
        Generated method - Getter of the AbstractConfiguratorSetting.configurationCategory attribute.
        Returns:
        the configurationCategory
      • setConfigurationCategory

        protected void setConfigurationCategory​(SessionContext ctx,
                                                ConfigurationCategory value)
        Generated method - Setter of the AbstractConfiguratorSetting.configurationCategory attribute.
        Parameters:
        value - the configurationCategory
      • setConfigurationCategory

        protected void setConfigurationCategory​(ConfigurationCategory value)
        Generated method - Setter of the AbstractConfiguratorSetting.configurationCategory attribute.
        Parameters:
        value - the configurationCategory
      • getConfiguratorType

        public EnumerationValue getConfiguratorType​(SessionContext ctx)
        Generated method - Getter of the AbstractConfiguratorSetting.configuratorType attribute.
        Returns:
        the configuratorType - Type of the product configurator
      • getConfiguratorType

        public EnumerationValue getConfiguratorType()
        Generated method - Getter of the AbstractConfiguratorSetting.configuratorType attribute.
        Returns:
        the configuratorType - Type of the product configurator
      • setConfiguratorType

        protected void setConfiguratorType​(SessionContext ctx,
                                           EnumerationValue value)
        Generated method - Setter of the AbstractConfiguratorSetting.configuratorType attribute.
        Parameters:
        value - the configuratorType - Type of the product configurator
      • setConfiguratorType

        protected void setConfiguratorType​(EnumerationValue value)
        Generated method - Setter of the AbstractConfiguratorSetting.configuratorType attribute.
        Parameters:
        value - the configuratorType - Type of the product configurator
      • 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
      • getId

        public java.lang.String getId​(SessionContext ctx)
        Generated method - Getter of the AbstractConfiguratorSetting.id attribute.
        Returns:
        the id - Identifier
      • getId

        public java.lang.String getId()
        Generated method - Getter of the AbstractConfiguratorSetting.id attribute.
        Returns:
        the id - Identifier
      • setId

        protected void setId​(SessionContext ctx,
                             java.lang.String value)
        Generated method - Setter of the AbstractConfiguratorSetting.id attribute.
        Parameters:
        value - the id - Identifier
      • setId

        protected void setId​(java.lang.String value)
        Generated method - Setter of the AbstractConfiguratorSetting.id attribute.
        Parameters:
        value - the id - Identifier
      • getQualifier

        public java.lang.String getQualifier​(SessionContext ctx)
        Generated method - Getter of the AbstractConfiguratorSetting.qualifier attribute.
        Returns:
        the qualifier - To override a setting you should create one with the same qualifier in a descending category
      • getQualifier

        public java.lang.String getQualifier()
        Generated method - Getter of the AbstractConfiguratorSetting.qualifier attribute.
        Returns:
        the qualifier - To override a setting you should create one with the same qualifier in a descending category
      • setQualifier

        protected void setQualifier​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the AbstractConfiguratorSetting.qualifier attribute.
        Parameters:
        value - the qualifier - To override a setting you should create one with the same qualifier in a descending category
      • setQualifier

        protected void setQualifier​(java.lang.String value)
        Generated method - Setter of the AbstractConfiguratorSetting.qualifier attribute.
        Parameters:
        value - the qualifier - To override a setting you should create one with the same qualifier in a descending category