Class InventoryItemDtoService
java.lang.Object
org.xbricks.inventories.inventory.services.inventoryItem.InventoryItemDtoService
- All Implemented Interfaces:
IInventoryItemDtoService
-
Constructor Summary
ConstructorDescriptionInventoryItemDtoService
(IInventoryItemService inventoryItemService, IInventoryItemDisplayDtoConverter inventoryItemDisplayDtoConverter, IInventoryItemSaveDtoConverter inventoryItemSaveDtoConverter, IInventoryItemConverter inventoryItemConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteById
(long id) boolean
isReferencedById
(long id) loadAll()
loadById
(long id) loadByOwner
(Owner owner) save
(InventoryItemSaveDto inventoryItemSaveDto)
-
Constructor Details
-
InventoryItemDtoService
@Autowired public InventoryItemDtoService(IInventoryItemService inventoryItemService, IInventoryItemDisplayDtoConverter inventoryItemDisplayDtoConverter, IInventoryItemSaveDtoConverter inventoryItemSaveDtoConverter, IInventoryItemConverter inventoryItemConverter)
-
-
Method Details
-
loadById
- Specified by:
loadById
in interfaceIInventoryItemDtoService
-
loadByOwner
- Specified by:
loadByOwner
in interfaceIInventoryItemDtoService
-
loadAll
- Specified by:
loadAll
in interfaceIInventoryItemDtoService
-
save
- Specified by:
save
in interfaceIInventoryItemDtoService
-
deleteById
- Specified by:
deleteById
in interfaceIInventoryItemDtoService
- Throws:
IllegalStateException
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIInventoryItemDtoService
-