Examples of deleteGroupMember()


Examples of com.centraview.contact.contactfacade.ContactFacade.deleteGroupMember()

      ContactFacadeHome aa = (ContactFacadeHome)CVUtility.getHomeObject(
          "com.centraview.contact.contactfacade.ContactFacadeHome", "ContactFacade");
      ContactFacade remote = aa.create();
      remote.setDataSource(dataSource);
      for (int j = 0; j < memberIds.length; j++) {
        remote.deleteGroupMember(memberIds[j], groupId);
      }
    } catch (Exception e) {
      logger.error("[execute] Exception thrown.", e);
      throw new ServletException(e);
    }
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteGroupMember()

    try
    {
      int elementID = Integer.parseInt(key);
      ContactFacade remote = (ContactFacade) contactFacadeHome.create();
      remote.setDataSource(this.dataSource);
      remote.deleteGroupMember(new Integer(key).intValue(), groupid);
      this.setDirtyFlag(true);

      ListGenerator lg = ListGenerator.getListGenerator(dataSource);
      lg.makeListDirty("Group");
    }
View Full Code Here

Examples of com.centraview.contact.contactfacade.ContactFacade.deleteGroupMember()

      for (int i=0; i<recordID.length; i++)
      {
        if(recordID[i] != null && !recordID[i].equals("")){
          int elementID = Integer.parseInt(recordID[i]);
          try{
          remote.deleteGroupMember(elementID, groupid);
          }//end of try block
          catch(AuthorizationFailedException ae){
            String errorMessage = ae.getExceptionDescription();
            resultDeleteLog.add(errorMessage);
          }//end of catch block
View Full Code Here

Examples of com.centraview.contact.group.GroupLocal.deleteGroupMember()

    try {
      InitialContext ic = CVUtility.getInitialContext();
      GroupLocalHome home = (GroupLocalHome)ic.lookup("local/Group");
      GroupLocal remote = home.create();
      remote.setDataSource(this.dataSource);
      remote.deleteGroupMember(groupId, groupMemberId);
    } catch (NamingException re) {
      throw new EJBException(re);
    } catch (CreateException ce) {
      throw new EJBException(ce);
    }
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.