|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TagLocator<T extends Tag>
The interface to find Tag
s using different criteria
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.ibm.portal.cp.Constants |
---|
Constants.Order, Constants.OrderMetric, Constants.SearchPattern |
Field Summary |
---|
Fields inherited from interface com.ibm.portal.cp.Constants |
---|
ALL, BEGIN, COLON, DEFAULT_ORDER, DEFAULT_ORDERMETRIC |
Method Summary | |
---|---|
CountableIterablePagedListModel<T> |
findByOwner(ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given owner. |
CountableIterablePagedListModel<T> |
findByResourceID(ObjectID resourceID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given
Resource ObjectID. |
CountableIterablePagedListModel<T> |
findByResourceIDAndOwner(ObjectID resourceID,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given
Resource ObjectID and owner. |
CountableIterablePagedListModel<T> |
findByResourceIDs(java.util.Collection<ObjectID> resourceIDs,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a list of given
Resource ObjectIDs. |
CountableIterablePagedListModel<T> |
findByResourceIDsAndOwner(java.util.Collection<ObjectID> resourceIDs,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a list of given
Resource ObjectIDs and owner. |
CountableIterablePagedListModel<T> |
findByResourceURI(java.net.URI resourceURI,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given
Resource URI. |
CountableIterablePagedListModel<T> |
findByResourceURIAndOwner(java.net.URI resourceURI,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given
Resource URI and owner. |
CountableIterablePagedListModel<T> |
findByResourceURIs(java.util.Collection<java.net.URI> resourceURIs,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a list of given
Resource URIs. |
CountableIterablePagedListModel<T> |
findByResourceURIsAndOwner(java.util.Collection<java.net.URI> resourceURIs,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a list of given
Resource URIs and owner. |
CountableIterablePagedListModel<T> |
findByTagName(Constants.SearchPattern searchPattern,
java.lang.String tagName,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name. |
CountableIterablePagedListModel<T> |
findByTagNameAndOwner(Constants.SearchPattern searchPattern,
java.lang.String tagName,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name and owner. |
CountableIterablePagedListModel<T> |
findByTagNameAndResourceID(Constants.SearchPattern searchPattern,
java.lang.String tagName,
ObjectID resourceID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name
and Resource ObjectID. |
CountableIterablePagedListModel<T> |
findByTagNameAndResourceIDAndOwner(Constants.SearchPattern searchPattern,
java.lang.String tagName,
ObjectID resourceID,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name, owner
and Resource ObjectID. |
CountableIterablePagedListModel<T> |
findByTagNameAndResourceIDs(Constants.SearchPattern searchPattern,
java.lang.String tagName,
java.util.Collection<ObjectID> resourceIDs,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name
and Resource ObjectIDs. |
CountableIterablePagedListModel<T> |
findByTagNameAndResourceURI(Constants.SearchPattern searchPattern,
java.lang.String tagName,
java.net.URI resourceURI,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name
and Resource URI. |
CountableIterablePagedListModel<T> |
findByTagNameAndResourceURIAndOwner(Constants.SearchPattern searchPattern,
java.lang.String tagName,
java.net.URI resourceURI,
ObjectID ownerID,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name, owner
and Resource URI. |
CountableIterablePagedListModel<T> |
findByTagNameAndResourceURIs(Constants.SearchPattern searchPattern,
java.lang.String tagName,
java.util.Collection<java.net.URI> resourceURIs,
Constants.OrderMetric orderMetric,
Constants.Order order,
java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects by a given (tag) name
and Resource URIs. |
CountableIterablePagedListModel<T> |
findTags(java.util.Collection<java.util.Locale> locales)
Returns a list of Tag objects. |
Methods inherited from interface com.ibm.portal.cp.ResourceLocator |
---|
findByResourceID, findByResourceIDs |
Methods inherited from interface com.ibm.portal.Locator |
---|
findByID, findByUniqueName |
Method Detail |
---|
CountableIterablePagedListModel<T> findTags(java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects. Similar to calling
#iterator
but is locale sensitive.
locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
#iterator
CountableIterablePagedListModel<T> findByOwner(ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given owner.
ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagName(Constants.SearchPattern searchPattern, java.lang.String tagName, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndOwner(Constants.SearchPattern searchPattern, java.lang.String tagName, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name and owner.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndResourceIDAndOwner(Constants.SearchPattern searchPattern, java.lang.String tagName, ObjectID resourceID, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name, owner
and Resource
ObjectID.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.resourceID
- The Resource ObjectID
to search for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndResourceURIAndOwner(Constants.SearchPattern searchPattern, java.lang.String tagName, java.net.URI resourceURI, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name, owner
and Resource
URI.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.resourceURI
- The Resource URI
to search for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndResourceIDs(Constants.SearchPattern searchPattern, java.lang.String tagName, java.util.Collection<ObjectID> resourceIDs, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name
and Resource
ObjectIDs.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.resourceIDs
- The Resource ObjectID
s 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndResourceURIs(Constants.SearchPattern searchPattern, java.lang.String tagName, java.util.Collection<java.net.URI> resourceURIs, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name
and Resource
URIs.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.resourceURIs
- The Resource URI
s 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndResourceID(Constants.SearchPattern searchPattern, java.lang.String tagName, ObjectID resourceID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name
and Resource
ObjectID.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.resourceID
- The Resource ObjectID
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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByTagNameAndResourceURI(Constants.SearchPattern searchPattern, java.lang.String tagName, java.net.URI resourceURI, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given (tag) name
and Resource
URI.
searchPattern
- The search pattern for the tag to be searched for.tagName
- The (tag) name to search for.resourceURI
- The Resource URI
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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceIDs(java.util.Collection<ObjectID> resourceIDs, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a list of given
Resource
ObjectIDs.
resourceIDs
- The Collection of Resource
s ObjectID
s 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceID(ObjectID resourceID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given
Resource
ObjectID.
resourceID
- The Resource
ObjectID
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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceURIs(java.util.Collection<java.net.URI> resourceURIs, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a list of given
Resource
URIs.
resourceURIs
- The Collection of Resource
s' URI
s 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceURI(java.net.URI resourceURI, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given
Resource
URI.
resourceURI
- The Resource
URI
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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceIDsAndOwner(java.util.Collection<ObjectID> resourceIDs, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a list of given
Resource
ObjectIDs and owner.
resourceIDs
- The Collection of Resources' ObjectID
s to search
for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceIDAndOwner(ObjectID resourceID, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given
Resource
ObjectID and owner.
resourceID
- The Resource ObjectID
to search for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceURIsAndOwner(java.util.Collection<java.net.URI> resourceURIs, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a list of given
Resource
URIs and owner.
resourceURIs
- The Collection of Resources' URI
s to search for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
CountableIterablePagedListModel<T> findByResourceURIAndOwner(java.net.URI resourceURI, ObjectID ownerID, Constants.OrderMetric orderMetric, Constants.Order order, java.util.Collection<java.util.Locale> locales) throws ModelException
Tag
objects by a given
Resource
URI and owner.
resourceURI
- The Resource URI
to search for.ownerID
- The ObjectID
identifiying 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
.locales
- A collection of locales in which the tags to find should be
searched. May be null
- in this case the returned
Tags are of any locale.
Tag
objects.
ModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |