lPage.setPageLayout(pt.getPageLayout());
lPage.setParentPage(page);
lPage.setRegions(convertRegions(pt.getPageTemplateRegions(), lPage, createIds));
// create new pageUser tuple
PageUser pageUser = new PageUserImpl(lPage.getOwnerId(), lPage, pt.getRenderSequence());
pageUser.setPageStatus(PageInvitationStatus.OWNER);
pageUser.setEditor(true);
List<PageUser> members = new ArrayList<PageUser>();
members.add(pageUser);
lPage.setMembers(members);
// recursive call
lPage.setSubPages((pt.getSubPageTemplates() == null || pt.getSubPageTemplates().isEmpty()) ? null : convertPages(pt.getSubPageTemplates(), lPage, createIds));