return ConnectionFactory.getInstance().newConnection(config);
}
private XFolder addStaticFolder(XObject parent, String label, String dbId, String folderType)
{
XFolder folder = new XFolder();
folder.setName(label);
setIdToXObject(folder);
folder.setFolderType(folderType);
folder.setHasChildren(true);
// folder.setDbId(dbId);
idCounter++;
return folder;
}