/**
  * Method removeICByPKs removes InterestCenter objects corresponding to PKs from given ArrayList
  */
 public void removeICByPKs(String[] iDs) throws RemoteException {
   initEJB();
   List<Integer> pkToRemove = new ArrayList<Integer>();
   for (String id : iDs) {
     pkToRemove.add(Integer.valueOf(id));
   }
   icEjb.removeICByPK(pkToRemove);
 }
 /** Method updateIC updates existing InterestCenter */
 public void updateIC(InterestCenter icToUpdate) throws RemoteException {
   initEJB();
   icEjb.updateIC(icToUpdate);
 }
 /** Method createIC creates new InterestCenter */
 public void createIC(InterestCenter icToCreate) throws RemoteException {
   initEJB();
   icEjb.createIC(icToCreate);
 }
 /** Method getICByPK returns InterestCenter object by pk */
 public InterestCenter getICByPK(int pk) throws RemoteException {
   initEJB();
   return icEjb.getICByID(pk);
 }
 /**
  * Method getICByUserId returns ArrayList of all InterestCenter objects for user given by userId
  */
 public List<InterestCenter> getICByUserId() throws RemoteException {
   initEJB();
   return icEjb.getICByUserID(Integer.parseInt(getUserId()));
 }
 /** Method removeICByPK removes InterestCenter object corresponding to given PK */
 public void removeICByPK(int pk) throws RemoteException {
   initEJB();
   icEjb.removeICByPK(pk);
 }