Class AlarmDaoContainer
- java.lang.Object
-
- org.opennms.features.topology.api.browsers.OnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
-
- org.opennms.features.topology.plugins.browsers.AlarmDaoContainer
-
- All Implemented Interfaces:
com.vaadin.v7.data.Container
,com.vaadin.v7.data.Container.Indexed
,com.vaadin.v7.data.Container.ItemSetChangeNotifier
,com.vaadin.v7.data.Container.Ordered
,com.vaadin.v7.data.Container.Sortable
,java.io.Serializable
,SelectionChangedListener
public class AlarmDaoContainer extends OnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.features.topology.api.browsers.OnmsVaadinContainer
OnmsVaadinContainer.Cache, OnmsVaadinContainer.Page, OnmsVaadinContainer.Size, OnmsVaadinContainer.SizeReloadStrategy, OnmsVaadinContainer.SortEntry
-
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Container
com.vaadin.v7.data.Container.Editor, com.vaadin.v7.data.Container.Filter, com.vaadin.v7.data.Container.Filterable, com.vaadin.v7.data.Container.Hierarchical, com.vaadin.v7.data.Container.Indexed, com.vaadin.v7.data.Container.ItemSetChangeEvent, com.vaadin.v7.data.Container.ItemSetChangeListener, com.vaadin.v7.data.Container.ItemSetChangeNotifier, com.vaadin.v7.data.Container.Ordered, com.vaadin.v7.data.Container.PropertySetChangeEvent, com.vaadin.v7.data.Container.PropertySetChangeListener, com.vaadin.v7.data.Container.PropertySetChangeNotifier, com.vaadin.v7.data.Container.SimpleFilterable, com.vaadin.v7.data.Container.Sortable, com.vaadin.v7.data.Container.Viewer
-
Nested classes/interfaces inherited from interface com.vaadin.v7.data.Container.Indexed
com.vaadin.v7.data.Container.Indexed.ItemAddEvent, com.vaadin.v7.data.Container.Indexed.ItemRemoveEvent
-
Nested classes/interfaces inherited from interface org.opennms.features.topology.api.browsers.SelectionChangedListener
SelectionChangedListener.AlarmNodeIdSelection, SelectionChangedListener.IdSelection<T extends java.io.Serializable>, SelectionChangedListener.Selection
-
-
Field Summary
-
Fields inherited from class org.opennms.features.topology.api.browsers.OnmsVaadinContainer
DEFAULT_PAGE_SIZE
-
-
Constructor Summary
Constructors Constructor Description AlarmDaoContainer(AlarmDao dao, org.springframework.transaction.support.TransactionOperations transactionTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalCriteriaOptions(Criteria criteria, OnmsVaadinContainer.Page page, boolean doOrder)
protected ContentType
getContentType()
protected java.lang.Integer
getId(OnmsAlarm bean)
java.util.Collection<?>
getSortableContainerPropertyIds()
This function returnsOnmsVaadinContainer.getContainerPropertyIds()
.protected void
updateContainerPropertyIds(java.util.Map<java.lang.Object,java.lang.Class<?>> properties)
-
Methods inherited from class org.opennms.features.topology.api.browsers.OnmsVaadinContainer
addBeanToHibernatePropertyMapping, addContainerProperty, addItem, addItem, addItemAfter, addItemAfter, addItemAt, addItemAt, addItemSetChangeListener, addListener, containsId, createSortEntries, fireItemSetChangedEvent, firstItemId, getCache, getContainerProperty, getContainerPropertyIds, getCriteria, getIdByIndex, getItem, getItemClass, getItemIds, getItemIds, getItemsForCache, getPage, getRestrictions, getType, indexOfId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId, removeAllItems, removeContainerProperty, removeItem, removeItemSetChangeListener, removeListener, selectionChanged, setRestrictions, size, sort
-
-
-
-
Constructor Detail
-
AlarmDaoContainer
public AlarmDaoContainer(AlarmDao dao, org.springframework.transaction.support.TransactionOperations transactionTemplate)
-
-
Method Detail
-
updateContainerPropertyIds
protected void updateContainerPropertyIds(java.util.Map<java.lang.Object,java.lang.Class<?>> properties)
- Overrides:
updateContainerPropertyIds
in classOnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
-
getId
protected java.lang.Integer getId(OnmsAlarm bean)
- Specified by:
getId
in classOnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
-
getSortableContainerPropertyIds
public java.util.Collection<?> getSortableContainerPropertyIds()
Description copied from class:OnmsVaadinContainer
This function returnsOnmsVaadinContainer.getContainerPropertyIds()
.- Specified by:
getSortableContainerPropertyIds
in interfacecom.vaadin.v7.data.Container.Sortable
- Overrides:
getSortableContainerPropertyIds
in classOnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
-
addAdditionalCriteriaOptions
protected void addAdditionalCriteriaOptions(Criteria criteria, OnmsVaadinContainer.Page page, boolean doOrder)
- Overrides:
addAdditionalCriteriaOptions
in classOnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
-
getContentType
protected ContentType getContentType()
- Specified by:
getContentType
in classOnmsVaadinContainer<OnmsAlarm,java.lang.Integer>
-
-