Ejemplo n.º 1
0
  protected static java.util.List findByQuestionId(
      java.lang.String questionId,
      int begin,
      int end,
      com.liferay.util.dao.hibernate.OrderByComparator obc)
      throws com.liferay.portal.SystemException {
    PollsDisplayPersistence persistence = (PollsDisplayPersistence) InstancePool.get(PERSISTENCE);

    return persistence.findByQuestionId(questionId, begin, end, obc);
  }
Ejemplo n.º 2
0
  protected static java.util.List findByQuestionId(java.lang.String questionId)
      throws com.liferay.portal.SystemException {
    PollsDisplayPersistence persistence = (PollsDisplayPersistence) InstancePool.get(PERSISTENCE);

    return persistence.findByQuestionId(questionId);
  }