Class FIQLQueryServiceImpl

    • Constructor Detail

      • FIQLQueryServiceImpl

        public FIQLQueryServiceImpl​(FIQLQueryLogic logic)
    • Method Detail

      • list

        public List<FIQLQueryTO> list​(String target)
        Description copied from interface: FIQLQueryService
        Returns a list of all FIQL queries for the calling user, matching the given target if provided.
        Specified by:
        list in interface FIQLQueryService
        Parameters:
        target - FIQL query target
        Returns:
        list of all FIQL queries for the calling user, matching the given target if provided
      • read

        public FIQLQueryTO read​(String key)
        Description copied from interface: FIQLQueryService
        Returns FIQL querywith matching key.
        Specified by:
        read in interface FIQLQueryService
        Parameters:
        key - FIQL querykey to be read
        Returns:
        FIQL querywith matching key
      • create

        public javax.ws.rs.core.Response create​(FIQLQueryTO applicationTO)
        Description copied from interface: FIQLQueryService
        Creates a new fiqlQuery.
        Specified by:
        create in interface FIQLQueryService
        Parameters:
        applicationTO - FIQL queryto be created
        Returns:
        Response object featuring Location header of created fiqlQuery
      • update

        public void update​(FIQLQueryTO applicationTO)
        Description copied from interface: FIQLQueryService
        Updates the FIQL querymatching the provided key.
        Specified by:
        update in interface FIQLQueryService
        Parameters:
        applicationTO - FIQL queryto be stored
      • delete

        public void delete​(String key)
        Description copied from interface: FIQLQueryService
        Deletes the FIQL querymatching the provided key.
        Specified by:
        delete in interface FIQLQueryService
        Parameters:
        key - FIQL querykey to be deleted