Class ResponsiblePersonDtoService
java.lang.Object
org.xbricks.inventories.inventory.services.responsiblePerson.ResponsiblePersonDtoService
- All Implemented Interfaces:
IResponsiblePersonDtoService
@Service
public class ResponsiblePersonDtoService
extends Object
implements IResponsiblePersonDtoService
-
Constructor Summary
ConstructorDescriptionResponsiblePersonDtoService
(IResponsiblePersonService responsiblePersonService, IResponsiblePersonDisplayDtoConverter responsiblePersonDisplayDtoConverter, IResponsiblePersonSaveDtoConverter responsiblePersonSaveDtoConverter, IResponsiblePersonConverter responsiblePersonConverter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteById
(long id) boolean
isReferencedById
(long id) loadAll()
loadById
(long id) save
(ResponsiblePersonSaveDto responsiblePersonSaveDto)
-
Constructor Details
-
ResponsiblePersonDtoService
@Autowired public ResponsiblePersonDtoService(IResponsiblePersonService responsiblePersonService, IResponsiblePersonDisplayDtoConverter responsiblePersonDisplayDtoConverter, IResponsiblePersonSaveDtoConverter responsiblePersonSaveDtoConverter, IResponsiblePersonConverter responsiblePersonConverter)
-
-
Method Details
-
loadById
- Specified by:
loadById
in interfaceIResponsiblePersonDtoService
-
loadAll
- Specified by:
loadAll
in interfaceIResponsiblePersonDtoService
-
save
- Specified by:
save
in interfaceIResponsiblePersonDtoService
-
deleteById
- Specified by:
deleteById
in interfaceIResponsiblePersonDtoService
- Throws:
IllegalStateException
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIResponsiblePersonDtoService
-