info.magnolia.module.googlesitemap.app.subapp.sitemapdetail.base
Class SiteMapContentViewImpl<T extends com.vaadin.ui.Table,L extends SiteMapContentView.Listener>

java.lang.Object
  extended by info.magnolia.module.googlesitemap.app.subapp.sitemapdetail.base.SiteMapContentViewImpl<T,L>
Type Parameters:
T - exact table type.
L - exact listener interface.
All Implemented Interfaces:
SiteMapContentView<L>, info.magnolia.ui.api.view.View, Serializable
Direct Known Subclasses:
SiteMapPagesViewImpl, SiteMapVirtualUrisViewImpl

public abstract class SiteMapContentViewImpl<T extends com.vaadin.ui.Table,L extends SiteMapContentView.Listener>
extends Object
implements SiteMapContentView<L>

Abstract base implementation of SiteMapContentView.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.module.googlesitemap.app.subapp.sitemapdetail.base.SiteMapContentView
SiteMapContentView.Listener
 
Constructor Summary
SiteMapContentViewImpl(T table, info.magnolia.i18nsystem.SimpleTranslator translator)
           
 
Method Summary
 com.vaadin.ui.Component asVaadinComponent()
           
protected abstract  String[] getColumnCaptions()
           
protected abstract  String[] getColumnIds()
           
 L getListener()
           
 T getTable()
           
 SiteMapEntry getValue()
           
 void setDatasource(com.vaadin.data.Container container)
           
 void setListener(L listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiteMapContentViewImpl

public SiteMapContentViewImpl(T table,
                              info.magnolia.i18nsystem.SimpleTranslator translator)
Method Detail

getTable

public T getTable()

getListener

public L getListener()

setDatasource

public void setDatasource(com.vaadin.data.Container container)
Specified by:
setDatasource in interface SiteMapContentView<L extends SiteMapContentView.Listener>

getColumnCaptions

protected abstract String[] getColumnCaptions()

getColumnIds

protected abstract String[] getColumnIds()

setListener

public void setListener(L listener)
Specified by:
setListener in interface SiteMapContentView<L extends SiteMapContentView.Listener>

getValue

public SiteMapEntry getValue()
Specified by:
getValue in interface SiteMapContentView<L extends SiteMapContentView.Listener>

asVaadinComponent

public com.vaadin.ui.Component asVaadinComponent()
Specified by:
asVaadinComponent in interface info.magnolia.ui.api.view.View


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.