/**
* Callback method called when the data loading is completed.
* @param error <code>true</code> if an error occours during data loading, <code>false</code> if data loading is successfully completed
*/
public void loadDataCompleted(boolean error) {
WarehouseVO vo = (WarehouseVO)detailFrame.getWarehouseForm().getVOModel().getValueObject();
detailFrame.getHierarTreePanel().setEnabled(false);
detailFrame.getHierarTreePanel().setCompanyCode(vo.getCompanyCodeSys01WAR01());
detailFrame.getHierarTreePanel().setProgressiveHIE02(vo.getProgressiveHie02WAR01());
detailFrame.getHierarTreePanel().reloadTree();
detailFrame.getAvailPanel().getGrid().getOtherGridParams().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01WAR01());
detailFrame.getAvailPanel().getGrid().getOtherGridParams().put(ApplicationConsts.WAREHOUSE_CODE,vo.getWarehouseCodeWAR01());
detailFrame.getAvailPanel().getGrid().getOtherGridParams().put(ApplicationConsts.PROGRESSIVE_HIE02,vo.getProgressiveHie02WAR01());
if (detailFrame.getHierarTreePanel().getSelectedNode()!=null) {
CompanyHierarchyLevelVO levelVO = (CompanyHierarchyLevelVO)detailFrame.getHierarTreePanel().getSelectedNode().getUserObject();
detailFrame.getAvailPanel().getGrid().getOtherGridParams().put(ApplicationConsts.COMPANY_CODE_SYS01,levelVO.getCompanySys01HIE01());
detailFrame.getAvailPanel().getGrid().getOtherGridParams().put(ApplicationConsts.PROGRESSIVE_HIE01,levelVO.getProgressiveHIE01());
}
detailFrame.getAvailPanel().setEnabled(true);
detailFrame.getAvailPanel().getGrid().reloadData();
detailFrame.getBookedItemsPanel().getGrid().getOtherGridParams().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01WAR01());
detailFrame.getBookedItemsPanel().getGrid().getOtherGridParams().put(ApplicationConsts.WAREHOUSE_CODE,vo.getWarehouseCodeWAR01());
detailFrame.getBookedItemsPanel().setEnabled(true);
detailFrame.getBookedItemsPanel().getGrid().reloadData();
detailFrame.getOrderedItemsPanel().getGrid().getOtherGridParams().put(ApplicationConsts.COMPANY_CODE_SYS01,vo.getCompanyCodeSys01WAR01());
detailFrame.getOrderedItemsPanel().getGrid().getOtherGridParams().put(ApplicationConsts.WAREHOUSE_CODE,vo.getWarehouseCodeWAR01());
detailFrame.getOrderedItemsPanel().setEnabled(true);
}