Package de.xanders.data.customer.dao

Examples of de.xanders.data.customer.dao.Contact


    /**
     * @see ContactService#getContactById(java.lang.Long)
     */
    protected ContactVO handleGetContactById(java.lang.Long contactId)
        throws java.lang.Exception {
      Contact contact = this.getContactDao().load(contactId);
      return this.getContactDao().toContactVO(contact);
    }
View Full Code Here


    /**
     * @see ContactService#saveContact(ContactVO)
     */
    protected ContactVO handleSaveContact(ContactVO contactVO)
        throws java.lang.Exception {
      Contact contact = this.getContactDao().contactVOToEntity(contactVO);
        if (contact.getContactId() == null) {
            contact = this.getContactDao().create(contact);
            contactVO.setContactId(contact.getContactId());
        }
        else {
            this.getContactDao().update(contact);           
       
        return contactVO;
View Full Code Here

TOP

Related Classes of de.xanders.data.customer.dao.Contact

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.