001    /*
002     * IBM Confidential
003     * OCO Source Materials
004     * Rational ClearCase
005     * (C) Copyright IBM Corporation. 2013.  All rights reserved.
006     *
007     * The source code for this program is not published or otherwise
008     * divested of its trade secrets, irrespective of what has been
009     * deposited with the U.S. Copyright Office.
010     */
011    package com.ibm.rational.wvcm.stp.cc;
012    
013    import javax.wvcm.Feedback;
014    import javax.wvcm.Resource;
015    import javax.wvcm.ResourceList;
016    import javax.wvcm.WvcmException;
017    
018    /**
019     * <p>A proxy for a resource in a ClearCase VOB or view.
020     * </p>
021     */
022    public interface CcResourceList <T extends Resource>
023        extends ResourceList<T> {
024    
025        /**
026         * Variant of {@link ResourceList#doWriteProperties(Feedback)} that
027         * supports supplying a context.  All other behavior is the same.
028         * @param context An optional proxy (often CcView) providing context for the
029         *            writing of certain properties. May be <b>null</b>.
030         * @param feedback the properties available in the returned proxies.
031         * @return an iterator over the results of the method on each element in this ResourceList.
032         */
033        public <V> ResponseIterator<V> doWriteProperties(Resource context, 
034                                          Feedback feedback) throws WvcmException;
035    
036        
037    }