info.magnolia.module.googlesitemap.app.subapp.sitemapdetail.base
Class SiteMapDetailPresenter<L extends SiteMapContentView.Listener>
java.lang.Object
info.magnolia.module.googlesitemap.app.subapp.sitemapdetail.base.SiteMapDetailPresenter<L>
- Type Parameters:
L
- listener interface
- All Implemented Interfaces:
- SiteMapContentView.Listener
- Direct Known Subclasses:
- SiteMapPagesPresenter, SiteMapVirtualUrisPresenter
public abstract class SiteMapDetailPresenter<L extends SiteMapContentView.Listener>
- extends Object
- implements SiteMapContentView.Listener
Abstract base implementation of presenter for .
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
protected final SiteMapService service
siteContainer
protected SiteMapEntryContainer siteContainer
SiteMapDetailPresenter
public SiteMapDetailPresenter(SiteMapContentView<L> view,
SiteMapService service,
@Named(value="subapp")
info.magnolia.event.EventBus eventBus,
info.magnolia.i18nsystem.SimpleTranslator translator)
start
public SiteMapContentView start()
getTranslator
public info.magnolia.i18nsystem.SimpleTranslator getTranslator()
edit
public void edit(javax.jcr.Node siteMapNode)
getLabel
public abstract String getLabel()
fetchSiteMapEntries
protected abstract List<SiteMapEntry> fetchSiteMapEntries(javax.jcr.Node node)
getListener
protected abstract SiteMapContentView.Listener getListener()
getView
protected SiteMapContentView getView()
onEntrySelected
public void onEntrySelected(SiteMapEntry value)
- Specified by:
onEntrySelected
in interface SiteMapContentView.Listener
getCurrentSelection
public SiteMapEntry getCurrentSelection()
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.