Click or drag to resize
ObjectVersionManager Class
Class providing object versions management.
Inheritance Hierarchy
SystemObject
  CMS.DataEngineAbstractProvider
    CMS.DataEngineAbstractProviderObjectVersionManager
      CMS.SynchronizationObjectVersionManager

Namespace: CMS.Synchronization
Assembly: CMS.Synchronization (in CMS.Synchronization.dll) Version: 8.2.23
Syntax
C#
public class ObjectVersionManager : AbstractProvider<ObjectVersionManager>

The ObjectVersionManager type exposes the following members.

Constructors
  NameDescription
Public methodObjectVersionManager
Top
Methods
  NameDescription
Public methodStatic memberAllowObjectRestore(GeneralizedInfo)
Indicates if the object under specified site can be restored from recycle bin.
Public methodStatic memberAllowObjectRestore(GeneralizedInfo, String) Obsolete.
Indicates if the object under specified site can be restored from recycle bin.
Public methodStatic memberAllowObjectVersioning(GeneralizedInfo)
Indicates if the object versioning is allowed for specified object under particular site.
Public methodStatic memberAllowObjectVersioning(GeneralizedInfo, String) Obsolete.
Indicates if the object versioning is allowed for specified object under particular site.
Protected methodClearHashtables(Boolean)
Clears the object's hashtables.
(Inherited from AbstractProvider.)
Public methodStatic memberCreateVersion(GeneralizedInfo)
Creates object version.
Public methodStatic memberCreateVersion(GeneralizedInfo, Boolean)
Creates object version.
Public methodCreateWebFarmTask(String, String)
Creates web farm task specific for current object and action name
(Inherited from AbstractProvider.)
Public methodCreateWebFarmTask(String, String, Byte)
Creates web farm task specific for current object and action name
(Inherited from AbstractProvider.)
Public methodStatic memberDeleteOlderVersions
Deletes older object versions.
Protected methodDeleteOlderVersionsInternal
Deletes older object versions.
Public methodStatic memberDestroyObjectHistory
Destroys complete object history.
Public methodStatic memberDestroyObjectVersion
Destroys object version.
Public methodStatic memberDisplayVersionsTab
Indicates if versions tab should be displayed for specified object type
Public methodStatic memberEnsureVersion
Ensures object version.
Public methodStatic memberGetLatestVersion
Gets latest version history for given object.
Protected methodGetLatestVersionInternal
Gets latest version history for given object.
Public methodStatic memberGetMajorVersionHistoryLength
Gets object major version history length.
Public methodStatic memberGetMinorVersionHistoryLength
Gets object version history length.
Public methodStatic memberGetNewVersionNumber
Gets new version number according to previous version number.
Protected methodGetNewVersionNumberInternal
Gets new version number according to previous version number.
Public methodStatic memberGetObjectHistory(String, Int32)
Gets object version histories.
Public methodStatic memberGetObjectHistory(String, Int32, String, String, Int32, String)
Gets object version histories.
Protected methodGetObjectHistoryInternal
Gets object version histories.
Public methodStatic memberGetObjectVersionedExtensions
Returns allowed extensions list from settings.
Public methodStatic memberGetPromoteToMajorInterval
Gets time interval between 2 modifications of object for which last version will be promoted to major version
Public methodStatic memberGetUseLastVersionInterval
Gets time interval for which last version will be used to store version data
Protected methodChangePreviousVersionsObjectIDInternal
Changes object ID for the previous object versions during object restore.
Public methodCheckIn(BaseInfo)
Checks in the object.
Public methodCheckIn(BaseInfo, String, String)
Checks in the object.
Public methodCheckOut
Checks out the object to particular user
Protected methodInvalidate
Sets this provider as invalid
(Inherited from AbstractProvider.)
Public methodStatic memberIsObjectExtensionVersioned
Determines whether the file with the specified extension (case insensitive) is versioned on site specified by name.
Public methodStatic memberIsVersionMajor
Indicates if specified version is major version
Public methodStatic memberMakeVersionMajor
Make major version from specified version
Public methodStatic memberObjectHasVersions
Indicates if object has at least one version.
Public methodProcessWebFarmTask
Runs the processing of specific web farm task for current provider
(Inherited from AbstractProvider.)
Protected methodRegister
Registers current provider in providers collection
(Inherited from AbstractProvider.)
Public methodStatic memberRestoreObject(Int32, Boolean)
Restores object, optionally with its children.
Public methodStatic memberRestoreObject(Int32, Int32)
Restores object to specified site ID.
Public methodStatic memberRollbackVersion
Rollbacks object to specified version.
Public methodSetAsDefaultProvider
Sets this object as the default provider
(Inherited from AbstractProviderProviderType.)
Public methodUndoCheckOut
Cancels the object checkout.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Public fieldStatic memberRESTORE_ALL
Object versioning restore mode determining that all objects supported in staging will be deleted to recycle bin.
Public fieldStatic memberRESTORE_NONE
Object versioning restore mode determining that objects will be deleted permanently.
Public fieldStatic memberRESTORE_VERSIONEDOBJECTS
Object versioning restore mode determining that versioned objects will be deleted to recycle bin.
Top
Properties
  NameDescription
Public propertyIsValid
Indicates if the provider instance is up-to-date and can be used to manage object instances.
(Inherited from AbstractProvider.)
Protected propertyProviderName
Provider name
(Inherited from AbstractProvider.)
Top
See Also