Project: stp

javax.wvcm
Interface ResourceList<T extends Resource>

All Superinterfaces:
Collection<T>, Iterable<T>, List<T>

public interface ResourceList<T extends Resource>
extends List<T>

A list containing Resource objects, used to perform operations on all elements of the list. A new ResourceList is created with Provider.resourceList(T...)

Since:
1.0

Nested Class Summary
static interface ResourceList.ResponseIterator<V>
          An iterator of the results of applying a method to each element of a ResourceList.
 
Method Summary
<V> ResourceList.ResponseIterator<V>
doReadContextProperties(Resource context, Feedback feedback)
          Apply Resource.doReadProperties(javax.wvcm.Feedback) to each element of this ResourceList.
<V> ResourceList.ResponseIterator<V>
doReadProperties(Feedback feedback)
          Apply Resource.doReadProperties(javax.wvcm.Feedback) to each element of this ResourceList.
<V> ResourceList.ResponseIterator<V>
doWriteProperties(Feedback feedback)
          Apply doWriteProperties to each element of this ResourceList.
 
Methods inherited from interface List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

doReadContextProperties

<V> ResourceList.ResponseIterator<V> doReadContextProperties(Resource context,
                                                             Feedback feedback)
                                                         throws WvcmException
Apply Resource.doReadProperties(javax.wvcm.Feedback) to each element of this ResourceList.

Parameters:
feedback - the properties available in the returned proxies.
context - additional context for the request (commonly a Workspace or Stream>
Returns:
an iterator over the results of the method on each element in this ResourceList.
Throws:
WvcmException

doReadProperties

<V> ResourceList.ResponseIterator<V> doReadProperties(Feedback feedback)
                                                  throws WvcmException
Apply Resource.doReadProperties(javax.wvcm.Feedback) to each element of this ResourceList.

Parameters:
feedback - the properties available in the returned proxies.
Returns:
an iterator over the results of the method on each element in this ResourceList.
Throws:
WvcmException

doWriteProperties

<V> ResourceList.ResponseIterator<V> doWriteProperties(Feedback feedback)
                                                   throws WvcmException
Apply doWriteProperties to each element of this ResourceList.

Parameters:
feedback - the properties available in the returned proxies.
Returns:
an iterator over the results of the method on each element in this ResourceList.
Throws:
WvcmException

Generated Thu 2-Oct-2014 10:59 AM

Copyright © IBM 2014. All rights reserved.