PageState pageState = new PageState(pageId.getPageName(), null, false, null,
Arrays.asList(Util.from(accessPermissions)),
Util.from(edit)[0], Arrays.asList(Util.from(moveAppsPermissions)),
Arrays.asList(Util.from(moveContainersPermissions)));
PageImpl p = new PageImpl(this, new PageContext(Util.from(pageId), pageState));
p.setCreate(true);
return p;
}