public class AttachmentTreeDataBean extends java.lang.Object implements DynamicTreeUserDataBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Define the CLASSNAME.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
protected static java.lang.String | MENU_ATTACHMENT
the context menu type of attachment nodes.
|
protected static java.lang.String | NODE_ATTACHMENT
the node type of attachment nodes.
|
Constructor and Description |
---|
AttachmentTreeDataBean()
The default constructor of AttachmentTreeDataBean.
|
Modifier and Type | Method and Description |
---|---|
protected DynamicTreeMenuType | generateAttachmentMenu(com.ibm.commerce.tools.resourcebundle.ResourceBundleProperties rbAttachment)
generates the context menus for the attachment nodes.
|
protected DynamicTreeNode | generateAttachmentNode(java.lang.String strDirectoryId, java.lang.String strDirectoryName, java.lang.String strPath, boolean bRoot)
This method generates an attachment node for the tree.
|
protected void | generateIconInfo()
generates all the needed icons for the tree.
|
protected void | generateMenuInfo(com.ibm.commerce.tools.resourcebundle.ResourceBundleProperties rbAttachment)
generates all the needed context menus for the tree.
|
protected void | generateNodeInfo()
generates all the nodes for the tree.
|
protected void | generateTreeHashtable()
Generates a hashtable containing the directories available
|
CommandContext | getCommandContext()
Gets the command context associated with the data bean.
|
java.util.Vector | getIconInfo()
Gets the icons information.
|
java.util.Vector | getMenuInfo()
Gets the menus information.
|
java.util.Vector | getNodeInfo()
Gets the nodes information.
|
TypedProperty | getRequestProperties()
Gets the requestProperties associated with the data bean.
|
void | populate()
Generates the directory tree nodes, icons and menus information.
|
void | setCommandContext(CommandContext cmdContext)
Sets the command context associated with the data bean.
|
void | setRequestProperties(TypedProperty requestProperties)
Sets the requestProperties associated with the data bean.
|
protected static void | TRACE(java.lang.String strMethodName, java.lang.String strTraceMsg)
generates a trace message.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected static final java.lang.String NODE_ATTACHMENT
protected static final java.lang.String MENU_ATTACHMENT
public AttachmentTreeDataBean()
public CommandContext getCommandContext()
public TypedProperty getRequestProperties()
public void setCommandContext(CommandContext cmdContext)
public void setRequestProperties(TypedProperty requestProperties)
public java.util.Vector getIconInfo()
public java.util.Vector getMenuInfo()
public java.util.Vector getNodeInfo()
public void populate()
protected void generateIconInfo()
protected void generateMenuInfo(com.ibm.commerce.tools.resourcebundle.ResourceBundleProperties rbAttachment)
protected DynamicTreeMenuType generateAttachmentMenu(com.ibm.commerce.tools.resourcebundle.ResourceBundleProperties rbAttachment)
protected void generateTreeHashtable() throws java.lang.Exception
protected void generateNodeInfo()
protected DynamicTreeNode generateAttachmentNode(java.lang.String strDirectoryId, java.lang.String strDirectoryName, java.lang.String strPath, boolean bRoot) throws java.lang.Exception
protected static final void TRACE(java.lang.String strMethodName, java.lang.String strTraceMsg)