ObjectVersionManager MembersKentico 8.0 API Reference
The ObjectVersionManager type exposes the following members.
Constructors

  NameDescription
Public methodObjectVersionManager
Back to 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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
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 methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
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
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
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
Initializes the provider variables.
(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 AbstractProvider ProviderType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodUndoCheckOut
Cancels the object checkout.
Back to Top
Extension Methods

  NameDescription
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.)
Back to 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.
Back to 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.)
Back to Top
See Also