+ Start a Discussion
Abraham kumar 4Abraham kumar 4 

CUMULATIVE_LIMIT_USAGE_END

Hi all,

Pls let me know if the error in the below debug log. I am unable to save my controller class as it gives the below error:-
Compile Error: unexpected token: 'public with sharing class ITV_AddGuestToEventController ' at line 1 column 0
User-added image

The debug log is as below Please can you let me know what is the error here.
33.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
13:49:24.019 (19842924)|EXECUTION_STARTED
13:49:24.019 (19876886)|CODE_UNIT_STARTED|[EXTERNAL]|VisualForce View State
13:49:24.026 (26649517)|CODE_UNIT_FINISHED|VisualForce View State
13:49:24.028 (28863710)|EXECUTION_FINISHED
13:49:24.966 (175779596)|CUMULATIVE_LIMIT_USAGE
13:49:24.966|LIMIT_USAGE_FOR_NS|(default)|
  Number of SOQL queries: 0 out of 100
  Number of query rows: 0 out of 50000
  Number of SOSL queries: 0 out of 20
  Number of DML statements: 0 out of 150
  Number of DML rows: 0 out of 10000
  Maximum CPU time: 0 out of 10000
  Maximum heap size: 0 out of 6000000
  Number of callouts: 0 out of 100
  Number of Email Invocations: 0 out of 10
  Number of future calls: 0 out of 50
  Number of queueable jobs added to the queue: 0 out of 50
  Number of Mobile Apex push calls: 0 out of 10

13:49:24.966|CUMULATIVE_LIMIT_USAGE_END

Thanks!!

 
Best Answer chosen by Abraham kumar 4
Amit Chaudhary 8Amit Chaudhary 8
please try to save below class
public with sharing class ITV_AddGuestToEventController 
{
    public String tabOpt{get;set;}
    public Boolean hidePb{get;set;}
    public Boolean hideSearch{get;set;}
    public String selectedTab{get;set;}
    public Boolean showMsg{get;set;}
    public String messageStr{get;set;}
    public String searchOptn{get;set;}
    public String searchField{get;set;}
    public String searchOperator{get;set;}
    public String searchVal{get;set;}
    public String searchField2{get;set;}
    public String searchOperator2{get;set;}
    public String searchVal2{get;set;}
    public String searchField3{get;set;}
    public String searchOperator3{get;set;}
    public String searchVal3{get;set;}
    public String searchField4{get;set;}
    public String searchOperator4{get;set;}
    public String searchVal4{get;set;}
    public String searchField5{get;set;}
    public String searchOperator5{get;set;}
    public String searchVal5{get;set;}
    public String availableColumnValue{get;set;}
    public String selectedColumnValue{get;set;}
    public List<Contact> contactList = new List<Contact>();
    List<Guest_New__c> guestList, guestDisplayList;
    public Boolean showSearch{get;set;}
    public List<conWrapper> conWrapperList{get;set;}
    public List<guestWrapper> guestWrapperList{get;set;}
    Set<String> fieldNames = new Set<String>();
    public String statusVal{get;set;}
    public String sField1{get;set;}
    public String sOperator1{get;set;}
    public String sVal1{get;set;}
    public String sField2{get;set;}
    public String sOperator2{get;set;}
    public String sVal2{get;set;}
    public String sField3{get;set;}
    public String sOperator3{get;set;}
    public String sVal3{get;set;}
    public String sField4{get;set;}
    public String sOperator4{get;set;}
    public String sVal4{get;set;}
    public String sField5{get;set;}
    public String sOperator5{get;set;}
    public String sVal5{get;set;}
    public String sObjVal{get;set;}
    @TestVisible public Id EventId;
    public String eventName{get;set;}
    Guest_New__c guest;
    Event__c event;
    //Pagenation
    private integer counter = 0; 
    private integer list_size=200;
    public integer total_size;  
    private integer guestCounter = 0; 
    private integer guestList_size=200;
    public integer guestTotal_size;
    public integer totalExisting_size;
    public string finalQuery;   
    public string finalGuestQuery; 
    public boolean renderContactTabel {get;set;}
    public boolean renderGuestTabel {get;set;}
    public string guestId {get;set;} 
    public List<String> addStatusList{get;set;}
    public ITV_AddGuestToEventController(ApexPages.StandardController controller) {
        renderContactTabel = false;
        renderGuestTabel = false;
        showSearch =  false;
        hideSearch = true;
        hidePb = true;
        guestWrapperList = new List<guestWrapper>(); 
        conWrapperList = new List<conWrapper>();
        this.guest = (Guest_New__c)controller.getRecord();
        system.debug('-------the fetched guest is------'+guest);
        EventId = guest.Event__c;       
        List<Event__c> event = new List<Event__c>();
        if(EventId != Null){
            event = [Select Id,Name from Event__c where Id =: EventId LIMIT 1];
            eventName = event[0].Name;
        }
        system.debug('######## eventName: '+guest );
        selectedTab = 'AddMembers';
        showMsg = false;
        if(EventId != Null){
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        }
        if(EventId  != Null){
            showStatusValues();
        }
    }

    public ITV_AddGuestToEventController() {
        showSearch = false;            
    }
       public void showStatusValues(){
        List<Advanced_Setup__c> statusValuesList = new List<Advanced_Setup__c>();
        addStatusList = New List<String>();
        statusValuesList = [SELECT Id, Event__c, Responded__c, Status_values__c FROM Advanced_Setup__c WHERE Event__c =: EventId];

        for(Advanced_Setup__c adset : statusValuesList ){
            addStatusList.add(adset.Status_values__c);  
        }   
         
     } 
	 
		public pagereference redirectToEvent() 
		{
			Pagereference p=new Pagereference('/'+EventId);
			p.setredirect(true); 
			return p; 
		 }    
		public List<SelectOption> getSearchOptions() 
		{
			List<SelectOption> options = new List<SelectOption>();
			options.add(new SelectOption('None','--None--'));
			for(String str : ITV_AddGuestToEventHelperClass.getViewExistingOptions())
				options.add(new SelectOption(str,''+str));
			return options; 
		}
		public List<SelectOption> getSearchFieldOptions() 
		{
			List<SelectOption> options = new List<SelectOption>();        
			options.add(new SelectOption('None','--None--'));
			for(String str : ITV_AddGuestToEventHelperClass.getFieldSet()){
				if(str == ' Account.name')
				{
					options.add(new SelectOption(str,'Organisation name'));
				}
				else if(str == 'Title')
				{
					options.add(new SelectOption(str,'Job Title'));
				}
				else
				{
					options.add(new SelectOption(str,''+str));
				}
			}
			return options;
		}
	
		public List<SelectOption> getSearchOperatorOptions() 
		{
			List<SelectOption> options = new List<SelectOption>();
			options.add(new SelectOption('None','--None--'));
			for(String str : ITV_AddGuestToEventHelperClass.getOperators())
				options.add(new SelectOption(str,str));
			return options;
		}
	
		public List<SelectOption> getSelectedColumnOptions()
		{
			List<SelectOption> options = new List<SelectOption>();      
			return options;
		}

		public List<SelectOption> getAvailableColumnOptions()
		{
			List<SelectOption> options = new List<SelectOption>();
			Map<String, SobjectField> fieldMap = Contact.getsObjectType().getDescribe().Fields.getMap(); 
			for(String f :  ITV_AddGuestToEventHelperClass.getContactFields())
			{
				options.add(new SelectOption(f,f));
			}
			return options;
		}

		public void searchContact()
		{
			if(!test.isrunningtest()){
				conWrapperList.clear();
			   } 
			finalQuery = null;
			system.debug('lkkkkk000'  + searchOptn );
			if(searchOptn == 'All Contacts'){
				finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact';
				system.debug(searchOptn +' >>>>All Contact'+finalQuery);
			}
			if(searchOptn == ' ITV PLC'){ 
				string accountName = 'ITV PLC';   
			   finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact where Account.Name =  \''+ accountName +'\'';   
				system.debug(searchOptn +' >>>>finalQuery iiii '+finalQuery);
			} 
			if(finalQuery != null)
			{
            contactList  = database.query(finalQuery);
            getContactWraperList();
			}
			if(contactList != null){
            total_size = contactList.size();
			}
			if(total_size > 0){
            renderContactTabel = true;
			}
			else{
            renderContactTabel = false;
			}
			contactList.clear();
			system.debug(searchOptn +' >>>>conWrapperList '+conWrapperList);
		}  
		
			public list<conWrapper> getContactWraperList(){
			if(finalQuery != NULL && (!finalQuery.Contains('from Guest_New__c'))){
				if(!finalQuery.contains('limit')){
					finalQuery = finalQuery+' '+'limit :list_size offset :counter';
				}
				system.debug('Contact Offset Query' + finalQuery );      
				List<contact> contactList = New List<contact>();
				contactList = database.query(finalQuery);
				if(!test.isrunningtest()){
				 conWrapperList.clear();
				} 
				for(Contact c : contactList){
					conWrapper cw = new conWrapper();
					cw.Name = c.Name;
					cw.fName = c.FirstName;
					cw.lName = c.LastName;
					cw.Patchcontroller = c.ITV_Patch_Controller__c;
					cw.Email = c.Email;
					cw.Status = statusVal;
					cw.objContact = c;
					conWrapperList.add(cw);
				}
				return conWrapperList ;
			}
			else{
				return NULL;
			}
		}
		
		public list<guestWrapper> getguestNewWraperList()
		{
			if(finalGuestQuery != NULL && finalGuestQuery.Contains('from Guest_New__c'))
			{   
				if(!finalGuestQuery.contains('limit')){
					finalGuestQuery = finalGuestQuery+' '+'limit :guestlist_size offset :guestcounter';
				}
				guestWrapperList.clear();
				system.debug('Contact Offset Query' + finalGuestQuery);
				 List<Guest_New__c> offsetGuestList = New List<Guest_New__c>();         
				 offsetGuestList = database.query(finalGuestQuery);
					for(Guest_New__c g : offsetGuestList){
						guestWrapper cw = new guestWrapper();
						cw.Name = g.Name;
						cw.fName = g.FirstName__c;
						cw.lName = g.LastName__c;
						cw.Patchcontroller = g.Patch_Controller1__c;
						cw.Email = g.Email__c;
						cw.Status = g.Status__c; 
						cw.objGuestNew = g;
						guestWrapperList.add(cw);
					}
				return guestWrapperList;
			}
			else{
            return NULL;
			}
		}
		
		public void mapContacts(List<Contact> conList)
		{
			conWrapperList = new List<conWrapper>();
			system.debug('statusVal>>>>>>> '+statusVal);
			for(sObject c : conList){
				conWrapper cw = new conWrapper();
				cw.Name = String.valueof(c.get('Name'));
				cw.fName = String.valueof(c.get('FirstName'));
				cw.lName = String.valueof(c.get('LastName'));
				cw.Patchcontroller = String.valueof(c.get('ITV_Patch_Controller__c'));
				cw.Email = String.valueof(c.get('Email'));
				cw.Status = statusVal;
				conWrapperList.add(cw);
			}
			system.debug('conWrapperList ---- '+conWrapperList);
		}
		public List<guestWrapper> mapGuests(List<Guest_New__c> guestList)
		{    
			   guestWrapperList.clear();
				for(Guest_New__c c : guestList){
					guestWrapper gw = new guestWrapper();
						gw.Name = c.Name;
						gw.fName = c.FirstName__c;
						gw.lName = c.LastName__c;
						gw.Patchcontroller = c.Patch_Controller1__c;
						gw.Email = c.Email__c;
						gw.Status = c.Status__c; 
						gw.objGuestNew = c; 
					guestWrapperList.add(gw);
				}
				system.debug('guestWrapperList ---- '+guestWrapperList);
				finalGuestQuery = 'select Name,Email__c, Status__c, FirstName__c,LastName__c,CompanyOrAccount__c,Event__c, Patch_Controller1__c, Title__c, Contact__c, CreatedBy.Name, LastModifiedBy.Name, CreatedDate, LastModifiedDate from Guest_New__c where Event__c =\''+ EventId + '\'';
				totalExisting_size = guestList.size();
				guestTotal_size = guestList.size(); 
				if(guestTotal_size > 0){
					renderGuestTabel  = true;
				}
				else{
					renderGuestTabel = false;
				}
				getguestNewWraperList();
			return guestWrapperList;        
		}
    
		public void clearfilters()
		{
			if(searchField != null){
				searchField = '--None--';
				}
			if(searchOperator != null) {
				searchOperator = '--None--';
				}
			if(searchVal != null){
				searchVal = null;
				}
			if(searchField2 !=null){
				searchField2 = '--None--';
				}
			if(searchOperator2 != null) {
				searchOperator2 = '--None--';
				}
			if(searchVal2 != null){
				searchVal2 = null;
				}
			if(searchField3 != null){
				searchField3 = '--None--';
				}
			if(searchOperator3 != null) {
				searchOperator3 = '--None--';
				}
			if(searchVal3 != null){
				searchVal3 = null;
				}
			if(searchField4 != null){
				searchField4 = '--None--';
				}
			if(searchOperator4 != null) {
				searchOperator4 = '--None--';
				}
			if(searchVal4 != null){
				searchVal4 = null;
				}
			if(searchField5 != null){
				searchField5 = '--None--';
				}
			if(searchOperator5 != null) {
				searchOperator5 = '--None--';
			}
			if(searchVal5 != null){
				searchVal5 = null;
			}
		}

		
    List<sObject> objList = new List<sObject>();
    
    public void filterContact()
	{ 
		if(!test.isrunningtest())
		guestWrapperList.clear();
        if(sField1 != 'None' && sField1.containsAny(' '))
            sField1 = sField1.replace(' ','');
        if(sField2 != 'None' && sField2.containsAny(' '))
            sField2 = sField2.replace(' ','');
        if(sField3 != 'None' && sField3.containsAny(' '))
            sField3 = sField3.replace(' ','');
        if(sField4 != 'None' && sField4.containsAny(' '))
            sField4 = sField4.replace(' ','');
        if(sField5 != 'None' && sField5.containsAny(' '))
            sField5 = sField5.replace(' ','');
        if(sVal1 != Null && sVal1.containsAny(' '))
            sVal1.trim();
        if(sVal2 != Null && sVal2.containsAny(' '))
            sVal2.trim();
        if(sVal3 != Null && sVal3.containsAny(' '))
            sVal3.trim();
        if(sVal4 != Null && sVal4.containsAny(' '))
            sVal4.trim();
        if(sVal5 != Null && sVal5.containsAny(' '))
            sVal5.trim();
        system.debug('sField5 '+ sField5 + ' sOperator5 '+ sOperator5 + ' sVal5 '+ sVal5);
        system.debug('sField1 '+sField1 + ' sField2 '+sField2 + ' sField3 '+sField3 + ' sField4 '+sField4 + ' sField5 '+ sField5);
        system.debug('sobject'+ sObjVal );
        if(sObjVal == 'guest'){
            sObjVal = 'Guest_New__c';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5);
            //mapGuests(objList);
            finalGuestQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5, EventId);
            system.debug('Check the Query'+ finalGuestQuery);
            List<Guest_New__c> filterdGuestList = new List<Guest_New__c>();
            if(finalGuestQuery != Null){ 
                system.debug('finalGuestQuery'+finalGuestQuery);
                filterdGuestList =  database.query(finalGuestQuery);
                }
            guestTotal_size = filterdGuestList.size();
            if(guestTotal_size > 0){
                renderGuestTabel  = true;
            }
            else{
                renderGuestTabel = false;
            }
            getguestNewWraperList();
        }else{
            sObjVal = 'Contact';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5);            
            system.debug('Check the values'+ sObjVal + sField1 + sOperator1);
            finalQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5, EventId);            
            system.debug('Check the Query'+ finalQuery );
            List<Contact> filterdContactList =  database.query(finalQuery);
            if(filterdContactList != null){
                total_size = filterdContactList.size();
            }
            if(total_size > 0){
                renderContactTabel = true;
            }
            else{
                renderContactTabel = false;
            }
            //mapContacts(objList);
            getContactWraperList();
        }        
    }
    
    public void addMembers()
	{
        try{
            guestList = new List<Guest_New__c>();
            for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.Name = cwrap.Name;
                    objGuest.Email__c = cwrap.Email;
                    objGuest.FirstName__c = cwrap.fName;
                    objGuest.LastName__c = cwrap.lName;
                    objGuest.CompanyOrAccount__c = cwrap.objContact.Account.Name;
                    objGuest.Patch_Controller1__c = cwrap.Patchcontroller;
                    objGuest.Title__c = cwrap.objContact.Title;
                    objGuest.Status__c = statusVal;
                    objGuest.Event__c = EventId;
                    objGuest.Contact__c = cwrap.objContact.Id;
                //    objGuest.Salutation__c = cwrap.objContact.Name.Salutation;
                //    objGuest.Guest_Address__r.Id = cwrap.objContact.Contact_Address__r.Id;                    
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully added '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                insert guestList;                
            }
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        }         
    }
	
    public void changeTab()
	{
        tabOpt = 'ExistingMember';
        selectedTab = 'ExistingMember';   
        hidePb = false;   
        showSearch = true; 
        hideSearch = false;
        showMsg = false; 
        for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                cwrap.checked = false;
                }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        
    }
    
    public void hidePanel()
	{
        hidePb = false;
        showSearch =  true;
        hideSearch = false;
    }
    public void showPanel(){
        hidePb = true;
        showSearch =  false;
        hideSearch = true;
    }
    
    public void updateStatus()
	{
    
            try{
            guestList = new List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.id = gwrap.objGuestNew .id;
                    objGuest.Status__c = statusVal;
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully updated '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                update guestList;                
            }
            mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
         //   getguestNewWraperList();            
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        } 
    
    }
    
    public void removeMember(){
        system.debug('Guest Id '+ guestId );
        if(guestId != Null ){

            Guest_New__c deletGuest = [Select Id from Guest_New__c where Id =: guestId];
            delete deletGuest ;
            guestId = Null;
        }
        else{
            list<Guest_New__c> deleteList =  New List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    deleteList.add(gwrap.objGuestNew);
                }
            }            
            if(deleteList != Null && deleteList.size() > 0){
            showMsg = true;
            messageStr = 'You have successfully deleted '+ deleteList.size() + ' member(s).';
            ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
            system.debug('deleteList>>>>>> '+deleteList);        
            delete deleteList; 
            deleteList.clear();  
            }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
    //   changeTab();
    }
    public void addColumn()
	{   
    }  
	public void searchGuests()
	{
	mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId));        
    } 
	/**** Pagenation *****/
