Class InventoryItemDtoService
java.lang.Object
org.xbricks.inventories.inventory.services.inventoryItem.InventoryItemDtoService
- All Implemented Interfaces:
IInventoryItemDtoService
-
Constructor Summary
ConstructorsConstructorDescriptionInventoryItemDtoService(IInventoryItemService inventoryItemService, IInventoryItemDisplayDtoConverter inventoryItemDisplayDtoConverter, IInventoryItemSaveDtoConverter inventoryItemSaveDtoConverter, IInventoryItemConverter inventoryItemConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteById(long id) booleanisReferencedById(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:
loadByIdin interfaceIInventoryItemDtoService
-
loadByOwner
- Specified by:
loadByOwnerin interfaceIInventoryItemDtoService
-
loadAll
- Specified by:
loadAllin interfaceIInventoryItemDtoService
-
save
- Specified by:
savein interfaceIInventoryItemDtoService
-
deleteById
- Specified by:
deleteByIdin interfaceIInventoryItemDtoService- Throws:
IllegalStateException
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedByIdin interfaceIInventoryItemDtoService
-