Package com.jeecms.cms.entity.assist

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


@Service
@Transactional
public class CmsCommentExtMngImpl implements CmsCommentExtMng {
  public CmsCommentExt save(String ip, String text, CmsComment comment) {
    CmsCommentExt ext = new CmsCommentExt();
    ext.setText(text);
    ext.setIp(ip);
    ext.setComment(comment);
    comment.setCommentExt(ext);
    dao.save(ext);
    return ext;
  }
View Full Code Here


    Pagination page = findByCriteria(crit, pageNo, pageSize);
    return page;
  }

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

    return getSession().createQuery(hql).setParameter("contentId",
        contentId).executeUpdate();
  }

  public CmsCommentExt deleteById(Integer id) {
    CmsCommentExt 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.CmsCommentExt

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.