package com.avaya.ccs.javafxrefclient;

import com.avaya.ccs.api.CustomerDetailsI;
import com.avaya.ccs.api.CustomerDataI;
import com.avaya.ccs.api.CustomerListenerI;
import com.avaya.ccs.api.InteractionI;
import com.avaya.ccs.api.NotificationEventI;

public class CustomerExecutor extends Executor implements CustomerListenerI{
	
	private static final Logger LOG = Logger.getLogger(CustomerExecutor.class);
	JavaFXRefClient gui;
	
	
	public CustomerExecutor(JavaFXRefClient gui) {
        this.gui = gui;
    }
	

	//TODO implement Customer (search) capability in a future release
	@Override
	public void onCustomerEvent(NotificationEventI<CustomerDetailsI> nei) {
//		 String methodName = "onCustomerEvent() ";
//	     LOG.info(methodName + nei.getNotificationType() + " :" + nei.getNotificationObject());
//	     executeIncomingEvent(new CustomerEventTask(nei, gui.getInteractionDataGUI(), this));
		LOG.warn("onCustomerEvent", "Not implemented.");
	}


}
