com.ibm.commerce.tools.attachment.beans

Class AttachmentTreeDataBean

  • java.lang.Object
    • com.ibm.commerce.tools.attachment.beans.AttachmentTreeDataBean
  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, DynamicTreeUserDataBean, java.io.Serializable


    public class AttachmentTreeDataBean
    extends java.lang.Object
    implements DynamicTreeUserDataBean
    The AttachmentTreeDataBean class implements the com.ibm.commerce.tools.common.ui.DynamicTreeUserDataBean interface to retrieve attachment information for the AttachmentTreeView JSP. This bean is used to construct a directory structure for the attachments.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String CLASSNAME
        Define the CLASSNAME.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttachmentTreeDataBean

        public AttachmentTreeDataBean()
        The default constructor of AttachmentTreeDataBean.
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context associated with the data bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        The command context passed to the JSP page that invokes this data bean.
      • getRequestProperties

        public TypedProperty getRequestProperties()
        Gets the requestProperties associated with the data bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        The set of properties passed to the JSP page that invokes this data bean.
      • setCommandContext

        public void setCommandContext(CommandContext cmdContext)
        Sets the command context associated with the data bean. It is called by the DataBeanManager during the activate method.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        cmdContext - The command context passed to the JSP page that invokes this data bean.
      • setRequestProperties

        public void setRequestProperties(TypedProperty requestProperties)
        Sets the requestProperties associated with the data bean. It is called by the DataBeanManager in the activate method.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        requestProperties - The request properties passed to the JSP page that invokes this data bean.
      • getIconInfo

        public java.util.Vector getIconInfo()
        Gets the icons information.
        Specified by:
        getIconInfo in interface DynamicTreeUserDataBean
        Returns:
        A vector object that contains the icon information.
      • getMenuInfo

        public java.util.Vector getMenuInfo()
        Gets the menus information.
        Specified by:
        getMenuInfo in interface DynamicTreeUserDataBean
        Returns:
        A vector object that contains the menu information.
      • getNodeInfo

        public java.util.Vector getNodeInfo()
        Gets the nodes information.
        Specified by:
        getNodeInfo in interface DynamicTreeUserDataBean
        Returns:
        A vector object that contains the node information.
      • populate

        public void populate()
        Generates the directory tree nodes, icons and menus information.
        Specified by:
        populate in interface SmartDataBean