public PageReference First() { 
      counter = 0;
      getContactWraperList();
      return null;
   }public PageReference Previous() { 
      counter -= list_size;
      getContactWraperList();
      return null;
   }public PageReference Next() { 
      counter += list_size;
      getContactWraperList();
      return null;
   }public PageReference End() {
      if(math.mod(total_size, list_size) != 0){
          counter = total_size - math.mod(total_size, list_size);
      }
      else{
          counter = total_size - list_size;
      }
      getContactWraperList();
      return null;
   }public PageReference GuestFirst() { 
      guestCounter = 0;
      getguestNewWraperList();
      return null;
   }public PageReference GuestPrevious() { 
      guestCounter -= guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestNext() { 
      guestCounter += guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestEnd() {
      if(math.mod(guestTotal_size, guestList_size) != 0){
          guestCounter = guestTotal_size - math.mod(guestTotal_size, guestList_size);
      }
      else{
          guestCounter = guestTotal_size - guestList_size;
      }
      getguestNewWraperList();
      return null;
   }public Boolean getDisablePrevious() {
      //this will disable the previous and beginning buttons
      if (counter>0) return false; else return true;
   }public Boolean getDisableNext() { 
      if(total_size != NULL){
          if (counter + list_size < total_size) {
              return true;
          }
          else{
              return false;
          }
      }
      else{
          return null;
    }  
   }public Boolean getGuestDisablePrevious() {
          if (guestCounter>0){
              return false;
          }
          else{
              return true;
          }
       }public Boolean getGuestDisableNext() { 
      if(guestTotal_size != NULL){
          if (guestCounter + guestList_size < guestTotal_size) {
              return true;
          }
          else{
              return false;
          }}else{
          return null;
      }}public Integer getTotal_size() {
      return total_size;
   }public Integer getGuestTotal_size() {
      return guestTotal_size;
   }public Integer gettotalExisting_size() {
      return totalExisting_size;
   }public Integer getPageNumber() {
      return counter/list_size + 1;
   }public Integer getGuestPageNumber() {
      return guestCounter/guestList_size + 1;
   }   
	   public Integer getTotalPages() {
		  if(total_size != NULL){
			  if (math.mod(total_size, list_size) > 0) {
				 return total_size/list_size + 1;
			  } else {
				 return (total_size/list_size);
			  }
		  }
		  else{
			  return null;
		  }
	   }
		 public Integer getGuestTotalPages() {
			  if(guesttotal_size != NULL){
				  if (math.mod(guestTotal_size, guestList_size) > 0) {
					 return guestTotal_size/guestList_size + 1;
				  } else {
					 return (guestTotal_size/guestList_size);
				  }}
			  else{
				  return null;
			  }
			  }
			public class conWrapper
			{
				public Boolean checked{get; set;}
				public String Name{get; set;}
				public String Email{get; set;}
				public String fName{get; set;}
				public String lName{get; set;}
				public String Patchcontroller{get; set;}
				public String Account{get; set;}
				public String Status{get;set;}
				public Id EventId;
				public Contact objContact {get;set;}
				public conWrapper()
				{
						checked = false;   
				}
					public conWrapper(Contact c){
						checked = false;
					} 
			}
		public class guestWrapper{
		   public Boolean idcheckbox{get; set;}
			public String Name{get; set;}
			public String Email{get; set;}
			public String fName{get; set;}
			public String lName{get; set;}
			public String Patchcontroller{get; set;}
			public String Account{get; set;}
			public String Status{get;set;}        
			public Id EventId;
			public Guest_New__c objGuestNew {get;set;}
			
			public guestWrapper(){
			   idcheckbox = false;
			}
			public guestWrapper(Guest_New__c gn){
			   idcheckbox = false;
			}
		}
}


Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help

Thanks
Amit Chaudhary

All Answers

Abraham kumar 4Abraham kumar 4
Please find below full code
public with sharing class ITV_AddGuestToEventController {
    public String tabOpt{get;set;}
    public Boolean hidePb{get;set;}
    public Boolean hideSearch{get;set;}
    public String selectedTab{get;set;}
    public Boolean showMsg{get;set;}
    public String messageStr{get;set;}
    public String searchOptn{get;set;}
    public String searchField{get;set;}
    public String searchOperator{get;set;}
    public String searchVal{get;set;}
    public String searchField2{get;set;}
    public String searchOperator2{get;set;}
    public String searchVal2{get;set;}
    public String searchField3{get;set;}
    public String searchOperator3{get;set;}
    public String searchVal3{get;set;}
    public String searchField4{get;set;}
    public String searchOperator4{get;set;}
    public String searchVal4{get;set;}
    public String searchField5{get;set;}
    public String searchOperator5{get;set;}
    public String searchVal5{get;set;}
    public String availableColumnValue{get;set;}
    public String selectedColumnValue{get;set;}
    public List<Contact> contactList = new List<Contact>();
    List<Guest_New__c> guestList, guestDisplayList;
    public Boolean showSearch{get;set;}
    public List<conWrapper> conWrapperList{get;set;}
    public List<guestWrapper> guestWrapperList{get;set;}
    Set<String> fieldNames = new Set<String>();
    public String statusVal{get;set;}
    public String sField1{get;set;}
    public String sOperator1{get;set;}
    public String sVal1{get;set;}
    public String sField2{get;set;}
    public String sOperator2{get;set;}
    public String sVal2{get;set;}
    public String sField3{get;set;}
    public String sOperator3{get;set;}
    public String sVal3{get;set;}
    public String sField4{get;set;}
    public String sOperator4{get;set;}
    public String sVal4{get;set;}
    public String sField5{get;set;}
    public String sOperator5{get;set;}
    public String sVal5{get;set;}
    public String sObjVal{get;set;}
  @TestVisible public Id EventId;
    public String eventName{get;set;}
    Guest_New__c guest;
    Event__c event;
    //Pagenation
    private integer counter = 0; 
    private integer list_size=200;
    public integer total_size;  
    private integer guestCounter = 0; 
    private integer guestList_size=200;
    public integer guestTotal_size;
    public integer totalExisting_size;
    public string finalQuery;   
    public string finalGuestQuery; 
    public boolean renderContactTabel {get;set;}
    public boolean renderGuestTabel {get;set;}
    public string guestId {get;set;} 
    public List<String> addStatusList{get;set;}
    public ITV_AddGuestToEventController(ApexPages.StandardController controller) {
        renderContactTabel = false;
        renderGuestTabel = false;
        showSearch =  false;
        hideSearch = true;
        hidePb = true;
        guestWrapperList = new List<guestWrapper>(); 
        conWrapperList = new List<conWrapper>();
        this.guest = (Guest_New__c)controller.getRecord();
        system.debug('-------the fetched guest is------'+guest);
        EventId = guest.Event__c;       
        List<Event__c> event = new List<Event__c>();
        if(EventId != Null){
            event = [Select Id,Name from Event__c where Id =: EventId LIMIT 1];
            eventName = event[0].Name;
        }
        system.debug('######## eventName: '+guest );
        selectedTab = 'AddMembers';
        showMsg = false;
        if(EventId != Null){
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        }
        if(EventId  != Null){
            showStatusValues();
        }
    }

    public ITV_AddGuestToEventController() {
        showSearch = false;            
    }
       public void showStatusValues(){
        List<Advanced_Setup__c> statusValuesList = new List<Advanced_Setup__c>();
        addStatusList = New List<String>();
        statusValuesList = [SELECT Id, Event__c, Responded__c, Status_values__c FROM Advanced_Setup__c WHERE Event__c =: EventId];

        for(Advanced_Setup__c adset : statusValuesList ){
            addStatusList.add(adset.Status_values__c);  
        }   
         
     } 
    public pagereference redirectToEvent() {
        Pagereference p=new Pagereference('/'+EventId);
         p.setredirect(true); 
         return p; }    
public List<SelectOption> getSearchOptions() {
        List<SelectOption> options = new List<SelectOption>();
        options.add(new SelectOption('None','--None--'));
        for(String str : ITV_AddGuestToEventHelperClass.getViewExistingOptions())
            options.add(new SelectOption(str,''+str));
        return options; }
    public List<SelectOption> getSearchFieldOptions() {
        List<SelectOption> options = new List<SelectOption>();        
        options.add(new SelectOption('None','--None--'));
        for(String str : ITV_AddGuestToEventHelperClass.getFieldSet()){
            if(str == ' Account.name'){
                options.add(new SelectOption(str,'Organisation name'));
                }
            else if(str == 'Title'){
                options.add(new SelectOption(str,'Job Title'));
                }
            else
                options.add(new SelectOption(str,''+str));
                }
        }
        return options;
    }
    public List<SelectOption> getSearchOperatorOptions() {
        List<SelectOption> options = new List<SelectOption>();
        options.add(new SelectOption('None','--None--'));
        for(String str : ITV_AddGuestToEventHelperClass.getOperators())
            options.add(new SelectOption(str,str));
        return options;
    }
    public List<SelectOption> getSelectedColumnOptions(){
        List<SelectOption> options = new List<SelectOption>();      
        return options;
    }
    public List<SelectOption> getAvailableColumnOptions(){
        List<SelectOption> options = new List<SelectOption>();
        Map<String, SobjectField> fieldMap = Contact.getsObjectType().getDescribe().Fields.getMap(); 
        for(String f :  ITV_AddGuestToEventHelperClass.getContactFields()){
            options.add(new SelectOption(f,f));
        }
        return options;
    }
    public void searchContact(){
    if(!test.isrunningtest()){
        conWrapperList.clear();
       } 
        finalQuery = null;
        system.debug('lkkkkk000'  + searchOptn );
        if(searchOptn == 'All Contacts'){
            finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact';
            system.debug(searchOptn +' >>>>All Contact'+finalQuery);
        }
        if(searchOptn == ' ITV PLC'){ 
            string accountName = 'ITV PLC';   
           finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact where Account.Name =  \''+ accountName +'\'';   
            system.debug(searchOptn +' >>>>finalQuery iiii '+finalQuery);
        } 
 if(finalQuery != null){
            contactList  = database.query(finalQuery);
            getContactWraperList();
        }
        if(contactList != null){
            total_size = contactList.size();
        }
        if(total_size > 0){
            renderContactTabel = true;
        }
        else{
            renderContactTabel = false;
        }
        contactList.clear();
        system.debug(searchOptn +' >>>>conWrapperList '+conWrapperList);
    }    
    public list<conWrapper> getContactWraperList(){
        if(finalQuery != NULL && (!finalQuery.Contains('from Guest_New__c'))){
            if(!finalQuery.contains('limit')){
                finalQuery = finalQuery+' '+'limit :list_size offset :counter';
            }
            system.debug('Contact Offset Query' + finalQuery );      
            List<contact> contactList = New List<contact>();
            contactList = database.query(finalQuery);
            if(!test.isrunningtest()){
             conWrapperList.clear();
            } 
            for(Contact c : contactList){
                conWrapper cw = new conWrapper();
                cw.Name = c.Name;
                cw.fName = c.FirstName;
                cw.lName = c.LastName;
                cw.Patchcontroller = c.ITV_Patch_Controller__c;
                cw.Email = c.Email;
                cw.Status = statusVal;
                cw.objContact = c;
                conWrapperList.add(cw);
            }
            return conWrapperList ;
        }
        else{
            return NULL;
        }
    }
    public list<guestWrapper> getguestNewWraperList(){
        if(finalGuestQuery != NULL && finalGuestQuery.Contains('from Guest_New__c')){   
            if(!finalGuestQuery.contains('limit')){
                finalGuestQuery = finalGuestQuery+' '+'limit :guestlist_size offset :guestcounter';
            }
            guestWrapperList.clear();
            system.debug('Contact Offset Query' + finalGuestQuery);
             List<Guest_New__c> offsetGuestList = New List<Guest_New__c>();         
             offsetGuestList = database.query(finalGuestQuery);
                for(Guest_New__c g : offsetGuestList){
                    guestWrapper cw = new guestWrapper();
                    cw.Name = g.Name;
                    cw.fName = g.FirstName__c;
                    cw.lName = g.LastName__c;
                    cw.Patchcontroller = g.Patch_Controller1__c;
                    cw.Email = g.Email__c;
                    cw.Status = g.Status__c; 
                    cw.objGuestNew = g;
                    guestWrapperList.add(cw);
                }
            return guestWrapperList;
        }
        else{
            return NULL;
        }     
    public void mapContacts(List<Contact> conList){
        conWrapperList = new List<conWrapper>();
        system.debug('statusVal>>>>>>> '+statusVal);
        for(sObject c : conList){
            conWrapper cw = new conWrapper();
            cw.Name = String.valueof(c.get('Name'));
            cw.fName = String.valueof(c.get('FirstName'));
            cw.lName = String.valueof(c.get('LastName'));
            cw.Patchcontroller = String.valueof(c.get('ITV_Patch_Controller__c'));
            cw.Email = String.valueof(c.get('Email'));
            cw.Status = statusVal;
            conWrapperList.add(cw);
        }
        system.debug('conWrapperList ---- '+conWrapperList);
    }
    public List<guestWrapper> mapGuests(List<Guest_New__c> guestList){    
           guestWrapperList.clear();
            for(Guest_New__c c : guestList){
                guestWrapper gw = new guestWrapper();
                    gw.Name = c.Name;
                    gw.fName = c.FirstName__c;
                    gw.lName = c.LastName__c;
                    gw.Patchcontroller = c.Patch_Controller1__c;
                    gw.Email = c.Email__c;
                    gw.Status = c.Status__c; 
                    gw.objGuestNew = c; 
                guestWrapperList.add(gw);
            }
            system.debug('guestWrapperList ---- '+guestWrapperList);
            finalGuestQuery = 'select Name,Email__c, Status__c, FirstName__c,LastName__c,CompanyOrAccount__c,Event__c, Patch_Controller1__c, Title__c, Contact__c, CreatedBy.Name, LastModifiedBy.Name, CreatedDate, LastModifiedDate from Guest_New__c where Event__c =\''+ EventId + '\'';
            totalExisting_size = guestList.size();
            guestTotal_size = guestList.size(); 
            if(guestTotal_size > 0){
                renderGuestTabel  = true;
            }
            else{
                renderGuestTabel = false;
            }
            getguestNewWraperList();
        return guestWrapperList;        
    }
    
    public void clearfilters(){
        if(searchField != null){
            searchField = '--None--';
            }
        if(searchOperator != null) {
            searchOperator = '--None--';
            }
        if(searchVal != null){
            searchVal = null;
            }
        if(searchField2 !=null){
            searchField2 = '--None--';
            }
        if(searchOperator2 != null) {
            searchOperator2 = '--None--';
            }
        if(searchVal2 != null){
            searchVal2 = null;
            }
        if(searchField3 != null){
            searchField3 = '--None--';
            }
        if(searchOperator3 != null) {
            searchOperator3 = '--None--';
            }
        if(searchVal3 != null){
            searchVal3 = null;
            }
        if(searchField4 != null){
            searchField4 = '--None--';
            }
        if(searchOperator4 != null) {
            searchOperator4 = '--None--';
            }
        if(searchVal4 != null){
            searchVal4 = null;
            }
        if(searchField5 != null){
            searchField5 = '--None--';
            }
        if(searchOperator5 != null) {
            searchOperator5 = '--None--';
        }
        if(searchVal5 != null){
            searchVal5 = null;
        }
    }
    
    List<sObject> objList = new List<sObject>();
    
    public void filterContact(){ 
     if(!test.isrunningtest())
    guestWrapperList.clear();
        if(sField1 != 'None' && sField1.containsAny(' '))
            sField1 = sField1.replace(' ','');
        if(sField2 != 'None' && sField2.containsAny(' '))
            sField2 = sField2.replace(' ','');
        if(sField3 != 'None' && sField3.containsAny(' '))
            sField3 = sField3.replace(' ','');
        if(sField4 != 'None' && sField4.containsAny(' '))
            sField4 = sField4.replace(' ','');
        if(sField5 != 'None' && sField5.containsAny(' '))
            sField5 = sField5.replace(' ','');
        if(sVal1 != Null && sVal1.containsAny(' '))
            sVal1.trim();
        if(sVal2 != Null && sVal2.containsAny(' '))
            sVal2.trim();
        if(sVal3 != Null && sVal3.containsAny(' '))
            sVal3.trim();
        if(sVal4 != Null && sVal4.containsAny(' '))
            sVal4.trim();
        if(sVal5 != Null && sVal5.containsAny(' '))
            sVal5.trim();
        system.debug('sField5 '+ sField5 + ' sOperator5 '+ sOperator5 + ' sVal5 '+ sVal5);
        system.debug('sField1 '+sField1 + ' sField2 '+sField2 + ' sField3 '+sField3 + ' sField4 '+sField4 + ' sField5 '+ sField5);
        system.debug('sobject'+ sObjVal );
        if(sObjVal == 'guest'){
            sObjVal = 'Guest_New__c';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5);
            //mapGuests(objList);
            finalGuestQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5, EventId);
            system.debug('Check the Query'+ finalGuestQuery);
            List<Guest_New__c> filterdGuestList = new List<Guest_New__c>();
            if(finalGuestQuery != Null){ 
                system.debug('finalGuestQuery'+finalGuestQuery);
                filterdGuestList =  database.query(finalGuestQuery);
                }
            guestTotal_size = filterdGuestList.size();
            if(guestTotal_size > 0){
                renderGuestTabel  = true;
            }
            else{
                renderGuestTabel = false;
            }
            getguestNewWraperList();
        }else{
            sObjVal = 'Contact';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5);            
            system.debug('Check the values'+ sObjVal + sField1 + sOperator1);
            finalQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5, EventId);            
            system.debug('Check the Query'+ finalQuery );
            List<Contact> filterdContactList =  database.query(finalQuery);
            if(filterdContactList != null){
                total_size = filterdContactList.size();
            }
            if(total_size > 0){
                renderContactTabel = true;
            }
            else{
                renderContactTabel = false;
            }
            //mapContacts(objList);
            getContactWraperList();
        }        
    }
    
    public void addMembers(){
        try{
            guestList = new List<Guest_New__c>();
            for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.Name = cwrap.Name;
                    objGuest.Email__c = cwrap.Email;
                    objGuest.FirstName__c = cwrap.fName;
                    objGuest.LastName__c = cwrap.lName;
                    objGuest.CompanyOrAccount__c = cwrap.objContact.Account.Name;
                    objGuest.Patch_Controller1__c = cwrap.Patchcontroller;
                    objGuest.Title__c = cwrap.objContact.Title;
                    objGuest.Status__c = statusVal;
                    objGuest.Event__c = EventId;
                    objGuest.Contact__c = cwrap.objContact.Id;
                //    objGuest.Salutation__c = cwrap.objContact.Name.Salutation;
                //    objGuest.Guest_Address__r.Id = cwrap.objContact.Contact_Address__r.Id;                    
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully added '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                insert guestList;                
            }
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        }         
    }
    public void changeTab(){
        tabOpt = 'ExistingMember';
        selectedTab = 'ExistingMember';   
        hidePb = false;   
        showSearch = true; 
        hideSearch = false;
        showMsg = false; 
        for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                cwrap.checked = false;
                }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        
    }
    
    public void hidePanel(){
        hidePb = false;
        showSearch =  true;
        hideSearch = false;
    }
    public void showPanel(){
        hidePb = true;
        showSearch =  false;
        hideSearch = true;
    }
    
    public void updateStatus(){
    
            try{
            guestList = new List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.id = gwrap.objGuestNew .id;
                    objGuest.Status__c = statusVal;
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully updated '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                update guestList;                
            }
            mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
         //   getguestNewWraperList();            
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        } 
    
    }
    
    public void removeMember(){
        system.debug('Guest Id '+ guestId );
        if(guestId != Null ){

            Guest_New__c deletGuest = [Select Id from Guest_New__c where Id =: guestId];
            delete deletGuest ;
            guestId = Null;
        }
        else{
            list<Guest_New__c> deleteList =  New List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    deleteList.add(gwrap.objGuestNew);
                }
            }            
            if(deleteList != Null && deleteList.size() > 0){
            showMsg = true;
            messageStr = 'You have successfully deleted '+ deleteList.size() + ' member(s).';
            ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
            system.debug('deleteList>>>>>> '+deleteList);        
            delete deleteList; 
            deleteList.clear();  
            }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
    //   changeTab();
    }
    public void addColumn(){   
    }  public void searchGuests(){
   mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId));        
    }    /**** Pagenation *****/
