SAP NetWeaver '04

com.sapportals.wcm.repository
Interface IVersionController

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.framework_api.jar]
public interface IVersionController

Interface for collections that support automatic versioning of all member resources.

Copyright (c) SAP AG 2002-2004


Method Summary
 void disable(boolean disableChildVersioning)
          Disables child version controlling for this collection.
 void enable(IResourceList modifiedResources)
          Enables child version controlling for this collection -- if a new non-collection child is created it will be put under version control immediately and automatically.
 boolean isEnabled()
           
 

Method Detail

enable

public void enable(IResourceList modifiedResources)
            throws ResourceException
Enables child version controlling for this collection -- if a new non-collection child is created it will be put under version control immediately and automatically. As a side effect, enables version control for all existing children that are versionable.
Parameters:
modifiedResources - when present (not null, this list will be filled with the modified resources)
Throws:
ResourceException - Exception raised in failure situation

disable

public void disable(boolean disableChildVersioning)
             throws ResourceException
Disables child version controlling for this collection.
Parameters:
disableChildVersioning - if true , version control will be disabled for all direct children of this resource. Whether the version histories and all revisions will be deleted is determined by the default of the repository manager.
Throws:
ResourceException - Exception raised in failure situation

isEnabled

public boolean isEnabled()
                  throws ResourceException
Returns:
whether automatic child version controlling is enabled
Throws:
ResourceException - Exception raised in failure situation

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.