private void putPhoneNumberInBlackList(final String phoneNumber, final Application application ) {
		// if phone number is not already in the bl (it should not append) put the phone number
		// put the phone number in the black list
        if (daoService.isPhoneNumberInBlackList(phoneNumber)) return;
				logger.debug("Adding to black list : \n" + 
					     " - Phone number : " + phoneNumber + "\n" + 
					     " - Application id : " + application.getId() + "\n");
			
			final Date currentDate = new Date(System.currentTimeMillis());
			daoService.addBlacklist(new Blacklist(application, currentDate, phoneNumber));
	}
private void putPhoneNumberInBlackList ( final String phoneNumber , final Application application ) { if ( daoService . isPhoneNumberInBlackList ( phoneNumber ) ) return ; logger . debug ( "Adding to black list : \n" + " - Phone number : " + phoneNumber + "\n" + " - Application id : " + application . getId ( ) + "\n" ) ; final Date currentDate = new Date ( System . currentTimeMillis ( ) ) ; daoService . addBlacklist ( new Blacklist ( application , currentDate , phoneNumber ) ) ; }
Put a number in black list.
@param phoneNumber
@param application