Class VipServiceImpl

    • Constructor Detail

      • VipServiceImpl

        public VipServiceImpl()
    • Method Detail

      • list

        public List<? extends Vip> list()
        List all vipss that the current tenant has access to
        Specified by:
        list in interface VipService
        Returns:
        list of all vip
      • list

        public List<? extends Vip> list​(Map<String,​String> filteringParams)
        Returns list of vip filtered by parameters.
        Specified by:
        list in interface VipService
        Parameters:
        filteringParams - map (name, value) of filtering parameters
        Returns:
        list of vip fitered by filteringParams
      • get

        public Vip get​(String vipId)
        Get the specified vip by ID
        Specified by:
        get in interface VipService
        Parameters:
        vipId - the vip identifier
        Returns:
        the vip or null if not found
      • delete

        public ActionResponse delete​(String vipId)
        Delete the specified vip by ID
        Specified by:
        delete in interface VipService
        Parameters:
        vipId - the vip identifier
        Returns:
        the action response
      • create

        public Vip create​(Vip vip)
        Create a vip
        Specified by:
        create in interface VipService
        Parameters:
        vip - vip
        Returns:
        Vip
      • update

        public Vip update​(String vipId,
                          VipUpdate vip)
        Update a vip
        Specified by:
        update in interface VipService
        Parameters:
        vipId - the vip identifier
        vip - VipUpdate
        Returns:
        Vip