@Test public void updateTheme() throws Exception { service.createDefault("twfaq", "TW FAQ"); service.loadZone(Zone.valueOf("twfaq")); service.updateTheme(Zone.valueOf("twfaq"), ZoneInfo.THEME_KAIF); assertEquals(ZoneInfo.THEME_KAIF, service.loadZone(Zone.valueOf("twfaq")).getTheme()); }
@Override public void updateTheme(Zone zone, String theme) { zoneDao.updateTheme(zone, theme); }
ZoneServiceImpl implements ZoneService { @Override public void updateTheme(Zone zone, String theme) { zoneDao.updateTheme(zone, theme); } }
ZoneServiceImpl implements ZoneService { @Override public void updateTheme(Zone zone, String theme) { zoneDao.updateTheme(zone, theme); }  }
ZoneServiceImpl implements ZoneService { @Override public void updateTheme(Zone zone, String theme) { zoneDao.updateTheme(zone, theme); }  @Override ZoneInfo loadZone(Zone zone); @Override ZoneInfo createDefault(String zone, String aliasName); @Override ZoneInfo createKaif(String zone, String aliasName); @Override void updateTheme(Zone zone, String theme); @Override Map<String, List<ZoneInfo>> listZoneAtoZ(); @Override List<ZoneInfo> listRecommendZones(); @Override List<ZoneInfo> listCitizenZones(); @Override ZoneInfo createByUser(String zone, String aliasName, Authorization creator); @Override List<ZoneInfo> listAdministerZones(String username); @Override boolean isZoneAvailable(String zone); @Override boolean canCreateZone(Authorization authorization); @Override List<String> listAdministratorsWithCache(Zone zone); }
ZoneServiceImpl implements ZoneService { @Override public void updateTheme(Zone zone, String theme) { zoneDao.updateTheme(zone, theme); }  @Override ZoneInfo loadZone(Zone zone); @Override ZoneInfo createDefault(String zone, String aliasName); @Override ZoneInfo createKaif(String zone, String aliasName); @Override void updateTheme(Zone zone, String theme); @Override Map<String, List<ZoneInfo>> listZoneAtoZ(); @Override List<ZoneInfo> listRecommendZones(); @Override List<ZoneInfo> listCitizenZones(); @Override ZoneInfo createByUser(String zone, String aliasName, Authorization creator); @Override List<ZoneInfo> listAdministerZones(String username); @Override boolean isZoneAvailable(String zone); @Override boolean canCreateZone(Authorization authorization); @Override List<String> listAdministratorsWithCache(Zone zone);  }