Aipo の PSML データの構造を読みとく

      String userName = ALEipUtils.getALEipUser(rundata).getName().getValue();
      ProfileLocator locator = Profiler.createLocator();
      locator
        .createFromPath(String.format("user/%s/media-type/html", userName));
      Profile profile = Profiler.getProfile(locator);
      Portlets portlets = profile.getDocument().getPortlets();

      Iterator<Portlets> iterator1 = portlets.getPortletsIterator();
      while (iterator1.hasNext()) {
        // タブ
        Portlets next1 = iterator1.next();
        String tabTtitle = next1.getTitle();
        System.out.println(tabTtitle);
        Iterator<Entry> iterator2 = next1.getEntriesIterator();
        while (iterator2.hasNext()) {
          // アプリ
          Entry next2 = iterator2.next();
          String portletName = next2.getParent();
          System.out.println("  " + portletName);
        }
      }
マイページ
  ExtTimecard
  Msgboard
  Cabinet
  ToDo
  Note
  Workflow
  Report
  Timeline
  Schedule
  UserList
  AddressBook
個人設定
  AccountPerson
  MyGroup
  Page
  Cellular