Class GenericModelService<T,S extends org.springframework.data.jpa.repository.JpaRepository<T,Long>>  
java.lang.Object
org.xbricks.inventories.inventory.services.GenericModelService<T,S> 
- All Implemented Interfaces:
 IGenericModelService<T>
- Direct Known Subclasses:
 AdapterNameService,DeliveryService,DepotService,HostOperatingSystemService,HostRoleService,InventoryItemService,InventoryItemStatusService,InventoryItemTypeService,IpAddressService,ManufacturerService,NetworkHostService,NetworkInterfaceControllerService,NetworkPrefixService,OwnerService,ResponsiblePersonService,TagService,TagTypeService,VendorService
@Service
public abstract class GenericModelService<T,S extends org.springframework.data.jpa.repository.JpaRepository<T,Long>>  
extends Object
implements IGenericModelService<T>
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteById(long id) abstract booleanisReferencedById(long id) loadAll()loadById(long id)  
- 
Field Details
- 
modelRepository
 
 - 
 - 
Constructor Details
- 
GenericModelService
 
 - 
 - 
Method Details
- 
loadById
- Specified by:
 loadByIdin interfaceIGenericModelService<T>
 - 
loadAll
- Specified by:
 loadAllin interfaceIGenericModelService<T>
 - 
save
- Specified by:
 savein interfaceIGenericModelService<T>
 - 
deleteById
public void deleteById(long id) - Specified by:
 deleteByIdin interfaceIGenericModelService<T>
 - 
isReferencedById
public abstract boolean isReferencedById(long id) - Specified by:
 isReferencedByIdin interfaceIGenericModelService<T>
 
 -