|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceLocator<T>
Generic locator that allows to search for nodes by a referenced
ObjectID
, e. g. the
TagLocator allows to search for tags
by their referenced resource's ObjectID
.
Method Summary | |
---|---|
CountableIterablePagedListModel<T> |
findByResourceID(ObjectID resourceID,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of nodes associated with the given resource object id |
CountableIterablePagedListModel<T> |
findByResourceIDs(java.util.Collection<ObjectID> resourceIDs,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of nodes associated with the given resource object ids |
Methods inherited from interface com.ibm.portal.Locator |
---|
findByID, findByUniqueName |
Method Detail |
---|
CountableIterablePagedListModel<T> findByResourceID(ObjectID resourceID, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
resourceID
- The ObjectID
of the resource to search for.orderMetric
- (see Constants.OrderMetric
) The order metric in which the
results are to be returned. May be null
.order
- (see Constants.Order
) The order in which the
results are to be returned. May be null
.
ModelException
CountableIterablePagedListModel<T> findByResourceIDs(java.util.Collection<ObjectID> resourceIDs, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
resourceIDs
- The ObjectID
s of resources to search for.orderMetric
- (see Constants.OrderMetric
) The order metric in which the
results are to be returned. May be null
.order
- (see Constants.Order
) The order in which the
results are to be returned. May be null
.
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |