com.ibm.commerce.utf.utils
Class RFQProductHelper

java.lang.Object
  |
  +--com.ibm.commerce.utf.utils.RFQProductHelper

public class RFQProductHelper
extends java.lang.Object

The class RFQProductHelper includes static methods for getting standard attributes, personzalized attributes and freeform comments for an rfq product.


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
 
Constructor Summary
RFQProductHelper()
          RFQProductHelper constructor comment.
 
Method Summary
static RFQProductAttributes[] getAllAttributes(java.lang.Long catalogEntryId, java.lang.Long tradingId, java.lang.Integer languageId)
          Returns an enumeration of standard and personalization attributes associated with the catalog entry in the context of a trading agreement.
static RFQProductAttributes[] getAllAttributesWithValues(java.lang.Long catalogEntryId, java.lang.Long tradingId, java.lang.Integer languageId, java.lang.String valueDelimiter)
          Returns an enumeration of standard and personalization attributes associated with the catalog entry in the context of a trading agreement along with their attribute values.
static PAttributeDataBean[] getPersonalizationAttributes(java.lang.Long catalogEntryId)
          Retrieves all the personalization attributes defined for the incoming catalog entry in the context of no specific trading agreement.
static RFQProductAttributes[] getPersonalizationAttributes(java.lang.Long catalogEntryId, java.lang.Long tradingId, java.lang.Integer languageId)
          Returns a list of personalization attributes associated with the catalog entry in the context of a trading agreement.
static RFQProductAttributes[] getPersonalizationAttributesWithValues(java.lang.Long catalogEntryId, java.lang.Long tradingId, java.lang.Integer languageId, java.lang.String valueDelimiter)
          Returns a list of personalization attributes associated with the catalog entry in the context of a trading agreement along with their attribute values.
static RFQProductAttributes[] getProductComments(java.lang.Long catalogEntryId, java.lang.Long tradingId, java.lang.Integer languageId)
          Returns a list of free form comments associated with the catalog entry in the context of a trading agreement.
static RFQProductAttributes[] getStandardAttributes(java.lang.Long catalogEntryId, java.lang.Integer languageId)
          Returns a list of attributes defined in the catalog for a catalog entry.
static RFQProductAttributes[] getStandardAttributesWithValues(java.lang.Long catalogEntryId, java.lang.Integer languageId, java.lang.String valueDelimiter)
          Returns a list of attributes defined in the catalog for the given catalog entry along with their attribute values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT
Constructor Detail

RFQProductHelper

public RFQProductHelper()
RFQProductHelper constructor comment.
Method Detail

getAllAttributes

public static RFQProductAttributes[] getAllAttributes(java.lang.Long catalogEntryId,
                                                      java.lang.Long tradingId,
                                                      java.lang.Integer languageId)
Returns an enumeration of standard and personalization attributes associated with the catalog entry in the context of a trading agreement.
Parameters:
catalogEntryId - The catalog entry identifier.
tradingId - The trading agreement identifier.
languageId - The language identifier.
Returns:
RFQProductAttributes[]

getAllAttributesWithValues

public static RFQProductAttributes[] getAllAttributesWithValues(java.lang.Long catalogEntryId,
                                                                java.lang.Long tradingId,
                                                                java.lang.Integer languageId,
                                                                java.lang.String valueDelimiter)
Returns an enumeration of standard and personalization attributes associated with the catalog entry in the context of a trading agreement along with their attribute values.
Parameters:
catalogEntryId - The catalog entry identifier.
tradingId - The trading agreement identifier.
languageId - The language identifier.
valueDelimiter - The delimiter to separate one attribute value from another, in case of multi-valued attributes.
Returns:
RFQProductAttributes[]

getPersonalizationAttributes

public static PAttributeDataBean[] getPersonalizationAttributes(java.lang.Long catalogEntryId)
Retrieves all the personalization attributes defined for the incoming catalog entry in the context of no specific trading agreement.
Parameters:
catalogEntryId - The catalog entry identifier.
Returns:
PAttributeDataBean[]

getPersonalizationAttributes

public static RFQProductAttributes[] getPersonalizationAttributes(java.lang.Long catalogEntryId,
                                                                  java.lang.Long tradingId,
                                                                  java.lang.Integer languageId)
Returns a list of personalization attributes associated with the catalog entry in the context of a trading agreement.
Parameters:
catalogEntryId - The catalog entry identifier.
tradingId - The trading agreement identifier.
languageId - The language identifier.
Returns:
RFQProductAttributes[]

getPersonalizationAttributesWithValues

public static RFQProductAttributes[] getPersonalizationAttributesWithValues(java.lang.Long catalogEntryId,
                                                                            java.lang.Long tradingId,
                                                                            java.lang.Integer languageId,
                                                                            java.lang.String valueDelimiter)
Returns a list of personalization attributes associated with the catalog entry in the context of a trading agreement along with their attribute values.
Parameters:
catalogEntryId - The catalog entry identifier.
tradingId - The trading agreement identifier.
languageId - The language identifier.
valueDelimiter - The delimiter to separate one attribute value from another, in case of multi-valued attributes.
Returns:
RFQProductAttributes[]

getProductComments

public static RFQProductAttributes[] getProductComments(java.lang.Long catalogEntryId,
                                                        java.lang.Long tradingId,
                                                        java.lang.Integer languageId)
Returns a list of free form comments associated with the catalog entry in the context of a trading agreement.
Parameters:
catalogEntryId - The catalog entry identifier.
tradingId - The trading agreement identifier.
languageId - The language identifier.
Returns:
RFQProductAttributes[]

getStandardAttributes

public static RFQProductAttributes[] getStandardAttributes(java.lang.Long catalogEntryId,
                                                           java.lang.Integer languageId)
Returns a list of attributes defined in the catalog for a catalog entry.
Parameters:
catalogEntryId - The catalog entry identifier.
languageId - The language identifier.
Returns:
RFQProductAttributes[]

getStandardAttributesWithValues

public static RFQProductAttributes[] getStandardAttributesWithValues(java.lang.Long catalogEntryId,
                                                                     java.lang.Integer languageId,
                                                                     java.lang.String valueDelimiter)
Returns a list of attributes defined in the catalog for the given catalog entry along with their attribute values.
Parameters:
catalogEntryId - The catalog entry identifier.
languageId - The language identifier.
valueDelimiter - The delimiter to separate one attribute value from another, in case of multi-valued attributes.
Returns:
RFQProductAttributes[]