Class NetworkItemService
java.lang.Object
org.xbricks.inventories.inventory.services.GenericModelService<InventoryItem,InventoryItemRepository>
org.xbricks.inventories.inventory.services.inventoryItem.InventoryItemService
org.xbricks.inventories.inventory.services.networkItem.NetworkItemService
- All Implemented Interfaces:
IGenericModelService<InventoryItem>
,IInventoryItemService
,INetworkItemService
@Service
public class NetworkItemService
extends InventoryItemService
implements INetworkItemService
-
Field Summary
Fields inherited from class org.xbricks.inventories.inventory.services.inventoryItem.InventoryItemService
logger
Fields inherited from class org.xbricks.inventories.inventory.services.GenericModelService
modelRepository
-
Constructor Summary
ConstructorDescriptionNetworkItemService
(InventoryItemRepository repository, INetworkHostService networkHostService, NetworkHostRepository networkHostRepository, InventoryItemTypeRepository networkItemTypeRepository, INetworkInterfaceControllerService networkInterfaceControllerService) -
Method Summary
Modifier and TypeMethodDescriptiongetIpAddresses
(InventoryItem entity) getNetworkHosts
(InventoryItem entity) getNetworkPrefixes
(InventoryItem entity) loadAll()
loadById
(long id) save
(InventoryItem entity) Methods inherited from class org.xbricks.inventories.inventory.services.inventoryItem.InventoryItemService
getCountOfChildren, getTags, isReferencedById, loadByDepot, loadByDepotAndOwnerIn, loadByOwner, loadByOwnerIdAndDepot, loadByOwnerIn
Methods inherited from class org.xbricks.inventories.inventory.services.GenericModelService
deleteById
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xbricks.inventories.inventory.services.IGenericModelService
deleteById, isReferencedById
Methods inherited from interface org.xbricks.inventories.inventory.services.inventoryItem.IInventoryItemService
getCountOfChildren, getTags, loadByDepot, loadByDepotAndOwnerIn, loadByOwner, loadByOwnerIdAndDepot, loadByOwnerIn
-
Constructor Details
-
NetworkItemService
public NetworkItemService(InventoryItemRepository repository, INetworkHostService networkHostService, NetworkHostRepository networkHostRepository, InventoryItemTypeRepository networkItemTypeRepository, INetworkInterfaceControllerService networkInterfaceControllerService)
-
-
Method Details
-
save
- Specified by:
save
in interfaceIGenericModelService<InventoryItem>
- Overrides:
save
in classInventoryItemService
-
getNetworkHosts
- Specified by:
getNetworkHosts
in interfaceINetworkItemService
-
getNetworkInterfaceControllers
- Specified by:
getNetworkInterfaceControllers
in interfaceINetworkItemService
-
getIpAddresses
- Specified by:
getIpAddresses
in interfaceINetworkItemService
-
getNetworkPrefixes
- Specified by:
getNetworkPrefixes
in interfaceINetworkItemService
-
loadAll
- Specified by:
loadAll
in interfaceIGenericModelService<InventoryItem>
- Overrides:
loadAll
in classGenericModelService<InventoryItem,
InventoryItemRepository>
-
loadById
- Specified by:
loadById
in interfaceIGenericModelService<InventoryItem>
- Overrides:
loadById
in classGenericModelService<InventoryItem,
InventoryItemRepository>
-