"org/vosao/resources/html/search.html";
private void initPages() {
List<PageEntity> roots = getDao().getPageDao().getByParent("");
if (roots.size() == 0) {
TemplateEntity template = getDao().getTemplateDao().getByUrl("simple");
addPage("Home page", "/", HOME_PAGE_FILE, template.getId(), 0, true,
true);
getBusiness().getContentPermissionBusiness().setPermission(
"/", guests, ContentPermissionType.READ);
addPage("Site user Login", "/login", LOGIN_PAGE_FILE,
template.getId(), 0, true, false);
addPage("Search", "/search", SEARCH_PAGE_FILE, template.getId(), 1,
false, false);
}
}