Package com.jeecms.cms.entity.assist

Examples of com.jeecms.cms.entity.assist.CmsGuestbookExt


    return ext;
  }

  public CmsGuestbookExt update(CmsGuestbookExt ext) {
    Updater<CmsGuestbookExt> updater = new Updater<CmsGuestbookExt>(ext);
    CmsGuestbookExt entity = dao.updateByUpdater(updater);
    entity.blankToNull();
    return entity;
  }
View Full Code Here


      String phone, String qq) {
    CmsGuestbook guestbook = new CmsGuestbook();
    guestbook.setMember(member);
    guestbook.setSite(cmsSiteMng.findById(siteId));
    guestbook.setIp(ip);
    CmsGuestbookExt ext = new CmsGuestbookExt();
    ext.setTitle(title);
    ext.setContent(content);
    ext.setEmail(email);
    ext.setPhone(phone);
    ext.setQq(qq);
    return save(guestbook, ext, ctgId, ip);
  }
View Full Code Here

public class CmsGuestbookExtDaoImpl extends
    HibernateBaseDao<CmsGuestbookExt, Integer> implements
    CmsGuestbookExtDao {

  public CmsGuestbookExt findById(Integer id) {
    CmsGuestbookExt entity = get(id);
    return entity;
  }
View Full Code Here

    getSession().save(bean);
    return bean;
  }

  public CmsGuestbookExt deleteById(Integer id) {
    CmsGuestbookExt entity = super.get(id);
    if (entity != null) {
      getSession().delete(entity);
    }
    return entity;
  }
View Full Code Here

TOP

Related Classes of com.jeecms.cms.entity.assist.CmsGuestbookExt

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.