コード例 #1
0
  @Override
  public void setModelAttributes(Map<String, Object> attributes) {
    Long layoutSetId = (Long) attributes.get("layoutSetId");

    if (layoutSetId != null) {
      setLayoutSetId(layoutSetId);
    }

    Long groupId = (Long) attributes.get("groupId");

    if (groupId != null) {
      setGroupId(groupId);
    }

    Long companyId = (Long) attributes.get("companyId");

    if (companyId != null) {
      setCompanyId(companyId);
    }

    Date createDate = (Date) attributes.get("createDate");

    if (createDate != null) {
      setCreateDate(createDate);
    }

    Date modifiedDate = (Date) attributes.get("modifiedDate");

    if (modifiedDate != null) {
      setModifiedDate(modifiedDate);
    }

    Boolean privateLayout = (Boolean) attributes.get("privateLayout");

    if (privateLayout != null) {
      setPrivateLayout(privateLayout);
    }

    Boolean logo = (Boolean) attributes.get("logo");

    if (logo != null) {
      setLogo(logo);
    }

    Long logoId = (Long) attributes.get("logoId");

    if (logoId != null) {
      setLogoId(logoId);
    }

    String themeId = (String) attributes.get("themeId");

    if (themeId != null) {
      setThemeId(themeId);
    }

    String colorSchemeId = (String) attributes.get("colorSchemeId");

    if (colorSchemeId != null) {
      setColorSchemeId(colorSchemeId);
    }

    String wapThemeId = (String) attributes.get("wapThemeId");

    if (wapThemeId != null) {
      setWapThemeId(wapThemeId);
    }

    String wapColorSchemeId = (String) attributes.get("wapColorSchemeId");

    if (wapColorSchemeId != null) {
      setWapColorSchemeId(wapColorSchemeId);
    }

    String css = (String) attributes.get("css");

    if (css != null) {
      setCss(css);
    }

    Integer pageCount = (Integer) attributes.get("pageCount");

    if (pageCount != null) {
      setPageCount(pageCount);
    }

    String settings = (String) attributes.get("settings");

    if (settings != null) {
      setSettings(settings);
    }

    String layoutSetPrototypeUuid = (String) attributes.get("layoutSetPrototypeUuid");

    if (layoutSetPrototypeUuid != null) {
      setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
    }

    Boolean layoutSetPrototypeLinkEnabled =
        (Boolean) attributes.get("layoutSetPrototypeLinkEnabled");

    if (layoutSetPrototypeLinkEnabled != null) {
      setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
    }
  }