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

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

    return persistence.findByUserId(userId, begin, end);
  }