Package org.timedex.beans

Examples of org.timedex.beans.Revision


      .list();
    return result;
  }
 
  public PageText findByPage(Page p) {
    Revision result = (Revision)getCurrentSession()
      .createCriteria(Revision.class)
      .add(Restrictions.eq("page", p))
      .uniqueResult();
    if(result == null)
      return null;
    return result.getText();
  }
View Full Code Here


import org.timedex.dao.interfaces.RevisionDAO;

public class RevisionDAOImpl extends AbstractDAOImpl<Revision> implements RevisionDAO {

  public Revision findByPage(Page page) {
    Revision result = (Revision)getCurrentSession()
      .createCriteria(Revision.class)
      .add(Restrictions.eq("page", page))
      .uniqueResult();
    return result;
  }
View Full Code Here

TOP

Related Classes of org.timedex.beans.Revision

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.