com.ibm.commerce.context.beans

Class BusinessChannelListDataBean

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • POSITION_CHANNEL_ID

        public static final int POSITION_CHANNEL_ID
        The position of the channel ID in a channel information list.
        See Also:
        Constant Field Values
      • POSITION_DISPLAY_NAME

        public static final int POSITION_DISPLAY_NAME
        The position of the channel display name in a channel information list.
        See Also:
        Constant Field Values
      • POSITION_DESCRIPTION

        public static final int POSITION_DESCRIPTION
        The position of the channel description in a channel information list.
        See Also:
        Constant Field Values
      • POSITION_CHANNEL_NAME

        public static final int POSITION_CHANNEL_NAME
        The position of the channel name in a channel information list.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BusinessChannelListDataBean

        public BusinessChannelListDataBean()
    • Method Detail

      • getBusinessChannelList

        public java.util.List getBusinessChannelList()
        Gets the list of business channels that are enabled in the system.
        Returns:
        A list of lists. Each inner list contains the business channel ID, display name, and description (in that order).
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates the list of business channels that are enabled in the system.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - on any error encountered
      • getBusinessChannelData

        public java.util.List getBusinessChannelData(java.lang.Long nBusinessChannelId)
        Gets the information about a given business channel.
        Parameters:
        nBusinessChannelId - the business channel ID
        Returns:
        A list that contains the business channel ID, display name, and description (in that order).