There isn't a hook that already exists for this, but if this is for a custom instance and you're looking to hack something in, you could add extra logic to lib/galaxy/managers/hdas.py in the 'purge' method.  Let me know if you need more information, good luck!

-Dannon

On Tue Feb 17 2015 at 6:37:52 PM Raffaele Montella <raffaele.montella@uniparthenope.it> wrote:
Hi,

I need to perform some actions when a dataset if fully deleted.
Does it exist a hook in datatype definition to do that?
Thanks,
  Raffaele
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/