@Override
    public void invoke(final ActionRequest req, final ActionResponse res) throws IOException {

        final NotificationEntry entry = getTarget();

        /*
         * The HideAction works like a toggle
         */
        if (!isEntrySnoozed(entry, req)) {
            // Hide it...
            hide(entry, req);
        } else {
            // Un-hide it...
            unhide(entry, req);
        }

    }
@Override
    public void invoke(final ActionRequest req, final ActionResponse res) throws IOException {

        final NotificationEntry entry = getTarget();

        
        if (!isEntrySnoozed(entry, req)) {
            
            hide(entry, req);
        } else {
            
            unhide(entry, req);
        }

    }
@ Override public void invoke ( final ActionRequest req , final ActionResponse res ) throws IOException { final NotificationEntry entry = getTarget ( ) ; /*
         * The HideAction works like a toggle
         */ if ( ! isEntrySnoozed ( entry , req ) ) { // Hide it... hide ( entry , req ) ; } else { // Un-hide it... unhide ( entry , req ) ; } }
Invoking a HideAction toggles it.
Invoking a HideAction toggles it .