Package com.jeecms.cms.entity.main

Examples of com.jeecms.cms.entity.main.ContentExt


@Repository
public class ContentExtDaoImpl extends HibernateBaseDao<ContentExt, Integer>
    implements ContentExtDao {
  public ContentExt findById(Integer id) {
    ContentExt entity = get(id);
    return entity;
  }
View Full Code Here


      return FrontUtils.showError(request, response, model, errors);
    }

    Content c = new Content();
    c.setSite(site);
    ContentExt ext = new ContentExt();
    ext.setTitle(title);
    ext.setAuthor(author);
    ext.setDescription(description);
    ContentTxt t = new ContentTxt();
    t.setTxt(txt);
    ContentType type = contentTypeMng.getDef();
    if (type == null) {
      throw new RuntimeException("Default ContentType not found.");
View Full Code Here

      return FrontUtils.showError(request, response, model, errors);
    }
    Content c = new Content();
    c.setId(id);
    c.setSite(site);
    ContentExt ext = new ContentExt();
    ext.setId(id);
    ext.setTitle(title);
    ext.setAuthor(author);
    ext.setDescription(description);
    ContentTxt t = new ContentTxt();
    t.setId(id);
    t.setTxt(txt);
    String[] tagArr = StrUtils.splitAndTrim(tagStr, ",", null);
    contentMng.update(c, ext, t, tagArr, null, null, null, null, null,
View Full Code Here

      AcquisitionResultType resultType, CmsAcquisitionTemp temp,
      CmsAcquisitionHistory history) {
    CmsAcquisition acqu = findById(acquId);
    Content c = new Content();
    c.setSite(acqu.getSite());
    ContentExt cext = new ContentExt();
    ContentTxt ctxt = new ContentTxt();
    cext.setTitle(title);
    ctxt.setTxt(txt);
    Content content = contentMng.save(c, cext, ctxt, null, null, null,
        null, null, null, null, null, null, acqu.getChannel().getId(),
        acqu.getType().getId(), false, acqu.getUser(), false);
    history.setTitle(title);
View Full Code Here

TOP

Related Classes of com.jeecms.cms.entity.main.ContentExt

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.