com.sapportals.wcm.repository

Interface IVersionController


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

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

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

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

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice