Examples of CmsRole


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

    String hql = "from CmsRole bean order by bean.priority asc";
    return find(hql);
  }

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

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

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

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

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

    return dao.getList();
  }

  @Transactional(readOnly = true)
  public CmsRole findById(Integer id) {
    CmsRole entity = dao.findById(id);
    return entity;
  }
View Full Code Here

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

    bean.setPerms(perms);
    return bean;
  }

  public CmsRole deleteById(Integer id) {
    CmsRole bean = dao.deleteById(id);
    return bean;
  }
View Full Code Here

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

  private boolean vldExist(Integer id, WebErrors errors) {
    if (errors.ifNull(id, "id")) {
      return true;
    }
    CmsRole entity = manager.findById(id);
    if (errors.ifNotExist(entity, CmsRole.class, id)) {
      return true;
    }
    return false;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.