Class OwnerDtoService
java.lang.Object
org.xbricks.inventories.inventory.services.owner.OwnerDtoService
- All Implemented Interfaces:
IOwnerDtoService
-
Constructor Summary
ConstructorDescriptionOwnerDtoService
(IOwnerService ownerService, IOwnerDisplayDtoConverter ownerDisplayDtoConverter, IOwnerSaveDtoConverter ownerSaveDtoConverter, IOwnerConverter ownerConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteById
(long id) boolean
isReferencedById
(long id) loadAll()
loadById
(long id) save
(OwnerSaveDto ownerSaveDto)
-
Constructor Details
-
OwnerDtoService
@Autowired public OwnerDtoService(IOwnerService ownerService, IOwnerDisplayDtoConverter ownerDisplayDtoConverter, IOwnerSaveDtoConverter ownerSaveDtoConverter, IOwnerConverter ownerConverter)
-
-
Method Details
-
loadById
- Specified by:
loadById
in interfaceIOwnerDtoService
-
loadAll
- Specified by:
loadAll
in interfaceIOwnerDtoService
-
save
- Specified by:
save
in interfaceIOwnerDtoService
-
deleteById
- Specified by:
deleteById
in interfaceIOwnerDtoService
- Throws:
IllegalStateException
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIOwnerDtoService
-