001 /* 002 * file StpRepository.java 003 * 004 * Licensed Materials - Property of IBM 005 * Restricted Materials of IBM 006 * 007 * com.ibm.rational.wvcm.stp.StpRepository 008 * 009 * (C) Copyright IBM Corporation 2004, 2008. All Rights Reserved. 010 * Note to U.S. Government Users Restricted Rights: Use, duplication or 011 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 012 */ 013 014 package com.ibm.rational.wvcm.stp; 015 016 import static com.ibm.rational.wvcm.stpex.StpExBase.PROPERTY_NAMESPACE; 017 018 import javax.wvcm.WvcmException; 019 import javax.wvcm.PropertyNameList.PropertyName; 020 021 import com.ibm.rational.wvcm.stp.StpProvider.StpProductInfo; 022 023 /** 024 * A client proxy for a repository resource. 025 */ 026 public interface StpRepository 027 extends StpResource 028 { 029 030 /** 031 * Version information about the server being used to access this 032 * repository. 033 * <p> 034 * Any field not applicable to the code for which information is requested 035 * will be an empty String (not <b>null</b>). 036 */ 037 PropertyName<StpProductInfo> PRODUCT_INFO = 038 new PropertyName<StpProductInfo>(PROPERTY_NAMESPACE, "product-info"); 039 040 StpProductInfo getProductInfo() throws WvcmException; 041 }