Package org.opencustomer.db.vo.crm.custom

Examples of org.opencustomer.db.vo.crm.custom.PersonListVO


        return count;
    }

    private void addEntity(List<PersonListVO> list, Object[] columns)
    {
        PersonListVO vo = new PersonListVO();

        vo.setPersonId((Integer) columns[0]);
        vo.setFirstName((String) columns[1]);
        vo.setLastName((String) columns[2]);
        vo.setPhone((String) columns[3]);
        vo.setFax((String) columns[4]);
        vo.setMobile((String) columns[5]);
        vo.setEmail((String) columns[6]);

        vo.setCompanyName((String) columns[7]);
        if(columns[8] != null)
            vo.setType((PersonVO.Type)columns[8]);

        if (columns[9] != null)
            vo.setUser(true);
        else
            vo.setUser(false);
        vo.setUserId((Integer) columns[9    ]);
       
        list.add(vo);
    }
View Full Code Here

TOP

Related Classes of org.opencustomer.db.vo.crm.custom.PersonListVO

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.