com.ibm.portal
Interface TimeStampedResourceLocator<E>

All Superinterfaces:
Locator<E>
All Known Subinterfaces:
PortletDefinitionLocator<T>

public interface TimeStampedResourceLocator<E>
extends Locator<E>

A locator to find resources that provide time stamped information. The timestamps are provided by the TimeStamped interface.

Since:
8.0.0.1
See Also:
TimeStamped

Method Summary
 ListModel<E> findAllCreatedAfter(java.util.Date aDate)
          Collects all elements of the model that were created after the given date for the model this locator operates on.
 ListModel<E> findAllCreatedBefore(java.util.Date aDate)
          Collects all elements of the model that were created before the given date for the model this locator operates on.
 ListModel<E> findAllModifiedAfter(java.util.Date aDate)
          Collects all elements of the model that were modified after the given date for the model this locator operates on.
 ListModel<E> findAllModifiedBefore(java.util.Date aDate)
          Collects all elements of the model that were modified before the given date for the model this locator operates on.
 
Methods inherited from interface com.ibm.portal.Locator
findByID, findByUniqueName
 

Method Detail

findAllCreatedAfter

ListModel<E> findAllCreatedAfter(java.util.Date aDate)
Collects all elements of the model that were created after the given date for the model this locator operates on. The elements searched on must implement the TimeStamped interface.

Parameters:
aDate - the reference date
Returns:
a list model holding the elements of the model that were created after the given date

findAllCreatedBefore

ListModel<E> findAllCreatedBefore(java.util.Date aDate)
Collects all elements of the model that were created before the given date for the model this locator operates on. The elements searched on must implement the TimeStamped interface.

Parameters:
aDate - the reference date
Returns:
a list model holding the elements of the model that were created before the given date

findAllModifiedAfter

ListModel<E> findAllModifiedAfter(java.util.Date aDate)
Collects all elements of the model that were modified after the given date for the model this locator operates on. The elements searched on must implement the TimeStamped interface.

Parameters:
aDate - the reference date
Returns:
a list model holding the elements of the model that were modified after the given date

findAllModifiedBefore

ListModel<E> findAllModifiedBefore(java.util.Date aDate)
Collects all elements of the model that were modified before the given date for the model this locator operates on. The elements searched on must implement the TimeStamped interface.

Parameters:
aDate - the reference date
Returns:
a list model holding the elements of the model that were modified before the given date