Package com.centraview.contact.helper

Examples of com.centraview.contact.helper.ContactHelperLocal.entityMove()


      int marketingListID = Integer.parseInt(fieldValue);
      if(marketingListID != 0 && entityIDs.length != ){
        // Reason for adminIndividualID to set as -1. We know that admin is a super user
        // he can move any thing. thats why its hard coded to -1
        int adminIndividualID = -1;
        contactHelperLocal.entityMove(adminIndividualID, marketingListID, entityIDs );
      }//end of if(marketingListID != 0 && entityIDs.length != 0  )     
    }//end of if(displayName != null && displayName.equals("Marketing List") && queryTableID != 0)

    // inserting the batched query to the database.
    int[] batchResult = cvdal.batchProcess(batchQuery);
View Full Code Here


    {
      InitialContext ic = CVUtility.getInitialContext();
      ContactHelperLocalHome home = (ContactHelperLocalHome)ic.lookup("local/ContactHelper");
      ContactHelperLocal remote =  home.create();
      remote.setDataSource(this.dataSource);
      remote.entityMove(individualId, listId, entityIDs );
    }catch(Exception e){
      System.out.println("[Exception][ContactFacadeEJB.deleteEntity] Exception Thrown: "+e);
      //e.printStackTrace();
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.