Class DeletionTokenCancellationService


  • public class DeletionTokenCancellationService
    extends DeletionTokenInfoService
    A service that cancels the profile deletion process by deleting the token that could be used to complete it.
    Author:
    Alex Kalderimis
    • Constructor Detail

      • DeletionTokenCancellationService

        public DeletionTokenCancellationService​(InterMineAPI im,
                                                java.lang.String uuid)
        Parameters:
        im - The InterMine state object
        uuid - The identifier of the token
    • Method Detail

      • execute

        protected void execute()
        Description copied from class: WebService
        Runs service. This is abstract method, that must be defined in subclasses and so performs something useful. Standard procedure is overwrite this method in subclasses and let this method to be called from WebService.doGet method that encapsulates logic common for all web services else you can overwrite doGet method in your web service class and manage all the things alone.
        Overrides:
        execute in class DeletionTokenInfoService