hierBrowserBean.setFirstDocNumber(firstDocNumber);
int lastDocNumber = ((it.highwaytech.db.HierTitle) vectHierTitle.lastElement()).docNumber();
hierBrowserBean.setLastDocNumber(lastDocNumber);
boolean opened = theTitle.isOpened();
hierBrowserBean.setOpened(opened);
Title titArch = xwconn.getTitle(xwconn.connection, xwconn.getTheDb(), theTitle.docNumber());
// System.out.println("HierBrowserPageCommand.execute() title docNumber aa "+theTitle.docNumber(xwconn.getTheDb(),
// xwconn.getServerConnection(xwconn.connection),
// theTitle.depth()));
// System.out.println("HierBrowserPageCommand.execute() title docNumber bb "+theTitle.docNumber());
// System.out.println("HierBrowserPageCommand.execute() title "+title);
// System.out.println("HierBrowserPageCommand.execute() title "+titArch.getTitle());
String title = titArch.getTitle();
hierBrowserBean.setTitle(title);
boolean lastChild = theTitle.hasBrothers(theTitle.depth());
hierBrowserBean.setLastChild(!lastChild);
if (theTitle.depth() > 1) {
boolean fatherLastChild = theTitle.hasBrothers(theTitle.depth() - 1);