@Override @Transactional public String remove() { info("Atempt to remove request {0} for user {1}", getInstance(), utilisateurCourant); validerAuthorisation(); Demande ref = getInstance(); String retour = super.remove(); if (!REMOVED.equals(retour)) { throw new BSException("error.demande.remove"); } events.raiseTransactionSuccessEvent("demandeRemoved", ref); info("Removed request {0} for user {1}", ref, utilisateurCourant); return REMOVED; }
/** @return Removed flag. */ public boolean removed() { return REMOVED.get(flags()); }