Class AnyTypeServiceImpl

    • Constructor Detail

      • AnyTypeServiceImpl

        public AnyTypeServiceImpl​(AnyTypeLogic logic)
    • Method Detail

      • read

        public AnyTypeTO read​(String key)
        Description copied from interface: AnyTypeService
        Returns anyType with matching key.
        Specified by:
        read in interface AnyTypeService
        Parameters:
        key - anyType key to be read
        Returns:
        anyType with matching key
      • create

        public javax.ws.rs.core.Response create​(AnyTypeTO anyTypeTO)
        Description copied from interface: AnyTypeService
        Creates a new anyType.
        Specified by:
        create in interface AnyTypeService
        Parameters:
        anyTypeTO - anyType to be created
        Returns:
        Response object featuring Location header of created anyType
      • update

        public void update​(AnyTypeTO anyTypeTO)
        Description copied from interface: AnyTypeService
        Updates the anyType matching the provided key.
        Specified by:
        update in interface AnyTypeService
        Parameters:
        anyTypeTO - anyType to be stored
      • delete

        public void delete​(String key)
        Description copied from interface: AnyTypeService
        Deletes the anyType matching the provided key.
        Specified by:
        delete in interface AnyTypeService
        Parameters:
        key - anyType key to be deleted