|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RatingLocator<R extends Rating>
The interface to find Rating
s using different criteria
Method Summary | |
---|---|
CountableIterablePagedListModel<R> |
findByOwner(ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a given owner. |
CountableIterablePagedListModel<R> |
findByResourceIDAndOwner(ObjectID resource,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a given
Resource ObjectID and owner. |
CountableIterablePagedListModel<R> |
findByResourceIDsAndOwner(java.util.Collection<ObjectID> resourceIDs,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a list of given
Resource ObjectIDs and owner. |
CountableIterablePagedListModel<R> |
findByResourceURI(java.net.URI resourceURI,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a given
Resource URI. |
CountableIterablePagedListModel<R> |
findByResourceURIAndOwner(java.net.URI resourceURI,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a given
Resource URI and owner. |
CountableIterablePagedListModel<R> |
findByResourceURIs(java.util.Collection<java.net.URI> resourceURIs,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a list of given
Resource URIs. |
CountableIterablePagedListModel<R> |
findByResourceURIsAndOwner(java.util.Collection<java.net.URI> resourceURIs,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order)
Returns a list of Rating objects by a list of given
Resource URIs and owner. |
Methods inherited from interface com.ibm.portal.cp.ResourceLocator |
---|
findByResourceID, findByResourceIDs |
Methods inherited from interface com.ibm.portal.Locator |
---|
findByID, findByUniqueName |
Method Detail |
---|
CountableIterablePagedListModel<R> findByOwner(ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a given owner.
ownerID
- The ObjectID
identifying the owner.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
.
Rating
objects.
ModelException
CountableIterablePagedListModel<R> findByResourceIDsAndOwner(java.util.Collection<ObjectID> resourceIDs, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a list of given
Resource
ObjectIDs and owner.
resourceIDs
- The ObjectID
s of resources to search for.ownerID
- The ObjectID
identifying the owner.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
.
Rating
objects.
ModelException
CountableIterablePagedListModel<R> findByResourceIDAndOwner(ObjectID resource, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a given
Resource
ObjectID and owner.
resourceID
- The ObjectID
of the resource to search for.ownerID
- The ObjectID
identifying the owner.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
.
Rating
objects.
ModelException
CountableIterablePagedListModel<R> findByResourceURIs(java.util.Collection<java.net.URI> resourceURIs, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a list of given
Resource
URIs.
resourceURIs
- The URI
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
.
Rating
objects.
ModelException
CountableIterablePagedListModel<R> findByResourceURI(java.net.URI resourceURI, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a given
Resource
URI.
resourceURI
- The URI
of a 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
.
Rating
objects.
ModelException
CountableIterablePagedListModel<R> findByResourceURIsAndOwner(java.util.Collection<java.net.URI> resourceURIs, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a list of given
Resource
URIs and owner.
resourceURIs
- The URI
s of resources to search for.ownerID
- The ObjectID
identifying the owner.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
.
Rating
objects.
ModelException
CountableIterablePagedListModel<R> findByResourceURIAndOwner(java.net.URI resourceURI, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order) throws ModelException
Rating
objects by a given
Resource
URI and owner.
resourceURI
- The URI
of a resource to search for.ownerID
- The ObjectID
identifying the owner.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
.
Rating
objects.
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |