Following NXP-24031 and NXP-24282, new trash APIs are available.
We want to add them to nuxeo-java-client.
Here a non exhaustive list of what to do:
- add method on Document to test if document is trashed
- add methods on Document to easily trash/untrash it
- rework all places where currentLifeCycleState was used to check trashed state