コード例 #1
0
  protected ThemeDisplay getThemeDisplay(Group group) throws Exception {
    ThemeDisplay themeDisplay = new ThemeDisplay();

    Company company = CompanyLocalServiceUtil.getCompany(TestPropsValues.getCompanyId());

    themeDisplay.setCompany(company);

    themeDisplay.setLayoutSet(group.getPublicLayoutSet());
    themeDisplay.setServerPort(80);
    themeDisplay.setSiteGroupId(group.getGroupId());

    return themeDisplay;
  }