Class NetworkPrefixService
java.lang.Object
org.xbricks.inventories.inventory.services.GenericModelService<NetworkPrefix,NetworkPrefixRepository>
org.xbricks.inventories.inventory.services.networkPrefix.NetworkPrefixService
- All Implemented Interfaces:
IGenericModelService<NetworkPrefix>
,INetworkPrefixService
@Service
public class NetworkPrefixService
extends GenericModelService<NetworkPrefix,NetworkPrefixRepository>
implements INetworkPrefixService
-
Field Summary
Fields inherited from class org.xbricks.inventories.inventory.services.GenericModelService
modelRepository
-
Constructor Summary
ConstructorDescriptionNetworkPrefixService
(NetworkPrefixRepository repository, IpAddressRepository ipAddressRepository) -
Method Summary
Modifier and TypeMethodDescriptiongetIpAddresses
(NetworkPrefix entity) boolean
isReferencedById
(long id) Methods inherited from class org.xbricks.inventories.inventory.services.GenericModelService
deleteById, loadAll, loadById, save
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, loadAll, loadById, save
-
Constructor Details
-
NetworkPrefixService
public NetworkPrefixService(NetworkPrefixRepository repository, IpAddressRepository ipAddressRepository)
-
-
Method Details
-
isReferencedById
public boolean isReferencedById(long id) - Specified by:
isReferencedById
in interfaceIGenericModelService<NetworkPrefix>
- Specified by:
isReferencedById
in classGenericModelService<NetworkPrefix,
NetworkPrefixRepository>
-
getIpAddresses
- Specified by:
getIpAddresses
in interfaceINetworkPrefixService
-