@Test @Ignore public void testRemoveLayout() { fail("Not yet implemented"); }
public PageLayout removeLayout(String layout) { if (layout == null) throw new IllegalStateException("Layout must not be null"); return layouts.remove(layout); }
SiteImpl implements Site { public PageLayout removeLayout(String layout) { if (layout == null) throw new IllegalStateException("Layout must not be null"); return layouts.remove(layout); } }
SiteImpl implements Site { public PageLayout removeLayout(String layout) { if (layout == null) throw new IllegalStateException("Layout must not be null"); return layouts.remove(layout); } SiteImpl(); }
SiteImpl implements Site { public PageLayout removeLayout(String layout) { if (layout == null) throw new IllegalStateException("Layout must not be null"); return layouts.remove(layout); } SiteImpl(); void initialize(Environment environment); BundleContext getBundleContext(); Map<String, String> getServiceProperties(); void setIdentifier(String identifier); String getIdentifier(); void setAutoStart(boolean enabled); boolean isStartedAutomatically(); void setName(String description); String getName(); void setAdministrator(WebloungeUser administrator); WebloungeUser getAdministrator(); I18nDictionary getI18n(); void addTemplate(PageTemplate template); void removeTemplate(PageTemplate template); PageTemplate getTemplate(String template); PageTemplate[] getTemplates(); void setDefaultTemplate(PageTemplate template); PageTemplate getDefaultTemplate(); void addLanguage(Language language); void removeLanguage(Language language); Language getLanguage(String languageId); Language[] getLanguages(); boolean supportsLanguage(Language language); void setDefaultLanguage(Language language); Language getDefaultLanguage(); void addLayout(PageLayout layout); PageLayout removeLayout(String layout); PageLayout getLayout(String layout); PageLayout[] getLayouts(); void setDefaultHostname(SiteURL url); void setDefaultHostname(SiteURL url, Environment environment); void addHostname(SiteURL url); boolean removeHostname(SiteURL url); SiteURL[] getHostnames(); SiteURL getHostname(); SiteURL getHostname(Environment environment); void addModule(Module module); Module removeModule(String module); Module getModule(String module); Module[] getModules(); void setContentRepository(ContentRepository repository); @Override void setSecurity(URL url); @Override URL getSecurity(); @Override void setDigestType(DigestType digest); @Override DigestType getDigestType(); @Override ResourceURI getErrorPage(String path); ContentRepository getContentRepository(); List<String> suggest(String dictionary, String seed, int count); void addRequestListener(RequestListener listener); void removeRequestListener(RequestListener listener); void addSiteListener(SiteListener listener); void removeSiteListener(SiteListener listener); void addUserListener(UserListener listener); void removeUserListener(UserListener listener); void addLocalRole(String systemRole, String localRole); String getLocalRole(String role); synchronized void start(); synchronized void stop(); boolean isStarted(); void requestStarted(WebloungeRequest request,
      WebloungeResponse response); void requestDelivered(WebloungeRequest request,
      WebloungeResponse response); void requestFailed(WebloungeRequest request,
      WebloungeResponse response, int reason); void setOption(String name, String value); void setOption(String name, String value, Environment environment); void removeOption(String name); String getOptionValue(String name); String getOptionValue(String name, String defaultValue); String[] getOptionValues(String name); boolean hasOption(String name); String[] getOptionNames(); Map<String, Map<Environment, List<String>>> getOptions(); static Site fromXml(Node config); static Site fromXml(Node config, XPath xpathProcessor); String toXml(); @Override String toString(); }
SiteImpl implements Site { public PageLayout removeLayout(String layout) { if (layout == null) throw new IllegalStateException("Layout must not be null"); return layouts.remove(layout); } SiteImpl(); void initialize(Environment environment); BundleContext getBundleContext(); Map<String, String> getServiceProperties(); void setIdentifier(String identifier); String getIdentifier(); void setAutoStart(boolean enabled); boolean isStartedAutomatically(); void setName(String description); String getName(); void setAdministrator(WebloungeUser administrator); WebloungeUser getAdministrator(); I18nDictionary getI18n(); void addTemplate(PageTemplate template); void removeTemplate(PageTemplate template); PageTemplate getTemplate(String template); PageTemplate[] getTemplates(); void setDefaultTemplate(PageTemplate template); PageTemplate getDefaultTemplate(); void addLanguage(Language language); void removeLanguage(Language language); Language getLanguage(String languageId); Language[] getLanguages(); boolean supportsLanguage(Language language); void setDefaultLanguage(Language language); Language getDefaultLanguage(); void addLayout(PageLayout layout); PageLayout removeLayout(String layout); PageLayout getLayout(String layout); PageLayout[] getLayouts(); void setDefaultHostname(SiteURL url); void setDefaultHostname(SiteURL url, Environment environment); void addHostname(SiteURL url); boolean removeHostname(SiteURL url); SiteURL[] getHostnames(); SiteURL getHostname(); SiteURL getHostname(Environment environment); void addModule(Module module); Module removeModule(String module); Module getModule(String module); Module[] getModules(); void setContentRepository(ContentRepository repository); @Override void setSecurity(URL url); @Override URL getSecurity(); @Override void setDigestType(DigestType digest); @Override DigestType getDigestType(); @Override ResourceURI getErrorPage(String path); ContentRepository getContentRepository(); List<String> suggest(String dictionary, String seed, int count); void addRequestListener(RequestListener listener); void removeRequestListener(RequestListener listener); void addSiteListener(SiteListener listener); void removeSiteListener(SiteListener listener); void addUserListener(UserListener listener); void removeUserListener(UserListener listener); void addLocalRole(String systemRole, String localRole); String getLocalRole(String role); synchronized void start(); synchronized void stop(); boolean isStarted(); void requestStarted(WebloungeRequest request,
      WebloungeResponse response); void requestDelivered(WebloungeRequest request,
      WebloungeResponse response); void requestFailed(WebloungeRequest request,
      WebloungeResponse response, int reason); void setOption(String name, String value); void setOption(String name, String value, Environment environment); void removeOption(String name); String getOptionValue(String name); String getOptionValue(String name, String defaultValue); String[] getOptionValues(String name); boolean hasOption(String name); String[] getOptionNames(); Map<String, Map<Environment, List<String>>> getOptions(); static Site fromXml(Node config); static Site fromXml(Node config, XPath xpathProcessor); String toXml(); @Override String toString(); static final String PROP_IDENTIFIER; static final String OPT_NAME_ERROR_PAGES; static final String SITE_XMLNS; }