public PageReference First() { 
      counter = 0;
      getContactWraperList();
      return null;
   }public PageReference Previous() { 
      counter -= list_size;
      getContactWraperList();
      return null;
   }public PageReference Next() { 
      counter += list_size;
      getContactWraperList();
      return null;
   }public PageReference End() {
      if(math.mod(total_size, list_size) != 0){
          counter = total_size - math.mod(total_size, list_size);
      }
      else{
          counter = total_size - list_size;
      }
      getContactWraperList();
      return null;
   }public PageReference GuestFirst() { 
      guestCounter = 0;
      getguestNewWraperList();
      return null;
   }public PageReference GuestPrevious() { 
      guestCounter -= guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestNext() { 
      guestCounter += guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestEnd() {
      if(math.mod(guestTotal_size, guestList_size) != 0){
          guestCounter = guestTotal_size - math.mod(guestTotal_size, guestList_size);
      }
      else{
          guestCounter = guestTotal_size - guestList_size;
      }
      getguestNewWraperList();
      return null;
   }public Boolean getDisablePrevious() {
      //this will disable the previous and beginning buttons
      if (counter>0) return false; else return true;
   }public Boolean getDisableNext() { 
      if(total_size != NULL){
          if (counter + list_size < total_size) {
              return true;
          }
          else{
              return false;
          }
      }
      else{
          return null;
    }  
   }public Boolean getGuestDisablePrevious() {
          if (guestCounter>0){
              return false;
          }
          else{
              return true;
          }
       }public Boolean getGuestDisableNext() { 
      if(guestTotal_size != NULL){
          if (guestCounter + guestList_size < guestTotal_size) {
              return true;
          }
          else{
              return false;
          }}else{
          return null;
      }}public Integer getTotal_size() {
      return total_size;
   }public Integer getGuestTotal_size() {
      return guestTotal_size;
   }public Integer gettotalExisting_size() {
      return totalExisting_size;
   }public Integer getPageNumber() {
      return counter/list_size + 1;
   }public Integer getGuestPageNumber() {
      return guestCounter/guestList_size + 1;
   }   public Integer getTotalPages() {
      if(total_size != NULL){
          if (math.mod(total_size, list_size) > 0) {
             return total_size/list_size + 1;
          } else {
             return (total_size/list_size);
          }
      }
      else{
          return null;
      }
   }
 public Integer getGuestTotalPages() {
      if(guesttotal_size != NULL){
          if (math.mod(guestTotal_size, guestList_size) > 0) {
             return guestTotal_size/guestList_size + 1;
          } else {
             return (guestTotal_size/guestList_size);
          }}
      else{
          return null;
      }}
    public class conWrapper{
        public Boolean checked{get; set;}
        public String Name{get; set;}
        public String Email{get; set;}
        public String fName{get; set;}
        public String lName{get; set;}
        public String Patchcontroller{get; set;}
        public String Account{get; set;}
        public String Status{get;set;}
        public Id EventId;
        public Contact objContact {get;set;}
        public conWrapper(){
            checked = false;   }
        public conWrapper(Contact c){
            checked = false;
        } }
    public class guestWrapper{
       public Boolean idcheckbox{get; set;}
        public String Name{get; set;}
        public String Email{get; set;}
        public String fName{get; set;}
        public String lName{get; set;}
        public String Patchcontroller{get; set;}
        public String Account{get; set;}
        public String Status{get;set;}        
        public Id EventId;
        public Guest_New__c objGuestNew {get;set;}
        
        public guestWrapper(){
           idcheckbox = false;
        }
        public guestWrapper(Guest_New__c gn){
           idcheckbox = false;
        }
    }
}
Amit Chaudhary 8Amit Chaudhary 8
please try to save below class
public with sharing class ITV_AddGuestToEventController 
{
    public String tabOpt{get;set;}
    public Boolean hidePb{get;set;}
    public Boolean hideSearch{get;set;}
    public String selectedTab{get;set;}
    public Boolean showMsg{get;set;}
    public String messageStr{get;set;}
    public String searchOptn{get;set;}
    public String searchField{get;set;}
    public String searchOperator{get;set;}
    public String searchVal{get;set;}
    public String searchField2{get;set;}
    public String searchOperator2{get;set;}
    public String searchVal2{get;set;}
    public String searchField3{get;set;}
    public String searchOperator3{get;set;}
    public String searchVal3{get;set;}
    public String searchField4{get;set;}
    public String searchOperator4{get;set;}
    public String searchVal4{get;set;}
    public String searchField5{get;set;}
    public String searchOperator5{get;set;}
    public String searchVal5{get;set;}
    public String availableColumnValue{get;set;}
    public String selectedColumnValue{get;set;}
    public List<Contact> contactList = new List<Contact>();
    List<Guest_New__c> guestList, guestDisplayList;
    public Boolean showSearch{get;set;}
    public List<conWrapper> conWrapperList{get;set;}
    public List<guestWrapper> guestWrapperList{get;set;}
    Set<String> fieldNames = new Set<String>();
    public String statusVal{get;set;}
    public String sField1{get;set;}
    public String sOperator1{get;set;}
    public String sVal1{get;set;}
    public String sField2{get;set;}
    public String sOperator2{get;set;}
    public String sVal2{get;set;}
    public String sField3{get;set;}
    public String sOperator3{get;set;}
    public String sVal3{get;set;}
    public String sField4{get;set;}
    public String sOperator4{get;set;}
    public String sVal4{get;set;}
    public String sField5{get;set;}
    public String sOperator5{get;set;}
    public String sVal5{get;set;}
    public String sObjVal{get;set;}
    @TestVisible public Id EventId;
    public String eventName{get;set;}
    Guest_New__c guest;
    Event__c event;
    //Pagenation
    private integer counter = 0; 
    private integer list_size=200;
    public integer total_size;  
    private integer guestCounter = 0; 
    private integer guestList_size=200;
    public integer guestTotal_size;
    public integer totalExisting_size;
    public string finalQuery;   
    public string finalGuestQuery; 
    public boolean renderContactTabel {get;set;}
    public boolean renderGuestTabel {get;set;}
    public string guestId {get;set;} 
    public List<String> addStatusList{get;set;}
    public ITV_AddGuestToEventController(ApexPages.StandardController controller) {
        renderContactTabel = false;
        renderGuestTabel = false;
        showSearch =  false;
        hideSearch = true;
        hidePb = true;
        guestWrapperList = new List<guestWrapper>(); 
        conWrapperList = new List<conWrapper>();
        this.guest = (Guest_New__c)controller.getRecord();
        system.debug('-------the fetched guest is------'+guest);
        EventId = guest.Event__c;       
        List<Event__c> event = new List<Event__c>();
        if(EventId != Null){
            event = [Select Id,Name from Event__c where Id =: EventId LIMIT 1];
            eventName = event[0].Name;
        }
        system.debug('######## eventName: '+guest );
        selectedTab = 'AddMembers';
        showMsg = false;
        if(EventId != Null){
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        }
        if(EventId  != Null){
            showStatusValues();
        }
    }

    public ITV_AddGuestToEventController() {
        showSearch = false;            
    }
       public void showStatusValues(){
        List<Advanced_Setup__c> statusValuesList = new List<Advanced_Setup__c>();
        addStatusList = New List<String>();
        statusValuesList = [SELECT Id, Event__c, Responded__c, Status_values__c FROM Advanced_Setup__c WHERE Event__c =: EventId];

        for(Advanced_Setup__c adset : statusValuesList ){
            addStatusList.add(adset.Status_values__c);  
        }   
         
     } 
	 
		public pagereference redirectToEvent() 
		{
			Pagereference p=new Pagereference('/'+EventId);
			p.setredirect(true); 
			return p; 
		 }    
		public List<SelectOption> getSearchOptions() 
		{
			List<SelectOption> options = new List<SelectOption>();
			options.add(new SelectOption('None','--None--'));
			for(String str : ITV_AddGuestToEventHelperClass.getViewExistingOptions())
				options.add(new SelectOption(str,''+str));
			return options; 
		}
		public List<SelectOption> getSearchFieldOptions() 
		{
			List<SelectOption> options = new List<SelectOption>();        
			options.add(new SelectOption('None','--None--'));
			for(String str : ITV_AddGuestToEventHelperClass.getFieldSet()){
				if(str == ' Account.name')
				{
					options.add(new SelectOption(str,'Organisation name'));
				}
				else if(str == 'Title')
				{
					options.add(new SelectOption(str,'Job Title'));
				}
				else
				{
					options.add(new SelectOption(str,''+str));
				}
			}
			return options;
		}
	
		public List<SelectOption> getSearchOperatorOptions() 
		{
			List<SelectOption> options = new List<SelectOption>();
			options.add(new SelectOption('None','--None--'));
			for(String str : ITV_AddGuestToEventHelperClass.getOperators())
				options.add(new SelectOption(str,str));
			return options;
		}
	
		public List<SelectOption> getSelectedColumnOptions()
		{
			List<SelectOption> options = new List<SelectOption>();      
			return options;
		}

		public List<SelectOption> getAvailableColumnOptions()
		{
			List<SelectOption> options = new List<SelectOption>();
			Map<String, SobjectField> fieldMap = Contact.getsObjectType().getDescribe().Fields.getMap(); 
			for(String f :  ITV_AddGuestToEventHelperClass.getContactFields())
			{
				options.add(new SelectOption(f,f));
			}
			return options;
		}

		public void searchContact()
		{
			if(!test.isrunningtest()){
				conWrapperList.clear();
			   } 
			finalQuery = null;
			system.debug('lkkkkk000'  + searchOptn );
			if(searchOptn == 'All Contacts'){
				finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact';
				system.debug(searchOptn +' >>>>All Contact'+finalQuery);
			}
			if(searchOptn == ' ITV PLC'){ 
				string accountName = 'ITV PLC';   
			   finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact where Account.Name =  \''+ accountName +'\'';   
				system.debug(searchOptn +' >>>>finalQuery iiii '+finalQuery);
			} 
			if(finalQuery != null)
			{
            contactList  = database.query(finalQuery);
            getContactWraperList();
			}
			if(contactList != null){
            total_size = contactList.size();
			}
			if(total_size > 0){
            renderContactTabel = true;
			}
			else{
            renderContactTabel = false;
			}
			contactList.clear();
			system.debug(searchOptn +' >>>>conWrapperList '+conWrapperList);
		}  
		
			public list<conWrapper> getContactWraperList(){
			if(finalQuery != NULL && (!finalQuery.Contains('from Guest_New__c'))){
				if(!finalQuery.contains('limit')){
					finalQuery = finalQuery+' '+'limit :list_size offset :counter';
				}
				system.debug('Contact Offset Query' + finalQuery );      
				List<contact> contactList = New List<contact>();
				contactList = database.query(finalQuery);
				if(!test.isrunningtest()){
				 conWrapperList.clear();
				} 
				for(Contact c : contactList){
					conWrapper cw = new conWrapper();
					cw.Name = c.Name;
					cw.fName = c.FirstName;
					cw.lName = c.LastName;
					cw.Patchcontroller = c.ITV_Patch_Controller__c;
					cw.Email = c.Email;
					cw.Status = statusVal;
					cw.objContact = c;
					conWrapperList.add(cw);
				}
				return conWrapperList ;
			}
			else{
				return NULL;
			}
		}
		
		public list<guestWrapper> getguestNewWraperList()
		{
			if(finalGuestQuery != NULL && finalGuestQuery.Contains('from Guest_New__c'))
			{   
				if(!finalGuestQuery.contains('limit')){
					finalGuestQuery = finalGuestQuery+' '+'limit :guestlist_size offset :guestcounter';
				}
				guestWrapperList.clear();
				system.debug('Contact Offset Query' + finalGuestQuery);
				 List<Guest_New__c> offsetGuestList = New List<Guest_New__c>();         
				 offsetGuestList = database.query(finalGuestQuery);
					for(Guest_New__c g : offsetGuestList){
						guestWrapper cw = new guestWrapper();
						cw.Name = g.Name;
						cw.fName = g.FirstName__c;
						cw.lName = g.LastName__c;
						cw.Patchcontroller = g.Patch_Controller1__c;
						cw.Email = g.Email__c;
						cw.Status = g.Status__c; 
						cw.objGuestNew = g;
						guestWrapperList.add(cw);
					}
				return guestWrapperList;
			}
			else{
            return NULL;
			}
		}
		
		public void mapContacts(List<Contact> conList)
		{
			conWrapperList = new List<conWrapper>();
			system.debug('statusVal>>>>>>> '+statusVal);
			for(sObject c : conList){
				conWrapper cw = new conWrapper();
				cw.Name = String.valueof(c.get('Name'));
				cw.fName = String.valueof(c.get('FirstName'));
				cw.lName = String.valueof(c.get('LastName'));
				cw.Patchcontroller = String.valueof(c.get('ITV_Patch_Controller__c'));
				cw.Email = String.valueof(c.get('Email'));
				cw.Status = statusVal;
				conWrapperList.add(cw);
			}
			system.debug('conWrapperList ---- '+conWrapperList);
		}
		public List<guestWrapper> mapGuests(List<Guest_New__c> guestList)
		{    
			   guestWrapperList.clear();
				for(Guest_New__c c : guestList){
					guestWrapper gw = new guestWrapper();
						gw.Name = c.Name;
						gw.fName = c.FirstName__c;
						gw.lName = c.LastName__c;
						gw.Patchcontroller = c.Patch_Controller1__c;
						gw.Email = c.Email__c;
						gw.Status = c.Status__c; 
						gw.objGuestNew = c; 
					guestWrapperList.add(gw);
				}
				system.debug('guestWrapperList ---- '+guestWrapperList);
				finalGuestQuery = 'select Name,Email__c, Status__c, FirstName__c,LastName__c,CompanyOrAccount__c,Event__c, Patch_Controller1__c, Title__c, Contact__c, CreatedBy.Name, LastModifiedBy.Name, CreatedDate, LastModifiedDate from Guest_New__c where Event__c =\''+ EventId + '\'';
				totalExisting_size = guestList.size();
				guestTotal_size = guestList.size(); 
				if(guestTotal_size > 0){
					renderGuestTabel  = true;
				}
				else{
					renderGuestTabel = false;
				}
				getguestNewWraperList();
			return guestWrapperList;        
		}
    
		public void clearfilters()
		{
			if(searchField != null){
				searchField = '--None--';
				}
			if(searchOperator != null) {
				searchOperator = '--None--';
				}
			if(searchVal != null){
				searchVal = null;
				}
			if(searchField2 !=null){
				searchField2 = '--None--';
				}
			if(searchOperator2 != null) {
				searchOperator2 = '--None--';
				}
			if(searchVal2 != null){
				searchVal2 = null;
				}
			if(searchField3 != null){
				searchField3 = '--None--';
				}
			if(searchOperator3 != null) {
				searchOperator3 = '--None--';
				}
			if(searchVal3 != null){
				searchVal3 = null;
				}
			if(searchField4 != null){
				searchField4 = '--None--';
				}
			if(searchOperator4 != null) {
				searchOperator4 = '--None--';
				}
			if(searchVal4 != null){
				searchVal4 = null;
				}
			if(searchField5 != null){
				searchField5 = '--None--';
				}
			if(searchOperator5 != null) {
				searchOperator5 = '--None--';
			}
			if(searchVal5 != null){
				searchVal5 = null;
			}
		}

		
    List<sObject> objList = new List<sObject>();
    
    public void filterContact()
	{ 
		if(!test.isrunningtest())
		guestWrapperList.clear();
        if(sField1 != 'None' && sField1.containsAny(' '))
            sField1 = sField1.replace(' ','');
        if(sField2 != 'None' && sField2.containsAny(' '))
            sField2 = sField2.replace(' ','');
        if(sField3 != 'None' && sField3.containsAny(' '))
            sField3 = sField3.replace(' ','');
        if(sField4 != 'None' && sField4.containsAny(' '))
            sField4 = sField4.replace(' ','');
        if(sField5 != 'None' && sField5.containsAny(' '))
            sField5 = sField5.replace(' ','');
        if(sVal1 != Null && sVal1.containsAny(' '))
            sVal1.trim();
        if(sVal2 != Null && sVal2.containsAny(' '))
            sVal2.trim();
        if(sVal3 != Null && sVal3.containsAny(' '))
            sVal3.trim();
        if(sVal4 != Null && sVal4.containsAny(' '))
            sVal4.trim();
        if(sVal5 != Null && sVal5.containsAny(' '))
            sVal5.trim();
        system.debug('sField5 '+ sField5 + ' sOperator5 '+ sOperator5 + ' sVal5 '+ sVal5);
        system.debug('sField1 '+sField1 + ' sField2 '+sField2 + ' sField3 '+sField3 + ' sField4 '+sField4 + ' sField5 '+ sField5);
        system.debug('sobject'+ sObjVal );
        if(sObjVal == 'guest'){
            sObjVal = 'Guest_New__c';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5);
            //mapGuests(objList);
            finalGuestQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5, EventId);
            system.debug('Check the Query'+ finalGuestQuery);
            List<Guest_New__c> filterdGuestList = new List<Guest_New__c>();
            if(finalGuestQuery != Null){ 
                system.debug('finalGuestQuery'+finalGuestQuery);
                filterdGuestList =  database.query(finalGuestQuery);
                }
            guestTotal_size = filterdGuestList.size();
            if(guestTotal_size > 0){
                renderGuestTabel  = true;
            }
            else{
                renderGuestTabel = false;
            }
            getguestNewWraperList();
        }else{
            sObjVal = 'Contact';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5);            
            system.debug('Check the values'+ sObjVal + sField1 + sOperator1);
            finalQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5, EventId);            
            system.debug('Check the Query'+ finalQuery );
            List<Contact> filterdContactList =  database.query(finalQuery);
            if(filterdContactList != null){
                total_size = filterdContactList.size();
            }
            if(total_size > 0){
                renderContactTabel = true;
            }
            else{
                renderContactTabel = false;
            }
            //mapContacts(objList);
            getContactWraperList();
        }        
    }
    
    public void addMembers()
	{
        try{
            guestList = new List<Guest_New__c>();
            for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.Name = cwrap.Name;
                    objGuest.Email__c = cwrap.Email;
                    objGuest.FirstName__c = cwrap.fName;
                    objGuest.LastName__c = cwrap.lName;
                    objGuest.CompanyOrAccount__c = cwrap.objContact.Account.Name;
                    objGuest.Patch_Controller1__c = cwrap.Patchcontroller;
                    objGuest.Title__c = cwrap.objContact.Title;
                    objGuest.Status__c = statusVal;
                    objGuest.Event__c = EventId;
                    objGuest.Contact__c = cwrap.objContact.Id;
                //    objGuest.Salutation__c = cwrap.objContact.Name.Salutation;
                //    objGuest.Guest_Address__r.Id = cwrap.objContact.Contact_Address__r.Id;                    
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully added '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                insert guestList;                
            }
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        }         
    }
	
    public void changeTab()
	{
        tabOpt = 'ExistingMember';
        selectedTab = 'ExistingMember';   
        hidePb = false;   
        showSearch = true; 
        hideSearch = false;
        showMsg = false; 
        for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                cwrap.checked = false;
                }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        
    }
    
    public void hidePanel()
	{
        hidePb = false;
        showSearch =  true;
        hideSearch = false;
    }
    public void showPanel(){
        hidePb = true;
        showSearch =  false;
        hideSearch = true;
    }
    
    public void updateStatus()
	{
    
            try{
            guestList = new List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.id = gwrap.objGuestNew .id;
                    objGuest.Status__c = statusVal;
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully updated '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                update guestList;                
            }
            mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
         //   getguestNewWraperList();            
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        } 
    
    }
    
    public void removeMember(){
        system.debug('Guest Id '+ guestId );
        if(guestId != Null ){

            Guest_New__c deletGuest = [Select Id from Guest_New__c where Id =: guestId];
            delete deletGuest ;
            guestId = Null;
        }
        else{
            list<Guest_New__c> deleteList =  New List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    deleteList.add(gwrap.objGuestNew);
                }
            }            
            if(deleteList != Null && deleteList.size() > 0){
            showMsg = true;
            messageStr = 'You have successfully deleted '+ deleteList.size() + ' member(s).';
            ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
            system.debug('deleteList>>>>>> '+deleteList);        
            delete deleteList; 
            deleteList.clear();  
            }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
    //   changeTab();
    }
    public void addColumn()
	{   
    }  
	public void searchGuests()
	{
	mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId));        
    } 
	/**** Pagenation *****/
