Class DelegationServiceImpl

    • Constructor Detail

      • DelegationServiceImpl

        public DelegationServiceImpl​(DelegationLogic logic)
    • Method Detail

      • create

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

        public void update​(DelegationTO applicationTO)
        Description copied from interface: DelegationService
        Updates the delegation matching the provided key.
        Specified by:
        update in interface DelegationService
        Parameters:
        applicationTO - delegation to be stored
      • delete

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