Class ClientAppServiceImpl

    • Constructor Detail

      • ClientAppServiceImpl

        public ClientAppServiceImpl​(ClientAppLogic logic)
    • Method Detail

      • create

        public javax.ws.rs.core.Response create​(ClientAppType type,
                                                ClientAppTO clientAppTO)
        Description copied from interface: ClientAppService
        Create a new client app.
        Specified by:
        create in interface ClientAppService
        Parameters:
        type - client app type
        clientAppTO - ClientApp to be created (needs to match type)
        Returns:
        Response object featuring Location header of created client app
      • list

        public <T extends ClientAppTOList<T> list​(ClientAppType type)
        Description copied from interface: ClientAppService
        Returns a list of client apps of the matching type.
        Specified by:
        list in interface ClientAppService
        Type Parameters:
        T - response type (extending ClientAppTO)
        Parameters:
        type - Type selector for requested client apps
        Returns:
        list of client apps with matching type
      • read

        public <T extends ClientAppTO> T read​(ClientAppType type,
                                              String key)
        Description copied from interface: ClientAppService
        Returns the client app matching the given key.
        Specified by:
        read in interface ClientAppService
        Type Parameters:
        T - response type (extending ClientAppTO)
        Parameters:
        type - client app type
        key - key of requested client app
        Returns:
        client app with matching id
      • update

        public void update​(ClientAppType type,
                           ClientAppTO clientAppTO)
        Description copied from interface: ClientAppService
        Updates client app matching the given key.
        Specified by:
        update in interface ClientAppService
        Parameters:
        type - client app type
        clientAppTO - ClientApp to replace existing client app
      • delete

        public void delete​(ClientAppType type,
                           String key)
        Description copied from interface: ClientAppService
        Delete client app matching the given key.
        Specified by:
        delete in interface ClientAppService
        Parameters:
        type - client app type
        key - key of client app to be deleted