Class VendorDtoService
java.lang.Object
org.xbricks.inventories.inventory.services.vendor.VendorDtoService
- All Implemented Interfaces:
IVendorDtoService
-
Constructor Summary
ConstructorDescriptionVendorDtoService
(IVendorService vendorService, IVendorDisplayDtoConverter vendorDisplayDtoConverter, IVendorSaveDtoConverter vendorSaveDtoConverter, IVendorConverter vendorConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteById
(long id) boolean
isReferencedById
(long id) loadAll()
loadById
(long id) save
(VendorSaveDto vendorSaveDto)
-
Constructor Details
-
VendorDtoService
@Autowired public VendorDtoService(IVendorService vendorService, IVendorDisplayDtoConverter vendorDisplayDtoConverter, IVendorSaveDtoConverter vendorSaveDtoConverter, IVendorConverter vendorConverter)
-
-
Method Details
-
loadById
- Specified by:
loadById
in interfaceIVendorDtoService
-
loadAll
- Specified by:
loadAll
in interfaceIVendorDtoService
-
save
- Specified by:
save
in interfaceIVendorDtoService
-
deleteById
- Specified by:
deleteById
in interfaceIVendorDtoService
- Throws:
IllegalStateException
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIVendorDtoService
-