Returns all the commerce notification queue entries where sentDate &lt; &#63;.

@param sentDate the sent date
@return the matching commerce notification queue entries
342030
@Override
	public List<CommerceNotificationQueueEntry> findByLtS(Date sentDate) {
		return findByLtS(sentDate, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
362291
public CostRateTableEntry getEntryByDate(Date date)
   {
      CostRateTableEntry result = null;

      for (CostRateTableEntry entry : this)
      {
         if (DateHelper.compare(date, entry.getEndDate()) < 0)
         {
            result = entry;
            break;
         }
      }

      return result;
   }
272881
private long getParsedDate(String encodedDate) {
		try {
			return dateFormat.parse(dateFormat.format(dateFormat.parseObject(encodedDate.replaceAll("Z$", "+0000")))).getTime();
		}
		catch (ParseException e) {
			log(TAG, "Error parsing date " + encodedDate, Log.WARN);
			e.printStackTrace();
			return 0;
		}
	}
1322255
public PushedNotifications getFailedNotifications() {
		PushedNotifications filteredList = new PushedNotifications(this);
		for (PushedNotification notification : this) {
			if (!notification.isSuccessful()) {
				filteredList.add(notification);
			}
		}
		return filteredList;
	}
915305
def GetNotifications(self, queue):
    """"""
    queue_shard = self.GetNotificationShard(queue)
    return self._GetUnsortedNotifications(queue_shard).values()
1315992
public static List<CPInstance> findByLtD_S(Date displayDate, int status) {
		return getPersistence().findByLtD_S(displayDate, status);
	}
71898
public Iterable<DConnection> queryByUpdatedDate(java.util.Date updatedDate) {
    return queryByField(null, DConnectionMapper.Field.UPDATEDDATE.getFieldName(), updatedDate);
  }
798153
@Override
	public List<CommerceNotificationTemplateUserSegmentRel> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
292703
public List<Notification> getBySource(Object source) {
        List<Notification> found = new ArrayList<Notification>();
        for (Notification n: NotificationManager.notifications)
            if (n.getSource().equals(source)) {
                logger.fine("...found a match for getBySource query. With source: "+source);
                found.add(n);
            }
        if(found.size()>0)        
            return found;
        return null;
    }
587305
public static List<CommerceDiscount> findByLtE_S(Date expirationDate,
		int status) {
		return getPersistence().findByLtE_S(expirationDate, status);
	}
474164
public List<String> getNotificationMessage(Notification notification) {
        List<String> message = notification.getMessage();

        if (message == null) {
            message = broker.callRPCList("RGCWXQ ALRMSG", null, notification.getAlertId());
            notification.setMessage(message);
        }

        return message;
    }
641639
public static List<CommerceOrder> findByU_LtC_O(long userId,
		Date createDate, int orderStatus) {
		return getPersistence().findByU_LtC_O(userId, createDate, orderStatus);
	}
865137
public List<String> getScheduledNotificationMessage(ScheduledNotification notification) {
        return broker.callRPCList("RGCWXQ SCHMSG", null, notification.getIen());
    }
1077114
public static Date parseDate(String date, String pattern) {
        try {
            return org.apache.commons.lang.time.DateUtils.parseDate(date, new String[] {pattern});
        } catch (ParseException e) {
            return null;
        }
    }
1109017
public void getScheduledNotifications(Collection<ScheduledNotification> result) {
        List<String> lst = broker.callRPCList("RGCWXQ SCHLIST", null, scheduledPrefix);
        result.clear();

        for (String data : lst) {
            result.add(new ScheduledNotification(data));
        }
    }
3675
def pending_confirmations(self):
        
        return sorted([(idx, msg)
                       for idx, msg in enumerate(self.published_messages)
                       if not msg.future.done()],
                      key=lambda x: x[1].delivery_tag)
917824
@Override
	public int countByLtS(Date sentDate) {
		FinderPath finderPath = FINDER_PATH_WITH_PAGINATION_COUNT_BY_LTS;

		Object[] finderArgs = new Object[] { _getTime(sentDate) };

		Long count = (Long)finderCache.getResult(finderPath, finderArgs, this);

		if (count == null) {
			StringBundler query = new StringBundler(2);

			query.append(_SQL_COUNT_COMMERCENOTIFICATIONQUEUEENTRY_WHERE);

			boolean bindSentDate = false;

			if (sentDate == null) {
				query.append(_FINDER_COLUMN_LTS_SENTDATE_1);
			}
			else {
				bindSentDate = true;

				query.append(_FINDER_COLUMN_LTS_SENTDATE_2);
			}

			String sql = query.toString();

			Session session = null;

			try {
				session = openSession();

				Query q = session.createQuery(sql);

				QueryPos qPos = QueryPos.getInstance(q);

				if (bindSentDate) {
					qPos.add(new Timestamp(sentDate.getTime()));
				}

				count = (Long)q.uniqueResult();

				finderCache.putResult(finderPath, finderArgs, count);
			}
			catch (Exception e) {
				finderCache.removeResult(finderPath, finderArgs);

				throw processException(e);
			}
			finally {
				closeSession(session);
			}
		}

		return count.intValue();
	}