Ejemplo n.º 1
0
  /**
   * Gets the list of the hierarchical folders.
   *
   * @return the list of the hierarchical folders.
   */
  public Vector getHierarchicalFolders() {
    Vector folder_list = new Vector();

    folder_list.addElement(CatalogManager.getCatalogCategoryFolder(getCatalogCategoryNumber()));
    folder_list.addElement(getCatalogFolderCode());

    int number = Integer.parseInt(name) / 100;
    number *= 100;

    folder_list.addElement(String.valueOf(number));

    return folder_list;
  }
Ejemplo n.º 2
0
  /**
   * Gets the list of the hierarchical folders.
   *
   * @return the list of the hierarchical folders.
   */
  public Vector getHierarchicalFolders() {
    Vector folder_list = new Vector();

    folder_list.addElement(CatalogManager.getCatalogCategoryFolder(getCatalogCategoryNumber()));
    folder_list.addElement(getCatalogFolderCode());

    folder_list.addElement(name.substring(0, 1));

    int number = Format.intValueOf(name.substring(2)) / 100;
    number *= 100;
    folder_list.addElement(String.valueOf(number));

    return folder_list;
  }
Ejemplo n.º 3
0
  /**
   * Gets the list of the hierarchical folders.
   *
   * @return the list of the hierarchical folders.
   */
  public Vector getHierarchicalFolders() {
    Vector folder_list = new Vector();

    folder_list.addElement(CatalogManager.getCatalogCategoryFolder(getCatalogCategoryNumber()));
    folder_list.addElement(getCatalogFolderCode());

    int p = name.indexOf('+');
    if (p < 0) p = name.indexOf('-');

    folder_list.addElement(name.substring(0, 2));
    folder_list.addElement(name.substring(p, p + 2) + "0");

    return folder_list;
  }