Class NetworkServiceImpl

    • Constructor Detail

      • NetworkServiceImpl

        public NetworkServiceImpl()
    • Method Detail

      • list

        public List<? extends Network> list​(Map<String,​String> filteringParams)
        Specified by:
        list in interface NetworkService
        Parameters:
        filteringParams - map (name, value) of filtering parameters
        Returns:
        List of Network
      • list

        public List<? extends Network> list()
        Lists the networks to which the current authorized tenant has access
        Specified by:
        list in interface NetworkService
        Returns:
        List of Network
      • delete

        public ActionResponse delete​(String networkId)
        Deletes a specified network and its associated resources
        Specified by:
        delete in interface NetworkService
        Parameters:
        networkId - the network identifier
        Returns:
        the action response
      • get

        public Network get​(String networkId)
        Description copied from interface: NetworkService
        Gets the network by ID
        Specified by:
        get in interface NetworkService
        Parameters:
        networkId - the network identifier
        Returns:
        the Network or null if not found
      • create

        public Network create​(Network network)
        Description copied from interface: NetworkService
        Creates a new Network
        Specified by:
        create in interface NetworkService
        Parameters:
        network - the network to create
        Returns:
        the newly created network