Package org.jallinone.contacts.java

Examples of org.jallinone.contacts.java.GridContactVO


      if (res.isError())
        throw new Exception(res.getErrorMessage());

      java.util.List rows = ((VOListResponse)res).getRows();
      GridContactVO vo = null;
      Response contactRes = null;
      SubjectVO subVO = null;
      OrganizationVO orgVO = null;

      for(int i=0;i<rows.size();i++) {
        vo = (GridContactVO)rows.get(i);
        if (vo.getProgressiveReg04REG04()!=null) {
          subVO = new SubjectVO(
              vo.getCompanyCodeSys01REG04(),
              vo.getProgressiveReg04REG04(),
              null, // it's not very good...
              null, // it's not very good...
              ApplicationConsts.SUBJECT_ORGANIZATION_CONTACT
          );
          contactRes = bean.loadContact(subVO,serverLanguageId,username);
          if (contactRes.isError())
            throw new Exception(contactRes.getErrorMessage());
          orgVO = (OrganizationVO)((VOResponse)contactRes).getVo();
          vo.setOrganizationName_1REG04(orgVO.getName_1REG04());
        }
      }

      return (VOListResponse)res;
    }
View Full Code Here

TOP

Related Classes of org.jallinone.contacts.java.GridContactVO

Copyright © 2018 www.massapicom. 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.