public PageReference First() { 
      counter = 0;
      getContactWraperList();
      return null;
   }public PageReference Previous() { 
      counter -= list_size;
      getContactWraperList();
      return null;
   }public PageReference Next() { 
      counter += list_size;
      getContactWraperList();
      return null;
   }public PageReference End() {
      if(math.mod(total_size, list_size) != 0){
          counter = total_size - math.mod(total_size, list_size);
      }
      else{
          counter = total_size - list_size;
      }
      getContactWraperList();
      return null;
   }public PageReference GuestFirst() { 
      guestCounter = 0;
      getguestNewWraperList();
      return null;
   }public PageReference GuestPrevious() { 
      guestCounter -= guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestNext() { 
      guestCounter += guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestEnd() {
      if(math.mod(guestTotal_size, guestList_size) != 0){
          guestCounter = guestTotal_size - math.mod(guestTotal_size, guestList_size);
      }
      else{
          guestCounter = guestTotal_size - guestList_size;
      }
      getguestNewWraperList();
      return null;
   }public Boolean getDisablePrevious() {
      //this will disable the previous and beginning buttons
      if (counter>0) return false; else return true;
   }public Boolean getDisableNext() { 
      if(total_size != NULL){
          if (counter + list_size < total_size) {
              return true;
          }
          else{
              return false;
          }
      }
      else{
          return null;
    }  
   }public Boolean getGuestDisablePrevious() {
          if (guestCounter>0){
              return false;
          }
          else{
              return true;
          }
       }public Boolean getGuestDisableNext() { 
      if(guestTotal_size != NULL){
          if (guestCounter + guestList_size < guestTotal_size) {
              return true;
          }
          else{
              return false;
          }}else{
          return null;
      }}public Integer getTotal_size() {
      return total_size;
   }public Integer getGuestTotal_size() {
      return guestTotal_size;
   }public Integer gettotalExisting_size() {
      return totalExisting_size;
   }public Integer getPageNumber() {
      return counter/list_size + 1;
   }public Integer getGuestPageNumber() {
      return guestCounter/guestList_size + 1;
   }   
	   public Integer getTotalPages() {
		  if(total_size != NULL){
			  if (math.mod(total_size, list_size) > 0) {
				 return total_size/list_size + 1;
			  } else {
				 return (total_size/list_size);
			  }
		  }
		  else{
			  return null;
		  }
	   }
		 public Integer getGuestTotalPages() {
			  if(guesttotal_size != NULL){
				  if (math.mod(guestTotal_size, guestList_size) > 0) {
					 return guestTotal_size/guestList_size + 1;
				  } else {
					 return (guestTotal_size/guestList_size);
				  }}
			  else{
				  return null;
			  }
			  }
			public class conWrapper
			{
				public Boolean checked{get; set;}
				public String Name{get; set;}
				public String Email{get; set;}
				public String fName{get; set;}
				public String lName{get; set;}
				public String Patchcontroller{get; set;}
				public String Account{get; set;}
				public String Status{get;set;}
				public Id EventId;
				public Contact objContact {get;set;}
				public conWrapper()
				{
						checked = false;   
				}
					public conWrapper(Contact c){
						checked = false;
					} 
			}
		public class guestWrapper{
		   public Boolean idcheckbox{get; set;}
			public String Name{get; set;}
			public String Email{get; set;}
			public String fName{get; set;}
			public String lName{get; set;}
			public String Patchcontroller{get; set;}
			public String Account{get; set;}
			public String Status{get;set;}        
			public Id EventId;
			public Guest_New__c objGuestNew {get;set;}
			
			public guestWrapper(){
			   idcheckbox = false;
			}
			public guestWrapper(Guest_New__c gn){
			   idcheckbox = false;
			}
		}
}


Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help

Thanks
Amit Chaudhary
This was selected as the best answer
Prabhat Kumar12Prabhat Kumar12
I think problem is with brackets. Please use this code and let me know.
public with sharing class ITV_AddGuestToEventController {
    public String tabOpt{get;set;}
    public Boolean hidePb{get;set;}
    public Boolean hideSearch{get;set;}
    public String selectedTab{get;set;}
    public Boolean showMsg{get;set;}
    public String messageStr{get;set;}
    public String searchOptn{get;set;}
    public String searchField{get;set;}
    public String searchOperator{get;set;}
    public String searchVal{get;set;}
    public String searchField2{get;set;}
    public String searchOperator2{get;set;}
    public String searchVal2{get;set;}
    public String searchField3{get;set;}
    public String searchOperator3{get;set;}
    public String searchVal3{get;set;}
    public String searchField4{get;set;}
    public String searchOperator4{get;set;}
    public String searchVal4{get;set;}
    public String searchField5{get;set;}
    public String searchOperator5{get;set;}
    public String searchVal5{get;set;}
    public String availableColumnValue{get;set;}
    public String selectedColumnValue{get;set;}
    public List<Contact> contactList = new List<Contact>();
    List<Guest_New__c> guestList, guestDisplayList;
    public Boolean showSearch{get;set;}
    public List<conWrapper> conWrapperList{get;set;}
    public List<guestWrapper> guestWrapperList{get;set;}
    Set<String> fieldNames = new Set<String>();
    public String statusVal{get;set;}
    public String sField1{get;set;}
    public String sOperator1{get;set;}
    public String sVal1{get;set;}
    public String sField2{get;set;}
    public String sOperator2{get;set;}
    public String sVal2{get;set;}
    public String sField3{get;set;}
    public String sOperator3{get;set;}
    public String sVal3{get;set;}
    public String sField4{get;set;}
    public String sOperator4{get;set;}
    public String sVal4{get;set;}
    public String sField5{get;set;}
    public String sOperator5{get;set;}
    public String sVal5{get;set;}
    public String sObjVal{get;set;}
  @TestVisible public Id EventId;
    public String eventName{get;set;}
    Guest_New__c guest;
    Event__c event;
    //Pagenation
    private integer counter = 0; 
    private integer list_size=200;
    public integer total_size;  
    private integer guestCounter = 0; 
    private integer guestList_size=200;
    public integer guestTotal_size;
    public integer totalExisting_size;
    public string finalQuery;   
    public string finalGuestQuery; 
    public boolean renderContactTabel {get;set;}
    public boolean renderGuestTabel {get;set;}
    public string guestId {get;set;} 
    public List<String> addStatusList{get;set;}
    public ITV_AddGuestToEventController(ApexPages.StandardController controller) {
        renderContactTabel = false;
        renderGuestTabel = false;
        showSearch =  false;
        hideSearch = true;
        hidePb = true;
        guestWrapperList = new List<guestWrapper>(); 
        conWrapperList = new List<conWrapper>();
        this.guest = (Guest_New__c)controller.getRecord();
        system.debug('-------the fetched guest is------'+guest);
        EventId = guest.Event__c;       
        List<Event__c> event = new List<Event__c>();
        if(EventId != Null){
            event = [Select Id,Name from Event__c where Id =: EventId LIMIT 1];
            eventName = event[0].Name;
        }
        system.debug('######## eventName: '+guest );
        selectedTab = 'AddMembers';
        showMsg = false;
        if(EventId != Null){
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        }
        if(EventId  != Null){
            showStatusValues();
        }
    }

    public ITV_AddGuestToEventController() {
        showSearch = false;            
    }
       public void showStatusValues(){
        List<Advanced_Setup__c> statusValuesList = new List<Advanced_Setup__c>();
        addStatusList = New List<String>();
        statusValuesList = [SELECT Id, Event__c, Responded__c, Status_values__c FROM Advanced_Setup__c WHERE Event__c =: EventId];

        for(Advanced_Setup__c adset : statusValuesList ){
            addStatusList.add(adset.Status_values__c);  
        }   
         
     } 
    public pagereference redirectToEvent() {
        Pagereference p=new Pagereference('/'+EventId);
         p.setredirect(true); 
         return p; }    
public List<SelectOption> getSearchOptions() {
        List<SelectOption> options = new List<SelectOption>();
        options.add(new SelectOption('None','--None--'));
        for(String str : ITV_AddGuestToEventHelperClass.getViewExistingOptions())
            options.add(new SelectOption(str,''+str));
        return options; }
    public List<SelectOption> getSearchFieldOptions() {
        List<SelectOption> options = new List<SelectOption>();        
        options.add(new SelectOption('None','--None--'));
        for(String str : ITV_AddGuestToEventHelperClass.getFieldSet()){
            if(str == ' Account.name'){
                options.add(new SelectOption(str,'Organisation name'));
                }
            else if(str == 'Title'){
                options.add(new SelectOption(str,'Job Title'));
                }
            else
                options.add(new SelectOption(str,''+str));
                }
        }
        return options;
    
    public List<SelectOption> getSearchOperatorOptions() {
        List<SelectOption> options = new List<SelectOption>();
        options.add(new SelectOption('None','--None--'));
        for(String str : ITV_AddGuestToEventHelperClass.getOperators())
            options.add(new SelectOption(str,str));
        return options;
    }
    public List<SelectOption> getSelectedColumnOptions(){
        List<SelectOption> options = new List<SelectOption>();      
        return options;
    }
    public List<SelectOption> getAvailableColumnOptions(){
        List<SelectOption> options = new List<SelectOption>();
        Map<String, SobjectField> fieldMap = Contact.getsObjectType().getDescribe().Fields.getMap(); 
        for(String f :  ITV_AddGuestToEventHelperClass.getContactFields()){
            options.add(new SelectOption(f,f));
        }
        return options;
    }
    public void searchContact(){
    if(!test.isrunningtest()){
        conWrapperList.clear();
       } 
        finalQuery = null;
        system.debug('lkkkkk000'  + searchOptn );
        if(searchOptn == 'All Contacts'){
            finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact';
            system.debug(searchOptn +' >>>>All Contact'+finalQuery);
        }
        if(searchOptn == ' ITV PLC'){ 
            string accountName = 'ITV PLC';   
           finalQuery = 'Select ID, FirstName, LastName, Name, Email, Birthdate, ITV_Patch_Controller__c, Account.name, Title from Contact where Account.Name =  \''+ accountName +'\'';   
            system.debug(searchOptn +' >>>>finalQuery iiii '+finalQuery);
        } 
 if(finalQuery != null){
            contactList  = database.query(finalQuery);
            getContactWraperList();
        }
        if(contactList != null){
            total_size = contactList.size();
        }
        if(total_size > 0){
            renderContactTabel = true;
        }
        else{
            renderContactTabel = false;
        }
        contactList.clear();
        system.debug(searchOptn +' >>>>conWrapperList '+conWrapperList);
    }    
    public list<conWrapper> getContactWraperList(){
        if(finalQuery != NULL && (!finalQuery.Contains('from Guest_New__c'))){
            if(!finalQuery.contains('limit')){
                finalQuery = finalQuery+' '+'limit :list_size offset :counter';
            }
            system.debug('Contact Offset Query' + finalQuery );      
            List<contact> contactList = New List<contact>();
            contactList = database.query(finalQuery);
            if(!test.isrunningtest()){
             conWrapperList.clear();
            } 
            for(Contact c : contactList){
                conWrapper cw = new conWrapper();
                cw.Name = c.Name;
                cw.fName = c.FirstName;
                cw.lName = c.LastName;
                cw.Patchcontroller = c.ITV_Patch_Controller__c;
                cw.Email = c.Email;
                cw.Status = statusVal;
                cw.objContact = c;
                conWrapperList.add(cw);
            }
            return conWrapperList ;
        }
        else{
            return NULL;
        }
    }
    public list<guestWrapper> getguestNewWraperList(){
        if(finalGuestQuery != NULL && finalGuestQuery.Contains('from Guest_New__c')){   
            if(!finalGuestQuery.contains('limit')){
                finalGuestQuery = finalGuestQuery+' '+'limit :guestlist_size offset :guestcounter';
            }
            guestWrapperList.clear();
            system.debug('Contact Offset Query' + finalGuestQuery);
             List<Guest_New__c> offsetGuestList = New List<Guest_New__c>();         
             offsetGuestList = database.query(finalGuestQuery);
                for(Guest_New__c g : offsetGuestList){
                    guestWrapper cw = new guestWrapper();
                    cw.Name = g.Name;
                    cw.fName = g.FirstName__c;
                    cw.lName = g.LastName__c;
                    cw.Patchcontroller = g.Patch_Controller1__c;
                    cw.Email = g.Email__c;
                    cw.Status = g.Status__c; 
                    cw.objGuestNew = g;
                    guestWrapperList.add(cw);
                }
            return guestWrapperList;
        }
        else{
            return NULL;
        }     
    public void mapContacts(List<Contact> conList){
        conWrapperList = new List<conWrapper>();
        system.debug('statusVal>>>>>>> '+statusVal);
        for(sObject c : conList){
            conWrapper cw = new conWrapper();
            cw.Name = String.valueof(c.get('Name'));
            cw.fName = String.valueof(c.get('FirstName'));
            cw.lName = String.valueof(c.get('LastName'));
            cw.Patchcontroller = String.valueof(c.get('ITV_Patch_Controller__c'));
            cw.Email = String.valueof(c.get('Email'));
            cw.Status = statusVal;
            conWrapperList.add(cw);
        }
        system.debug('conWrapperList ---- '+conWrapperList);
    }
    public List<guestWrapper> mapGuests(List<Guest_New__c> guestList){    
           guestWrapperList.clear();
            for(Guest_New__c c : guestList){
                guestWrapper gw = new guestWrapper();
                    gw.Name = c.Name;
                    gw.fName = c.FirstName__c;
                    gw.lName = c.LastName__c;
                    gw.Patchcontroller = c.Patch_Controller1__c;
                    gw.Email = c.Email__c;
                    gw.Status = c.Status__c; 
                    gw.objGuestNew = c; 
                guestWrapperList.add(gw);
            }
            system.debug('guestWrapperList ---- '+guestWrapperList);
            finalGuestQuery = 'select Name,Email__c, Status__c, FirstName__c,LastName__c,CompanyOrAccount__c,Event__c, Patch_Controller1__c, Title__c, Contact__c, CreatedBy.Name, LastModifiedBy.Name, CreatedDate, LastModifiedDate from Guest_New__c where Event__c =\''+ EventId + '\'';
            totalExisting_size = guestList.size();
            guestTotal_size = guestList.size(); 
            if(guestTotal_size > 0){
                renderGuestTabel  = true;
            }
            else{
                renderGuestTabel = false;
            }
            getguestNewWraperList();
        return guestWrapperList;        
    }
    
    public void clearfilters(){
        if(searchField != null){
            searchField = '--None--';
            }
        if(searchOperator != null) {
            searchOperator = '--None--';
            }
        if(searchVal != null){
            searchVal = null;
            }
        if(searchField2 !=null){
            searchField2 = '--None--';
            }
        if(searchOperator2 != null) {
            searchOperator2 = '--None--';
            }
        if(searchVal2 != null){
            searchVal2 = null;
            }
        if(searchField3 != null){
            searchField3 = '--None--';
            }
        if(searchOperator3 != null) {
            searchOperator3 = '--None--';
            }
        if(searchVal3 != null){
            searchVal3 = null;
            }
        if(searchField4 != null){
            searchField4 = '--None--';
            }
        if(searchOperator4 != null) {
            searchOperator4 = '--None--';
            }
        if(searchVal4 != null){
            searchVal4 = null;
            }
        if(searchField5 != null){
            searchField5 = '--None--';
            }
        if(searchOperator5 != null) {
            searchOperator5 = '--None--';
        }
        if(searchVal5 != null){
            searchVal5 = null;
        }
    }
    
    List<sObject> objList = new List<sObject>();
    
    public void filterContact(){ 
     if(!test.isrunningtest())
    guestWrapperList.clear();
        if(sField1 != 'None' && sField1.containsAny(' '))
            sField1 = sField1.replace(' ','');
        if(sField2 != 'None' && sField2.containsAny(' '))
            sField2 = sField2.replace(' ','');
        if(sField3 != 'None' && sField3.containsAny(' '))
            sField3 = sField3.replace(' ','');
        if(sField4 != 'None' && sField4.containsAny(' '))
            sField4 = sField4.replace(' ','');
        if(sField5 != 'None' && sField5.containsAny(' '))
            sField5 = sField5.replace(' ','');
        if(sVal1 != Null && sVal1.containsAny(' '))
            sVal1.trim();
        if(sVal2 != Null && sVal2.containsAny(' '))
            sVal2.trim();
        if(sVal3 != Null && sVal3.containsAny(' '))
            sVal3.trim();
        if(sVal4 != Null && sVal4.containsAny(' '))
            sVal4.trim();
        if(sVal5 != Null && sVal5.containsAny(' '))
            sVal5.trim();
        system.debug('sField5 '+ sField5 + ' sOperator5 '+ sOperator5 + ' sVal5 '+ sVal5);
        system.debug('sField1 '+sField1 + ' sField2 '+sField2 + ' sField3 '+sField3 + ' sField4 '+sField4 + ' sField5 '+ sField5);
        system.debug('sobject'+ sObjVal );
        if(sObjVal == 'guest'){
            sObjVal = 'Guest_New__c';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5);
            //mapGuests(objList);
            finalGuestQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1 + '__c', sOperator1, sVal1, sField2 + '__c', sOperator2, sVal2, sField3 + '__c', sOperator3, sVal3, sField4 + '__c', sOperator4, sVal4, sField5 + '__c', sOperator5, sVal5, EventId);
            system.debug('Check the Query'+ finalGuestQuery);
            List<Guest_New__c> filterdGuestList = new List<Guest_New__c>();
            if(finalGuestQuery != Null){ 
                system.debug('finalGuestQuery'+finalGuestQuery);
                filterdGuestList =  database.query(finalGuestQuery);
                }
            guestTotal_size = filterdGuestList.size();
            if(guestTotal_size > 0){
                renderGuestTabel  = true;
            }
            else{
                renderGuestTabel = false;
            }
            getguestNewWraperList();
        }else{
            sObjVal = 'Contact';
            //objList = ITV_AddGuestToEventHelperClass.getQuerySobj(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5);            
            system.debug('Check the values'+ sObjVal + sField1 + sOperator1);
            finalQuery = ITV_AddGuestToEventHelperClass.getFilterQueryString(sObjVal, sField1, sOperator1, sVal1, sField2, sOperator2, sVal2, sField3, sOperator3, sVal3, sField4, sOperator4, sVal4, sField5, sOperator5, sVal5, EventId);            
            system.debug('Check the Query'+ finalQuery );
            List<Contact> filterdContactList =  database.query(finalQuery);
            if(filterdContactList != null){
                total_size = filterdContactList.size();
            }
            if(total_size > 0){
                renderContactTabel = true;
            }
            else{
                renderContactTabel = false;
            }
            //mapContacts(objList);
            getContactWraperList();
        }        
    }
    
    public void addMembers(){
        try{
            guestList = new List<Guest_New__c>();
            for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.Name = cwrap.Name;
                    objGuest.Email__c = cwrap.Email;
                    objGuest.FirstName__c = cwrap.fName;
                    objGuest.LastName__c = cwrap.lName;
                    objGuest.CompanyOrAccount__c = cwrap.objContact.Account.Name;
                    objGuest.Patch_Controller1__c = cwrap.Patchcontroller;
                    objGuest.Title__c = cwrap.objContact.Title;
                    objGuest.Status__c = statusVal;
                    objGuest.Event__c = EventId;
                    objGuest.Contact__c = cwrap.objContact.Id;
                //    objGuest.Salutation__c = cwrap.objContact.Name.Salutation;
                //    objGuest.Guest_Address__r.Id = cwrap.objContact.Contact_Address__r.Id;                    
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully added '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                insert guestList;                
            }
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        }         
    }
    public void changeTab(){
        tabOpt = 'ExistingMember';
        selectedTab = 'ExistingMember';   
        hidePb = false;   
        showSearch = true; 
        hideSearch = false;
        showMsg = false; 
        for(conWrapper cwrap : conWrapperList){           
                if(cwrap.checked == true){
                cwrap.checked = false;
                }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
        
    }
    
    public void hidePanel(){
        hidePb = false;
        showSearch =  true;
        hideSearch = false;
    }
    public void showPanel(){
        hidePb = true;
        showSearch =  false;
        hideSearch = true;
    }
    
    public void updateStatus(){
    
            try{
            guestList = new List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    Guest_New__c objGuest = new Guest_New__c();
                    objGuest.id = gwrap.objGuestNew .id;
                    objGuest.Status__c = statusVal;
                    guestList.add(objGuest);
                }
            }
            if(guestList != Null && guestList.size() > 0){
                showMsg = true;
                messageStr = 'You have successfully updated '+ guestList.size() + ' member(s).';
                ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
                system.debug('guestList >>>>>> '+guestList);
                update guestList;                
            }
            mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
         //   getguestNewWraperList();            
        }catch(DMLException e){
                system.debug('Insertion failed ' + e );
        } 
    
    }
    
    public void removeMember(){
        system.debug('Guest Id '+ guestId );
        if(guestId != Null ){

            Guest_New__c deletGuest = [Select Id from Guest_New__c where Id =: guestId];
            delete deletGuest ;
            guestId = Null;
        }
        else{
            list<Guest_New__c> deleteList =  New List<Guest_New__c>();
            for(guestWrapper gwrap : guestWrapperList){           
                if(gwrap.idcheckbox == true){
                    deleteList.add(gwrap.objGuestNew);
                }
            }            
            if(deleteList != Null && deleteList.size() > 0){
            showMsg = true;
            messageStr = 'You have successfully deleted '+ deleteList.size() + ' member(s).';
            ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,messageStr));
            system.debug('deleteList>>>>>> '+deleteList);        
            delete deleteList; 
            deleteList.clear();  
            }
        }
        mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId)); 
    //   changeTab();
    }
    public void addColumn(){   
    }  public void searchGuests(){
   mapGuests(ITV_AddGuestToEventHelperClass.getGuestDetails(EventId));        
    }    /**** Pagenation *****/
