Class GeneratedProductConfiguration

    • Field Detail

      • CONFIGURATIONID

        public static final java.lang.String CONFIGURATIONID
        Qualifier of the ProductConfiguration.configurationId attribute
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        Qualifier of the ProductConfiguration.version attribute
        See Also:
        Constant Field Values
      • USERSESSIONID

        public static final java.lang.String USERSESSIONID
        Qualifier of the ProductConfiguration.userSessionId attribute
        See Also:
        Constant Field Values
      • KBNAME

        public static final java.lang.String KBNAME
        Qualifier of the ProductConfiguration.kbName attribute
        See Also:
        Constant Field Values
      • KBVERSION

        public static final java.lang.String KBVERSION
        Qualifier of the ProductConfiguration.kbVersion attribute
        See Also:
        Constant Field Values
      • KBLOGSYS

        public static final java.lang.String KBLOGSYS
        Qualifier of the ProductConfiguration.kbLogsys attribute
        See Also:
        Constant Field Values
      • PRODUCT

        public static final java.lang.String PRODUCT
        Qualifier of the ProductConfiguration.product attribute
        See Also:
        Constant Field Values
      • PRODUCT2PRODUCTCONFIGS_SRC_ORDERED

        protected static java.lang.String PRODUCT2PRODUCTCONFIGS_SRC_ORDERED
        Relation ordering override parameter constants for Product2ProductConfigs from ((sapproductconfigservices))
      • PRODUCT2PRODUCTCONFIGS_TGT_ORDERED

        protected static java.lang.String PRODUCT2PRODUCTCONFIGS_TGT_ORDERED
      • PRODUCT2PRODUCTCONFIGS_MARKMODIFIED

        protected static java.lang.String PRODUCT2PRODUCTCONFIGS_MARKMODIFIED
        Relation disable markmodifed parameter constants for Product2ProductConfigs from ((sapproductconfigservices))
      • USER

        public static final java.lang.String USER
        Qualifier of the ProductConfiguration.user 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

      • GeneratedProductConfiguration

        public GeneratedProductConfiguration()
    • Method Detail

      • getConfigurationId

        public java.lang.String getConfigurationId​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.configurationId attribute.
        Returns:
        the configurationId - Configuration Id.
      • getConfigurationId

        public java.lang.String getConfigurationId()
        Generated method - Getter of the ProductConfiguration.configurationId attribute.
        Returns:
        the configurationId - Configuration Id.
      • setConfigurationId

        public void setConfigurationId​(SessionContext ctx,
                                       java.lang.String value)
        Generated method - Setter of the ProductConfiguration.configurationId attribute.
        Parameters:
        value - the configurationId - Configuration Id.
      • setConfigurationId

        public void setConfigurationId​(java.lang.String value)
        Generated method - Setter of the ProductConfiguration.configurationId attribute.
        Parameters:
        value - the configurationId - Configuration Id.
      • 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
      • getKbLogsys

        public java.lang.String getKbLogsys​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.kbLogsys attribute.
        Returns:
        the kbLogsys - Logical system of the knowledgebase object.
      • getKbLogsys

        public java.lang.String getKbLogsys()
        Generated method - Getter of the ProductConfiguration.kbLogsys attribute.
        Returns:
        the kbLogsys - Logical system of the knowledgebase object.
      • setKbLogsys

        public void setKbLogsys​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the ProductConfiguration.kbLogsys attribute.
        Parameters:
        value - the kbLogsys - Logical system of the knowledgebase object.
      • setKbLogsys

        public void setKbLogsys​(java.lang.String value)
        Generated method - Setter of the ProductConfiguration.kbLogsys attribute.
        Parameters:
        value - the kbLogsys - Logical system of the knowledgebase object.
      • getKbName

        public java.lang.String getKbName​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.kbName attribute.
        Returns:
        the kbName - Name of the knowledgebase object.
      • getKbName

        public java.lang.String getKbName()
        Generated method - Getter of the ProductConfiguration.kbName attribute.
        Returns:
        the kbName - Name of the knowledgebase object.
      • setKbName

        public void setKbName​(SessionContext ctx,
                              java.lang.String value)
        Generated method - Setter of the ProductConfiguration.kbName attribute.
        Parameters:
        value - the kbName - Name of the knowledgebase object.
      • setKbName

        public void setKbName​(java.lang.String value)
        Generated method - Setter of the ProductConfiguration.kbName attribute.
        Parameters:
        value - the kbName - Name of the knowledgebase object.
      • getKbVersion

        public java.lang.String getKbVersion​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.kbVersion attribute.
        Returns:
        the kbVersion - Version of the knowledgebase object.
      • getKbVersion

        public java.lang.String getKbVersion()
        Generated method - Getter of the ProductConfiguration.kbVersion attribute.
        Returns:
        the kbVersion - Version of the knowledgebase object.
      • setKbVersion

        public void setKbVersion​(SessionContext ctx,
                                 java.lang.String value)
        Generated method - Setter of the ProductConfiguration.kbVersion attribute.
        Parameters:
        value - the kbVersion - Version of the knowledgebase object.
      • setKbVersion

        public void setKbVersion​(java.lang.String value)
        Generated method - Setter of the ProductConfiguration.kbVersion attribute.
        Parameters:
        value - the kbVersion - Version of the knowledgebase object.
      • getProduct

        public java.util.Collection<Product> getProduct​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.product attribute.
        Returns:
        the product
      • getProduct

        public java.util.Collection<Product> getProduct()
        Generated method - Getter of the ProductConfiguration.product attribute.
        Returns:
        the product
      • getProductCount

        public long getProductCount​(SessionContext ctx)
      • getProductCount

        public long getProductCount()
      • setProduct

        public void setProduct​(SessionContext ctx,
                               java.util.Collection<Product> value)
        Generated method - Setter of the ProductConfiguration.product attribute.
        Parameters:
        value - the product
      • setProduct

        public void setProduct​(java.util.Collection<Product> value)
        Generated method - Setter of the ProductConfiguration.product attribute.
        Parameters:
        value - the product
      • addToProduct

        public void addToProduct​(SessionContext ctx,
                                 Product value)
        Generated method - Adds value to product.
        Parameters:
        value - the item to add to product
      • addToProduct

        public void addToProduct​(Product value)
        Generated method - Adds value to product.
        Parameters:
        value - the item to add to product
      • removeFromProduct

        public void removeFromProduct​(SessionContext ctx,
                                      Product value)
        Generated method - Removes value from product.
        Parameters:
        value - the item to remove from product
      • removeFromProduct

        public void removeFromProduct​(Product value)
        Generated method - Removes value from product.
        Parameters:
        value - the item to remove from product
      • getUser

        public User getUser​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.user attribute.
        Returns:
        the user
      • getUser

        public User getUser()
        Generated method - Getter of the ProductConfiguration.user attribute.
        Returns:
        the user
      • setUser

        public void setUser​(SessionContext ctx,
                            User value)
        Generated method - Setter of the ProductConfiguration.user attribute.
        Parameters:
        value - the user
      • setUser

        public void setUser​(User value)
        Generated method - Setter of the ProductConfiguration.user attribute.
        Parameters:
        value - the user
      • getUserSessionId

        public java.lang.String getUserSessionId​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.userSessionId attribute.
        Returns:
        the userSessionId - ID of the user session this config is associated with.
      • getUserSessionId

        public java.lang.String getUserSessionId()
        Generated method - Getter of the ProductConfiguration.userSessionId attribute.
        Returns:
        the userSessionId - ID of the user session this config is associated with.
      • setUserSessionId

        public void setUserSessionId​(SessionContext ctx,
                                     java.lang.String value)
        Generated method - Setter of the ProductConfiguration.userSessionId attribute.
        Parameters:
        value - the userSessionId - ID of the user session this config is associated with.
      • setUserSessionId

        public void setUserSessionId​(java.lang.String value)
        Generated method - Setter of the ProductConfiguration.userSessionId attribute.
        Parameters:
        value - the userSessionId - ID of the user session this config is associated with.
      • getVersion

        public java.lang.String getVersion​(SessionContext ctx)
        Generated method - Getter of the ProductConfiguration.version attribute.
        Returns:
        the version - Configuration Runtime Version.
      • getVersion

        public java.lang.String getVersion()
        Generated method - Getter of the ProductConfiguration.version attribute.
        Returns:
        the version - Configuration Runtime Version.
      • setVersion

        public void setVersion​(SessionContext ctx,
                               java.lang.String value)
        Generated method - Setter of the ProductConfiguration.version attribute.
        Parameters:
        value - the version - Configuration Runtime Version.
      • setVersion

        public void setVersion​(java.lang.String value)
        Generated method - Setter of the ProductConfiguration.version attribute.
        Parameters:
        value - the version - Configuration Runtime Version.