Class AttrRepoServiceImpl

    • Constructor Detail

      • AttrRepoServiceImpl

        public AttrRepoServiceImpl​(AttrRepoLogic logic)
    • Method Detail

      • create

        public javax.ws.rs.core.Response create​(AttrRepoTO attrRepoTO)
        Description copied from interface: AttrRepoService
        Create a new attribute repository.
        Specified by:
        create in interface AttrRepoService
        Parameters:
        attrRepoTO - AttrRepo to be created.
        Returns:
        Response object featuring Location header of created attribute repository
      • delete

        public void delete​(String key)
        Description copied from interface: AttrRepoService
        Delete attribute repository matching the given key.
        Specified by:
        delete in interface AttrRepoService
        Parameters:
        key - key of attribute repository to be deleted
      • read

        public AttrRepoTO read​(String key)
        Description copied from interface: AttrRepoService
        Returns the attribute repository matching the given key.
        Specified by:
        read in interface AttrRepoService
        Parameters:
        key - key of requested attribute repository
        Returns:
        attribute repository with matching id
      • update

        public void update​(AttrRepoTO attrRepoTO)
        Description copied from interface: AttrRepoService
        Updates attribute repository matching the given key.
        Specified by:
        update in interface AttrRepoService
        Parameters:
        attrRepoTO - AttrRepo to replace existing attribute repository