public PageReference First() { 
      counter = 0;
      getContactWraperList();
      return null;
   }public PageReference Previous() { 
      counter -= list_size;
      getContactWraperList();
      return null;
   }public PageReference Next() { 
      counter += list_size;
      getContactWraperList();
      return null;
   }public PageReference End() {
      if(math.mod(total_size, list_size) != 0){
          counter = total_size - math.mod(total_size, list_size);
      }
      else{
          counter = total_size - list_size;
      }
      getContactWraperList();
      return null;
   }public PageReference GuestFirst() { 
      guestCounter = 0;
      getguestNewWraperList();
      return null;
   }public PageReference GuestPrevious() { 
      guestCounter -= guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestNext() { 
      guestCounter += guestList_size;
      getguestNewWraperList();
      return null;
   }public PageReference GuestEnd() {
      if(math.mod(guestTotal_size, guestList_size) != 0){
          guestCounter = guestTotal_size - math.mod(guestTotal_size, guestList_size);
      }
      else{
          guestCounter = guestTotal_size - guestList_size;
      }
      getguestNewWraperList();
      return null;
   }public Boolean getDisablePrevious() {
      //this will disable the previous and beginning buttons
      if (counter>0) return false; else return true;
   }public Boolean getDisableNext() { 
      if(total_size != NULL){
          if (counter + list_size < total_size) {
              return true;
          }
          else{
              return false;
          }
      }
      else{
          return null;
    }  
   }public Boolean getGuestDisablePrevious() {
          if (guestCounter>0){
              return false;
          }
          else{
              return true;
          }
       }public Boolean getGuestDisableNext() { 
      if(guestTotal_size != NULL){
          if (guestCounter + guestList_size < guestTotal_size) {
              return true;
          }
          else{
              return false;
          }}else{
          return null;
      }}public Integer getTotal_size() {
      return total_size;
   }public Integer getGuestTotal_size() {
      return guestTotal_size;
   }public Integer gettotalExisting_size() {
      return totalExisting_size;
   }public Integer getPageNumber() {
      return counter/list_size + 1;
   }public Integer getGuestPageNumber() {
      return guestCounter/guestList_size + 1;
   }   public Integer getTotalPages() {
      if(total_size != NULL){
          if (math.mod(total_size, list_size) > 0) {
             return total_size/list_size + 1;
          } else {
             return (total_size/list_size);
          }
      }
      else{
          return null;
      }
   }
 public Integer getGuestTotalPages() {
      if(guesttotal_size != NULL){
          if (math.mod(guestTotal_size, guestList_size) > 0) {
             return guestTotal_size/guestList_size + 1;
          } else {
             return (guestTotal_size/guestList_size);
          }}
      else{
          return null;
      }}
    public class conWrapper{
        public Boolean checked{get; set;}
        public String Name{get; set;}
        public String Email{get; set;}
        public String fName{get; set;}
        public String lName{get; set;}
        public String Patchcontroller{get; set;}
        public String Account{get; set;}
        public String Status{get;set;}
        public Id EventId;
        public Contact objContact {get;set;}
        public conWrapper(){
            checked = false;   }
        public conWrapper(Contact c){
            checked = false;
        } }
    public class guestWrapper{
       public Boolean idcheckbox{get; set;}
        public String Name{get; set;}
        public String Email{get; set;}
        public String fName{get; set;}
        public String lName{get; set;}
        public String Patchcontroller{get; set;}
        public String Account{get; set;}
        public String Status{get;set;}        
        public Id EventId;
        public Guest_New__c objGuestNew {get;set;}
        
        public guestWrapper(){
           idcheckbox = false;
        }
        public guestWrapper(Guest_New__c gn){
           idcheckbox = false;
        }
    }
}
}

 
Abraham kumar 4Abraham kumar 4
HI Amit,

