Class GeneratedProductConfiguration

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

public abstract class GeneratedProductConfiguration extends GenericItem
Generated class for type ProductConfiguration.
See Also:
  • Field Details

    • CONFIGURATIONID

      public static final String CONFIGURATIONID
      Qualifier of the ProductConfiguration.configurationId attribute
      See Also:
    • VERSION

      public static final String VERSION
      Qualifier of the ProductConfiguration.version attribute
      See Also:
    • USERSESSIONID

      public static final String USERSESSIONID
      Qualifier of the ProductConfiguration.userSessionId attribute
      See Also:
    • KBNAME

      public static final String KBNAME
      Qualifier of the ProductConfiguration.kbName attribute
      See Also:
    • KBVERSION

      public static final String KBVERSION
      Qualifier of the ProductConfiguration.kbVersion attribute
      See Also:
    • KBLOGSYS

      public static final String KBLOGSYS
      Qualifier of the ProductConfiguration.kbLogsys attribute
      See Also:
    • PRODUCT

      public static final String PRODUCT
      Qualifier of the ProductConfiguration.product attribute
      See Also:
    • PRODUCT2PRODUCTCONFIGS_SRC_ORDERED

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

      protected static String PRODUCT2PRODUCTCONFIGS_TGT_ORDERED
    • PRODUCT2PRODUCTCONFIGS_MARKMODIFIED

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

      public static final String USER
      Qualifier of the ProductConfiguration.user attribute
      See Also:
    • USERHANDLER

      protected static final BidirectionalOneToManyHandler<GeneratedProductConfiguration> USERHANDLER
      BidirectionalOneToManyHandler for handling 1:n USER's relation attributes from 'one' side.
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedProductConfiguration

      public GeneratedProductConfiguration()
  • Method Details

    • getDefaultAttributeModes

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

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

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

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

      public void setConfigurationId(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
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class Item
    • getKbLogsys

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

      public 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, String value)
      Generated method - Setter of the ProductConfiguration.kbLogsys attribute.
      Parameters:
      value - the kbLogsys - Logical system of the knowledgebase object.
    • setKbLogsys

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

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

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

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

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

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

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

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

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

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

      public 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, Collection<Product> value)
      Generated method - Setter of the ProductConfiguration.product attribute.
      Parameters:
      value - the product
    • setProduct

      public void setProduct(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 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 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, 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(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 String getVersion(SessionContext ctx)
      Generated method - Getter of the ProductConfiguration.version attribute.
      Returns:
      the version - Configuration Runtime Version.
    • getVersion

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

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

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