private ConfigurationRequest getConfigurationRequest(AlarmCallback callback) {
        if (callback instanceof EmailAlarmCallback && isPermitted(USERS_LIST)) {
            return ((EmailAlarmCallback) callback).getEnrichedRequestedConfiguration();
        }

        return callback.getRequestedConfiguration();
    }
private ConfigurationRequest getConfigurationRequest ( AlarmCallback callback ) { if ( callback instanceof EmailAlarmCallback && isPermitted ( USERS_LIST ) ) { return ( ( EmailAlarmCallback ) callback ) . getEnrichedRequestedConfiguration ( ) ; } return callback . getRequestedConfiguration ( ) ; }
/* This is used to add user auto-completion to EmailAlarmCallback when the current user has permissions to list users