public class BridgeItemNameDAO extends Object implements ItemNameDAO
Bridge implementation of the item name DAO.
Constructor and Description |
---|
BridgeItemNameDAO(DataAccessObject dao)
Construct a new DAO.
|
@Inject public BridgeItemNameDAO(DataAccessObject dao)
Construct a new DAO.
dao
- The underlying DAO.@Nullable public String getItemName(long id)
ItemNameDAO
Get the name for an item.
getItemName
in interface ItemNameDAO
id
- The item ID.null
if the item is unknown or has no name.