thanks a lot.!!Your code is working, but now i am getting this error 
Visualforce Error
Help for this Page

System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Contact.ITV_Patch_Controller__c
Error is in expression '{!filterContact}' in page itv_addguesttoeventpage: Class.ITV_AddGuestToEventController.getContactWraperList: line 220, column 1
Class.ITV_AddGuestToEventController.filterContact: line 421, column 1

Class.ITV_AddGuestToEventController.getContactWraperList: line 220, column 1
Class.ITV_AddGuestToEventController.filterContact: line 421, column 1

Please can you help on this. Thanks!!!
Thanks for your help too prabhat.

Thanks
Abraham
Abraham kumar 4Abraham kumar 4
Hi Amit,
Many thanks for the quick response. Please find below debug log of error:-
29.0 APEX_CODE,DEBUG;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO
10:33:00.069 (69469178)|EXECUTION_STARTED
10:33:00.069 (69513705)|CODE_UNIT_STARTED|[EXTERNAL]|066D00000007OJZ|VF: /apex/ITV_AddGuestToEventPage
10:33:00.070 (70405675)|VF_DESERIALIZE_VIEWSTATE_BEGIN|066D00000007OJZ
10:33:00.080 (80192529)|VF_DESERIALIZE_VIEWSTATE_END
10:33:00.084 (84150499)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(showMsg)
10:33:00.084 (84162464)|SYSTEM_MODE_ENTER|true
10:33:00.084 (84180540)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|showMsg
10:33:00.084 (84209532)|METHOD_ENTRY|[1]|01pD000000145A4|ITV_AddGuestToEventController.ITV_AddGuestToEventController()
10:33:00.084 (84221439)|SYSTEM_MODE_ENTER|false
10:33:00.084 (84238518)|SYSTEM_MODE_EXIT|false
10:33:00.084 (84246556)|METHOD_EXIT|[1]|ITV_AddGuestToEventController
10:33:00.084 (84254599)|CODE_UNIT_FINISHED|showMsg
10:33:00.084 (84267302)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(showMsg)
10:33:00.084 (84355969)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(hideSearch)
10:33:00.084 (84364546)|SYSTEM_MODE_ENTER|true
10:33:00.084 (84372275)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|hideSearch
10:33:00.084 (84380869)|CODE_UNIT_FINISHED|hideSearch
10:33:00.084 (84391670)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(hideSearch)
10:33:00.084 (84447640)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(showSearch)
10:33:00.084 (84455275)|SYSTEM_MODE_ENTER|true
10:33:00.084 (84462426)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|showSearch
10:33:00.084 (84470242)|CODE_UNIT_FINISHED|showSearch
10:33:00.084 (84479883)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(showSearch)
10:33:00.084 (84531357)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(hidePb)
10:33:00.084 (84538834)|SYSTEM_MODE_ENTER|true
10:33:00.084 (84546002)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|hidePb
10:33:00.084 (84553917)|CODE_UNIT_FINISHED|hidePb
10:33:00.084 (84563416)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(hidePb)
10:33:00.084 (84873586)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(addStatusList)
10:33:00.084 (84881838)|SYSTEM_MODE_ENTER|true
10:33:00.084 (84889283)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|addStatusList
10:33:00.084 (84897411)|CODE_UNIT_FINISHED|addStatusList
10:33:00.084 (84907371)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(addStatusList)
10:33:00.085 (85042272)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(conWrapperList)
10:33:00.085 (85051321)|SYSTEM_MODE_ENTER|true
10:33:00.085 (85058802)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|conWrapperList
10:33:00.085 (85066897)|CODE_UNIT_FINISHED|conWrapperList
10:33:00.085 (85076895)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(conWrapperList)
10:33:00.085 (85257941)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(renderContactTabel)
10:33:00.085 (85266116)|SYSTEM_MODE_ENTER|true
10:33:00.085 (85273609)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|renderContactTabel
10:33:00.085 (85281877)|CODE_UNIT_FINISHED|renderContactTabel
10:33:00.085 (85291917)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(renderContactTabel)
10:33:00.085 (85753584)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(guestWrapperList)
10:33:00.085 (85762333)|SYSTEM_MODE_ENTER|true
10:33:00.085 (85769900)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|guestWrapperList
10:33:00.085 (85778368)|CODE_UNIT_FINISHED|guestWrapperList
10:33:00.085 (85789505)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(guestWrapperList)
10:33:00.086 (86975634)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(renderGuestTabel)
10:33:00.086 (86985616)|SYSTEM_MODE_ENTER|true
10:33:00.086 (86993642)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|renderGuestTabel
10:33:00.087 (87002613)|CODE_UNIT_FINISHED|renderGuestTabel
10:33:00.087 (87013969)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(renderGuestTabel)
10:33:00.087 (87103454)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(GuestDisablePrevious)
10:33:00.087 (87111784)|SYSTEM_MODE_ENTER|true
10:33:00.087 (87303977)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getGuestDisablePrevious)
10:33:00.087 (87348041)|SYSTEM_MODE_ENTER|false
10:33:00.087 (87360881)|SYSTEM_MODE_EXIT|false
10:33:00.087 (87378907)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getGuestDisablePrevious)
10:33:00.087 (87391510)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(GuestDisablePrevious)
10:33:00.087 (87463974)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(GuestdisablePrevious)
10:33:00.087 (87472109)|SYSTEM_MODE_ENTER|true
10:33:00.087 (87481160)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getGuestdisablePrevious)
10:33:00.087 (87504214)|SYSTEM_MODE_ENTER|false
10:33:00.087 (87512070)|SYSTEM_MODE_EXIT|false
10:33:00.087 (87521853)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getGuestdisablePrevious)
10:33:00.087 (87536943)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(GuestdisablePrevious)
10:33:00.087 (87622472)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(GuestdisableNext)
10:33:00.087 (87630491)|SYSTEM_MODE_ENTER|true
10:33:00.087 (87639346)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getGuestdisableNext)
10:33:00.087 (87666045)|SYSTEM_MODE_ENTER|false
10:33:00.087 (87678614)|SYSTEM_MODE_EXIT|false
10:33:00.087 (87688341)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getGuestdisableNext)
10:33:00.087 (87699654)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(GuestdisableNext)
10:33:00.088 (88093666)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(tabOpt,AddMembers)
10:33:00.088 (88103622)|SYSTEM_MODE_ENTER|true
10:33:00.088 (88115411)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(tabOpt,AddMembers)
10:33:00.088 (88147595)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(tabOpt,AddMembers)
10:33:00.088 (88160271)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(tabOpt,AddMembers)
10:33:00.088 (88303641)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(showMsg)
10:33:00.088 (88312003)|SYSTEM_MODE_ENTER|true
10:33:00.088 (88319656)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|showMsg
10:33:00.088 (88328352)|CODE_UNIT_FINISHED|showMsg
10:33:00.088 (88338620)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(showMsg)
10:33:00.088 (88384166)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(hideSearch)
10:33:00.088 (88391720)|SYSTEM_MODE_ENTER|true
10:33:00.088 (88399276)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|hideSearch
10:33:00.088 (88407163)|CODE_UNIT_FINISHED|hideSearch
10:33:00.088 (88416519)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(hideSearch)
10:33:00.088 (88446528)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(showSearch)
10:33:00.088 (88453213)|SYSTEM_MODE_ENTER|true
10:33:00.088 (88460253)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|showSearch
10:33:00.088 (88467797)|CODE_UNIT_FINISHED|showSearch
10:33:00.088 (88476643)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(showSearch)
10:33:00.088 (88506359)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(hidePb)
10:33:00.088 (88513043)|SYSTEM_MODE_ENTER|true
10:33:00.088 (88519872)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|hidePb
10:33:00.088 (88527185)|CODE_UNIT_FINISHED|hidePb
10:33:00.088 (88535954)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(hidePb)
10:33:00.088 (88648798)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOptions)
10:33:00.088 (88657007)|SYSTEM_MODE_ENTER|true
10:33:00.088 (88665924)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getsearchOptions)
10:33:00.088 (88698242)|SYSTEM_MODE_ENTER|false
10:33:00.088 (88719363)|SYSTEM_CONSTRUCTOR_ENTRY|[117]|<init>()
10:33:00.088 (88746603)|SYSTEM_CONSTRUCTOR_EXIT|[117]|<init>()
10:33:00.088 (88802396)|SYSTEM_METHOD_ENTRY|[118]|List<System.SelectOption>.add(Object)
10:33:00.088 (88830209)|SYSTEM_METHOD_EXIT|[118]|List<System.SelectOption>.add(Object)
10:33:00.088 (88948210)|METHOD_ENTRY|[1]|01pD000000145A6|ITV_AddGuestToEventHelperClass.ITV_AddGuestToEventHelperClass()
10:33:00.088 (88981293)|SYSTEM_CONSTRUCTOR_ENTRY|[4]|<init>(Integer)
10:33:00.089 (89002298)|SYSTEM_CONSTRUCTOR_EXIT|[4]|<init>(Integer)
10:33:00.089 (89017345)|METHOD_EXIT|[1]|ITV_AddGuestToEventHelperClass
10:33:00.148 (148923196)|METHOD_ENTRY|[119]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getViewExistingOptions()
10:33:00.149 (149000149)|SYSTEM_CONSTRUCTOR_ENTRY|[10]|<init>()
10:33:00.149 (149027818)|SYSTEM_CONSTRUCTOR_EXIT|[10]|<init>()
10:33:00.149 (149049579)|METHOD_ENTRY|[11]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.149 (149247035)|SYSTEM_METHOD_ENTRY|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.150 (150763921)|SYSTEM_METHOD_EXIT|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.150 (150779030)|METHOD_EXIT|[11]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.150 (150841299)|SYSTEM_METHOD_ENTRY|[11]|String.split(String)
10:33:00.150 (150872496)|SYSTEM_METHOD_EXIT|[11]|String.split(String)
10:33:00.150 (150889485)|METHOD_ENTRY|[12]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.150 (150910657)|SYSTEM_METHOD_ENTRY|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.150 (150941412)|SYSTEM_METHOD_EXIT|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.150 (150951890)|METHOD_EXIT|[12]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.150 (150982724)|SYSTEM_METHOD_ENTRY|[12]|System.debug(ANY)
10:33:00.150 (150990731)|USER_DEBUG|[12]|DEBUG|custom settings valueAll Contacts, ITV PLC
10:33:00.150 (150996745)|SYSTEM_METHOD_EXIT|[12]|System.debug(ANY)
10:33:00.151 (151042595)|SYSTEM_METHOD_ENTRY|[13]|String.valueOf(Object)
10:33:00.151 (151077418)|SYSTEM_METHOD_EXIT|[13]|String.valueOf(Object)
10:33:00.151 (151091444)|SYSTEM_METHOD_ENTRY|[13]|System.debug(ANY)
10:33:00.151 (151096806)|USER_DEBUG|[13]|DEBUG|strArray(All Contacts,  ITV PLC)
10:33:00.151 (151101417)|SYSTEM_METHOD_EXIT|[13]|System.debug(ANY)
10:33:00.151 (151112074)|METHOD_EXIT|[119]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getViewExistingOptions()
10:33:00.151 (151122993)|SYSTEM_METHOD_ENTRY|[119]|List<String>.iterator()
10:33:00.151 (151193099)|SYSTEM_METHOD_EXIT|[119]|List<String>.iterator()
10:33:00.151 (151206662)|SYSTEM_METHOD_ENTRY|[119]|system.ListIterator.hasNext()
10:33:00.151 (151227351)|SYSTEM_METHOD_EXIT|[119]|system.ListIterator.hasNext()
10:33:00.151 (151287676)|SYSTEM_METHOD_ENTRY|[120]|List<System.SelectOption>.add(Object)
10:33:00.151 (151313064)|SYSTEM_METHOD_EXIT|[120]|List<System.SelectOption>.add(Object)
10:33:00.151 (151321713)|SYSTEM_METHOD_ENTRY|[119]|system.ListIterator.hasNext()
10:33:00.151 (151333519)|SYSTEM_METHOD_EXIT|[119]|system.ListIterator.hasNext()
10:33:00.151 (151358163)|SYSTEM_METHOD_ENTRY|[120]|List<System.SelectOption>.add(Object)
10:33:00.151 (151373975)|SYSTEM_METHOD_EXIT|[120]|List<System.SelectOption>.add(Object)
10:33:00.151 (151381263)|SYSTEM_METHOD_ENTRY|[119]|system.ListIterator.hasNext()
10:33:00.151 (151391812)|SYSTEM_METHOD_EXIT|[119]|system.ListIterator.hasNext()
10:33:00.151 (151400751)|SYSTEM_MODE_EXIT|false
10:33:00.151 (151435941)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getsearchOptions)
10:33:00.151 (151460634)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOptions)
10:33:00.151 (151626669)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOptn)
10:33:00.151 (151637138)|SYSTEM_MODE_ENTER|true
10:33:00.151 (151649281)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchOptn
10:33:00.151 (151659753)|CODE_UNIT_FINISHED|searchOptn
10:33:00.151 (151670227)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOptn)
10:33:00.151 (151851606)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(SearchFieldOptions)
10:33:00.151 (151863922)|SYSTEM_MODE_ENTER|true
10:33:00.151 (151893880)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getSearchFieldOptions)
10:33:00.151 (151973966)|SYSTEM_MODE_ENTER|false
10:33:00.152 (152005735)|SYSTEM_CONSTRUCTOR_ENTRY|[125]|<init>()
10:33:00.152 (152035373)|SYSTEM_CONSTRUCTOR_EXIT|[125]|<init>()
10:33:00.152 (152076508)|SYSTEM_METHOD_ENTRY|[126]|List<System.SelectOption>.add(Object)
10:33:00.152 (152101332)|SYSTEM_METHOD_EXIT|[126]|List<System.SelectOption>.add(Object)
10:33:00.152 (152114402)|METHOD_ENTRY|[127]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getFieldSet()
10:33:00.152 (152136280)|SYSTEM_CONSTRUCTOR_ENTRY|[19]|<init>()
10:33:00.152 (152150676)|SYSTEM_CONSTRUCTOR_EXIT|[19]|<init>()
10:33:00.152 (152160411)|METHOD_ENTRY|[20]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.152 (152176438)|SYSTEM_METHOD_ENTRY|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.152 (152208120)|SYSTEM_METHOD_EXIT|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.152 (152218591)|METHOD_EXIT|[20]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.152 (152258932)|SYSTEM_METHOD_ENTRY|[20]|String.split(String)
10:33:00.152 (152281065)|SYSTEM_METHOD_EXIT|[20]|String.split(String)
10:33:00.152 (152293809)|METHOD_EXIT|[127]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getFieldSet()
10:33:00.152 (152302501)|SYSTEM_METHOD_ENTRY|[127]|List<String>.iterator()
10:33:00.152 (152310005)|SYSTEM_METHOD_EXIT|[127]|List<String>.iterator()
10:33:00.152 (152318132)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152330181)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152396377)|SYSTEM_METHOD_ENTRY|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152420976)|SYSTEM_METHOD_EXIT|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152429316)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152440785)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152473024)|SYSTEM_METHOD_ENTRY|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152484980)|SYSTEM_METHOD_EXIT|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152491808)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152501745)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152530429)|SYSTEM_METHOD_ENTRY|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152542238)|SYSTEM_METHOD_EXIT|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152549219)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152558862)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152587327)|SYSTEM_METHOD_ENTRY|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152598878)|SYSTEM_METHOD_EXIT|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152605750)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152615628)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152643351)|SYSTEM_METHOD_ENTRY|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152654812)|SYSTEM_METHOD_EXIT|[138]|List<System.SelectOption>.add(Object)
10:33:00.152 (152661547)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152671457)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152709842)|SYSTEM_METHOD_ENTRY|[130]|List<System.SelectOption>.add(Object)
10:33:00.152 (152732459)|SYSTEM_METHOD_EXIT|[130]|List<System.SelectOption>.add(Object)
10:33:00.152 (152740932)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152751627)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152791856)|SYSTEM_METHOD_ENTRY|[134]|List<System.SelectOption>.add(Object)
10:33:00.152 (152813593)|SYSTEM_METHOD_EXIT|[134]|List<System.SelectOption>.add(Object)
10:33:00.152 (152821826)|SYSTEM_METHOD_ENTRY|[127]|system.ListIterator.hasNext()
10:33:00.152 (152832555)|SYSTEM_METHOD_EXIT|[127]|system.ListIterator.hasNext()
10:33:00.152 (152840185)|SYSTEM_MODE_EXIT|false
10:33:00.152 (152858690)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getSearchFieldOptions)
10:33:00.152 (152871987)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(SearchFieldOptions)
10:33:00.152 (152951219)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchField)
10:33:00.152 (152959440)|SYSTEM_MODE_ENTER|true
10:33:00.152 (152978975)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchField
10:33:00.152 (152993665)|CODE_UNIT_FINISHED|searchField
10:33:00.153 (153010224)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchField)
10:33:00.153 (153164193)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOperatorOptions)
10:33:00.153 (153176498)|SYSTEM_MODE_ENTER|true
10:33:00.153 (153205466)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getsearchOperatorOptions)
10:33:00.153 (153252852)|SYSTEM_MODE_ENTER|false
10:33:00.153 (153266111)|SYSTEM_CONSTRUCTOR_ENTRY|[146]|<init>()
10:33:00.153 (153283297)|SYSTEM_CONSTRUCTOR_EXIT|[146]|<init>()
10:33:00.153 (153315405)|SYSTEM_METHOD_ENTRY|[147]|List<System.SelectOption>.add(Object)
10:33:00.153 (153338506)|SYSTEM_METHOD_EXIT|[147]|List<System.SelectOption>.add(Object)
10:33:00.153 (153351400)|METHOD_ENTRY|[148]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getOperators()
10:33:00.153 (153373087)|SYSTEM_CONSTRUCTOR_ENTRY|[25]|<init>()
10:33:00.153 (153387347)|SYSTEM_CONSTRUCTOR_EXIT|[25]|<init>()
10:33:00.153 (153396940)|METHOD_ENTRY|[26]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.153 (153412929)|SYSTEM_METHOD_ENTRY|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.153 (153444150)|SYSTEM_METHOD_EXIT|[31]|Contact_Search_Fieldset__c.getValues(String)
10:33:00.153 (153454903)|METHOD_EXIT|[26]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getContactSearchFieldset()
10:33:00.153 (153489490)|SYSTEM_METHOD_ENTRY|[26]|String.split(String)
10:33:00.153 (153509578)|SYSTEM_METHOD_EXIT|[26]|String.split(String)
10:33:00.153 (153522190)|METHOD_EXIT|[148]|01pD000000145A6|ITV_AddGuestToEventHelperClass.getOperators()
10:33:00.153 (153531099)|SYSTEM_METHOD_ENTRY|[148]|List<String>.iterator()
10:33:00.153 (153538418)|SYSTEM_METHOD_EXIT|[148]|List<String>.iterator()
10:33:00.153 (153546037)|SYSTEM_METHOD_ENTRY|[148]|system.ListIterator.hasNext()
10:33:00.153 (153557848)|SYSTEM_METHOD_EXIT|[148]|system.ListIterator.hasNext()
10:33:00.153 (153589967)|SYSTEM_METHOD_ENTRY|[149]|List<System.SelectOption>.add(Object)
10:33:00.153 (153612172)|SYSTEM_METHOD_EXIT|[149]|List<System.SelectOption>.add(Object)
10:33:00.153 (153620147)|SYSTEM_METHOD_ENTRY|[148]|system.ListIterator.hasNext()
10:33:00.153 (153630744)|SYSTEM_METHOD_EXIT|[148]|system.ListIterator.hasNext()
10:33:00.153 (153649948)|SYSTEM_METHOD_ENTRY|[149]|List<System.SelectOption>.add(Object)
10:33:00.153 (153660570)|SYSTEM_METHOD_EXIT|[149]|List<System.SelectOption>.add(Object)
10:33:00.153 (153667171)|SYSTEM_METHOD_ENTRY|[148]|system.ListIterator.hasNext()
10:33:00.153 (153676424)|SYSTEM_METHOD_EXIT|[148]|system.ListIterator.hasNext()
10:33:00.153 (153683695)|SYSTEM_MODE_EXIT|false
10:33:00.153 (153701476)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getsearchOperatorOptions)
10:33:00.153 (153714840)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOperatorOptions)
10:33:00.153 (153792478)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOperator)
10:33:00.153 (153800768)|SYSTEM_MODE_ENTER|true
10:33:00.153 (153808673)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchOperator
10:33:00.153 (153816897)|CODE_UNIT_FINISHED|searchOperator
10:33:00.153 (153826885)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOperator)
10:33:00.153 (153900006)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchVal)
10:33:00.153 (153907964)|SYSTEM_MODE_ENTER|true
10:33:00.153 (153915652)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchVal
10:33:00.153 (153923630)|CODE_UNIT_FINISHED|searchVal
10:33:00.153 (153933136)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchVal)
10:33:00.154 (154035568)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchField2)
10:33:00.154 (154044792)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154052174)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchField2
10:33:00.154 (154063392)|CODE_UNIT_FINISHED|searchField2
10:33:00.154 (154073553)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchField2)
10:33:00.154 (154171847)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOperator2)
10:33:00.154 (154180146)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154187039)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchOperator2
10:33:00.154 (154194675)|CODE_UNIT_FINISHED|searchOperator2
10:33:00.154 (154205291)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOperator2)
10:33:00.154 (154278986)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchVal2)
10:33:00.154 (154287168)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154294644)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchVal2
10:33:00.154 (154302126)|CODE_UNIT_FINISHED|searchVal2
10:33:00.154 (154311668)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchVal2)
10:33:00.154 (154414892)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchField3)
10:33:00.154 (154423132)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154430685)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchField3
10:33:00.154 (154438538)|CODE_UNIT_FINISHED|searchField3
10:33:00.154 (154448244)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchField3)
10:33:00.154 (154545055)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOperator3)
10:33:00.154 (154553141)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154560488)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchOperator3
10:33:00.154 (154568145)|CODE_UNIT_FINISHED|searchOperator3
10:33:00.154 (154577710)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOperator3)
10:33:00.154 (154643064)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchVal3)
10:33:00.154 (154650875)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154658049)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchVal3
10:33:00.154 (154665507)|CODE_UNIT_FINISHED|searchVal3
10:33:00.154 (154675073)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchVal3)
10:33:00.154 (154773155)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchField4)
10:33:00.154 (154781373)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154788549)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchField4
10:33:00.154 (154796178)|CODE_UNIT_FINISHED|searchField4
10:33:00.154 (154806036)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchField4)
10:33:00.154 (154903908)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOperator4)
10:33:00.154 (154911701)|SYSTEM_MODE_ENTER|true
10:33:00.154 (154918864)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchOperator4
10:33:00.154 (154926504)|CODE_UNIT_FINISHED|searchOperator4
10:33:00.154 (154935987)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOperator4)
10:33:00.154 (154998832)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchVal4)
10:33:00.155 (155006454)|SYSTEM_MODE_ENTER|true
10:33:00.155 (155014375)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchVal4
10:33:00.155 (155021821)|CODE_UNIT_FINISHED|searchVal4
10:33:00.155 (155031532)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchVal4)
10:33:00.155 (155178326)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchField5)
10:33:00.155 (155186636)|SYSTEM_MODE_ENTER|true
10:33:00.155 (155194458)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchField5
10:33:00.155 (155202436)|CODE_UNIT_FINISHED|searchField5
10:33:00.155 (155212753)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchField5)
10:33:00.155 (155321101)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchOperator5)
10:33:00.155 (155329384)|SYSTEM_MODE_ENTER|true
10:33:00.155 (155336499)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchOperator5
10:33:00.155 (155344286)|CODE_UNIT_FINISHED|searchOperator5
10:33:00.155 (155353885)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchOperator5)
10:33:00.155 (155418391)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(searchVal5)
10:33:00.155 (155426150)|SYSTEM_MODE_ENTER|true
10:33:00.155 (155433200)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|searchVal5
10:33:00.155 (155440474)|CODE_UNIT_FINISHED|searchVal5
10:33:00.155 (155449915)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(searchVal5)
10:33:00.155 (155618295)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(renderContactTabel)
10:33:00.155 (155626556)|SYSTEM_MODE_ENTER|true
10:33:00.155 (155634224)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|renderContactTabel
10:33:00.155 (155643015)|CODE_UNIT_FINISHED|renderContactTabel
10:33:00.155 (155652893)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController

 
Abraham kumar 4Abraham kumar 4
Debug log Cont:-
get(renderContactTabel)
10:33:00.156 (156901583)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.156 (156921757)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.156 (156984643)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.156 (156995469)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157053249)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157064316)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157121737)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157131819)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157188163)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157198631)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157259761)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157269853)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157326384)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157336505)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157392665)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157402765)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157459227)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157469081)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157525202)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157535153)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157591340)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157601526)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157657793)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157667656)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157724283)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|idcheckbox
10:33:00.157 (157734331)|CODE_UNIT_FINISHED|idcheckbox
10:33:00.157 (157797482)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(renderGuestTabel)
10:33:00.157 (157805936)|SYSTEM_MODE_ENTER|true
10:33:00.157 (157813771)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|renderGuestTabel
10:33:00.157 (157822294)|CODE_UNIT_FINISHED|renderGuestTabel
10:33:00.157 (157832323)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(renderGuestTabel)
10:33:00.157 (157885498)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(GuestDisablePrevious)
10:33:00.157 (157893554)|SYSTEM_MODE_ENTER|true
10:33:00.157 (157902867)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getGuestDisablePrevious)
10:33:00.157 (157928709)|SYSTEM_MODE_ENTER|false
10:33:00.157 (157938318)|SYSTEM_MODE_EXIT|false
10:33:00.157 (157948762)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getGuestDisablePrevious)
10:33:00.157 (157961386)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(GuestDisablePrevious)
10:33:00.158 (158025014)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(GuestdisablePrevious)
10:33:00.158 (158034147)|SYSTEM_MODE_ENTER|true
10:33:00.158 (158043294)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getGuestdisablePrevious)
10:33:00.158 (158065605)|SYSTEM_MODE_ENTER|false
10:33:00.158 (158073328)|SYSTEM_MODE_EXIT|false
10:33:00.158 (158082889)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getGuestdisablePrevious)
10:33:00.158 (158094026)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(GuestdisablePrevious)
10:33:00.158 (158148042)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(GuestdisableNext)
10:33:00.158 (158155654)|SYSTEM_MODE_ENTER|true
10:33:00.158 (158164354)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController invoke(getGuestdisableNext)
10:33:00.158 (158186744)|SYSTEM_MODE_ENTER|false
10:33:00.158 (158197028)|SYSTEM_MODE_EXIT|false
10:33:00.158 (158205911)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController invoke(getGuestdisableNext)
10:33:00.158 (158217102)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(GuestdisableNext)
10:33:00.158 (158705935)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOptn,None)
10:33:00.158 (158714859)|SYSTEM_MODE_ENTER|true
10:33:00.158 (158725876)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOptn,None)
10:33:00.158 (158757315)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOptn,None)
10:33:00.158 (158770277)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOptn,None)
10:33:00.158 (158805498)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField, Phone)
10:33:00.158 (158812877)|SYSTEM_MODE_ENTER|true
10:33:00.158 (158821535)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField, Phone)
10:33:00.158 (158841743)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField, Phone)
10:33:00.158 (158853515)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField, Phone)
10:33:00.158 (158887447)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator,Equals)
10:33:00.158 (158894577)|SYSTEM_MODE_ENTER|true
10:33:00.158 (158906320)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator,Equals)
10:33:00.158 (158926647)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator,Equals)
10:33:00.158 (158938369)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator,Equals)
10:33:00.158 (158974662)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal,8888)
10:33:00.158 (158981869)|SYSTEM_MODE_ENTER|true
10:33:00.158 (158990372)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal,8888)
10:33:00.159 (159009550)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal,8888)
10:33:00.159 (159022247)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal,8888)
10:33:00.159 (159054961)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.159 (159061920)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159070237)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.159 (159089284)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.159 (159100774)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.159 (159132210)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.159 (159139067)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159147386)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.159 (159166304)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.159 (159177730)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.159 (159209954)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.159 (159216839)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159229707)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.159 (159249346)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.159 (159260910)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.159 (159294033)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.159 (159301002)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159309254)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.159 (159328446)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.159 (159340037)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.159 (159372682)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.159 (159379550)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159387774)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.159 (159406834)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.159 (159417995)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.159 (159450071)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.159 (159456997)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159465152)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.159 (159484085)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.159 (159495293)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.159 (159527809)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.159 (159534557)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159542819)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.159 (159562062)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.159 (159573325)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.159 (159605608)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.159 (159612622)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159620865)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.159 (159639603)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.159 (159650904)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.159 (159709103)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.159 (159720426)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159736325)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.159 (159763137)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.159 (159775441)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.159 (159809564)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.159 (159816909)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159825327)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.159 (159844629)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.159 (159855909)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.159 (159888264)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.159 (159895188)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159903440)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.159 (159922188)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.159 (159933497)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.159 (159965623)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.159 (159972601)|SYSTEM_MODE_ENTER|true
10:33:00.159 (159980820)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.159 (159999561)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.160 (160011067)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.160 (160110100)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(renderContactTabel)
10:33:00.160 (160118325)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160126165)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|renderContactTabel
10:33:00.160 (160134702)|CODE_UNIT_FINISHED|renderContactTabel
10:33:00.160 (160144917)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(renderContactTabel)
10:33:00.160 (160182915)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(hideSearch)
10:33:00.160 (160190109)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160197514)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|hideSearch
10:33:00.160 (160205266)|CODE_UNIT_FINISHED|hideSearch
10:33:00.160 (160214340)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(hideSearch)
10:33:00.160 (160249114)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(showSearch)
10:33:00.160 (160256193)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160263074)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|showSearch
10:33:00.160 (160270814)|CODE_UNIT_FINISHED|showSearch
10:33:00.160 (160279748)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(showSearch)
10:33:00.160 (160308400)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|ITV_AddGuestToEventController get(hidePb)
10:33:00.160 (160315134)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160321947)|CODE_UNIT_STARTED|[EXTERNAL]|01pD000000145A4|hidePb
10:33:00.160 (160329469)|CODE_UNIT_FINISHED|hidePb
10:33:00.160 (160338338)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController get(hidePb)
10:33:00.160 (160372383)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField,None)
10:33:00.160 (160379194)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160387862)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField,None)
10:33:00.160 (160407480)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField,None)
10:33:00.160 (160419011)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField,None)
10:33:00.160 (160450230)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator,None)
10:33:00.160 (160457233)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160477933)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator,None)
10:33:00.160 (160510873)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator,None)
10:33:00.160 (160529437)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator,None)
10:33:00.160 (160580058)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal,)
10:33:00.160 (160591468)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160606822)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal,)
10:33:00.160 (160629997)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal,)
10:33:00.160 (160642320)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal,)
10:33:00.160 (160674036)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.160 (160680875)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160689231)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.160 (160707787)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.160 (160719140)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField2,None)
10:33:00.160 (160748803)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.160 (160755476)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160763807)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.160 (160782163)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.160 (160793271)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator2,None)
10:33:00.160 (160823213)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.160 (160829942)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160838196)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.160 (160856293)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.160 (160867399)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal2,)
10:33:00.160 (160897981)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.160 (160904625)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160912932)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.160 (160931783)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.160 (160942986)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField3,None)
10:33:00.160 (160972867)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.160 (160979429)|SYSTEM_MODE_ENTER|true
10:33:00.160 (160987772)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.161 (161006410)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.161 (161018436)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator3,None)
10:33:00.161 (161048525)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.161 (161055226)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161063676)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.161 (161082286)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.161 (161093239)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal3,)
10:33:00.161 (161124217)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.161 (161130991)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161139470)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.161 (161158194)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.161 (161169165)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField4,None)
10:33:00.161 (161199489)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.161 (161206230)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161214369)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.161 (161237543)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.161 (161249422)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator4,None)
10:33:00.161 (161279281)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.161 (161286087)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161294533)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.161 (161313084)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.161 (161324142)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal4,)
10:33:00.161 (161354812)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.161 (161361694)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161370130)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.161 (161388945)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.161 (161400113)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchField5,None)
10:33:00.161 (161430408)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.161 (161436979)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161445247)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.161 (161463943)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.161 (161474864)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchOperator5,None)
10:33:00.161 (161505099)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.161 (161511878)|SYSTEM_MODE_ENTER|true
10:33:00.161 (161520133)|CODE_UNIT_STARTED|[EXTERNAL]|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.161 (161538369)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.161 (161549458)|CODE_UNIT_FINISHED|ITV_AddGuestToEventController set(searchVal5,)
10:33:00.162 (162008048)|CODE_UNIT_STARTED|[EXTERNAL]|guestWrapper set(idcheckbox,false)
10:33:00.162 (162033888)|CODE_UNIT_FINISHED|guestWrapper

 
Abraham kumar 4Abraham kumar 4
Hi Amit,
Not able to attach the wrapper class. Pls can u let me know ur mailid so i can mail it. Many Thanks!

Abraham