Uses of Class
org.openhab.core.items.dto.ItemDTO
Package
Description
-
Uses of ItemDTO in org.openhab.core.io.rest.core.item
Modifier and TypeClassDescriptionclass
This is an enriched data transfer object that is used to serialize group items.class
This is an enriched data transfer object that is used to serialize items with dynamic data like the state, the state description and the link.ModifierConstructorDescriptionEnrichedGroupItemDTO
(ItemDTO itemDTO, EnrichedItemDTO[] members, String link, String state, String transformedState, StateDescription stateDescription, String unitSymbol) EnrichedItemDTO
(ItemDTO itemDTO, String link, String state, String transformedState, StateDescription stateDescription, CommandDescription commandDescription, String unitSymbol) -
Uses of ItemDTO in org.openhab.core.items.dto
Modifier and TypeClassDescriptionclass
This is a data transfer object that is used to serialize group items.Modifier and TypeMethodDescriptionstatic @Nullable Item
ItemDTOMapper.map
(ItemDTO itemDTO, ItemBuilderFactory itemBuilderFactory) Maps item DTO into item object. -
Uses of ItemDTO in org.openhab.core.items.events
Modifier and TypeMethodDescriptionAbstractItemRegistryEvent.getItem()
Gets the item.ItemUpdatedEvent.getOldItem()
Gets the old item.ModifierConstructorDescriptionprotected
AbstractItemRegistryEvent
(String topic, String payload, @Nullable String source, ItemDTO item) Must be called in subclass constructor to create a new item registry event.protected
ItemAddedEvent
(String topic, String payload, ItemDTO item) Constructs a new item added event object.protected
ItemRemovedEvent
(String topic, String payload, ItemDTO item) Constructs a new item removed event object.protected
ItemUpdatedEvent
(String topic, String payload, ItemDTO item, ItemDTO oldItem) Constructs a new item updated event object.