| VersionManager Class |
Namespace: CMS.DocumentEngine
public class VersionManager : AbstractManager
The VersionManager type exposes the following members.
| Name | Description | |
|---|---|---|
| VersionManager | Obsolete.
Constructor - Creates version manager.
| |
| VersionManager(TreeProvider) |
Constructor - Creates version manager.
|
| Name | Description | |
|---|---|---|
| AddAttachmentToVersion |
Adds the version - attachment binding to the database.
| |
| AddAttachmentToVersionInternal |
Adds the version - attachment binding to the database.
| |
| ApplyDocumentVersionData |
Applies the document version data to the document DataSet (only the document data, not the coupled data).
| |
| ApplyDocumentVersionDataInternal |
Applies the document version data to the document DataSet (only the document data, not the coupled data).
| |
| ApplyLatestVersion |
Applies latest version data to the node.
| |
| ApplyLatestVersionInternal |
Applies latest version data to the node.
| |
| ApplyVersion |
Applies version data to the node.
| |
| ApplyVersionData |
Applies the document version data to the document data row.
| |
| ApplyVersionDataInternal |
Applies the document version data to the document data row.
| |
| ApplyVersionInternal |
Applies version data to the node.
| |
| ClearDocumentHistory |
Clears complete history of specified document (keeps latest version).
| |
| ClearDocumentHistoryInternal |
Clears complete history of specified document (keeps the latest version).
| |
| CopyVersionAttachments(Int32, Int32) |
Copies the version attachment bindings to the given version.
| |
| CopyVersionAttachments(Int32, Int32, Hashtable) |
Copies the version attachments to the given version, physically copies the attachment history records.
| |
| CopyVersionAttachmentsInternal(Int32, Int32) |
Copies the version attachment bindings to the given version.
| |
| CopyVersionAttachmentsInternal(Int32, Int32, Hashtable) |
Copies the version attachments to the given version, physically copies the attachment history records.
| |
| CreateNewVersion |
Creates new document version. (Moves document to edit step.)
| |
| CreateNewVersionInternal |
Creates new document version. (Moves document to edit step.)
| |
| DeleteOlderVersions |
Deletes older document versions to keep specified version history length.
| |
| DeleteOlderVersionsInternal |
Deletes older document versions to keep specified version history length.
| |
| DestroyDocumentHistory |
Deletes complete history of specified document.
| |
| DestroyDocumentHistoryInternal |
Deletes complete history of specified document.
| |
| DestroyDocumentVersion |
Deletes specified record in the node version history.
| |
| DestroyDocumentVersionInternal |
Deletes specified record in the node version history.
| |
| EnsureVersion |
Ensures that the document version history is present for the given document, returns the document version.
| |
| EnsureVersionAttachments |
Ensures that the document attachments are present within the AttachmentHistory table.
| |
| EnsureVersionAttachmentsInternal |
Ensures that the document attachments are present within the AttachmentHistory table.
| |
| EnsureVersionInternal |
Ensures that the document version history is present for the given document, returns the document version.
| |
| GetAttachmentDocumentVersions |
Returns the DataSet of all the document versions bound to the specified attachment version.
| |
| GetAttachmentDocumentVersionsInternal |
Returns the DataSet of all the document versions bound to the specified attachment version.
| |
| GetAttachmentVersion(Int32, Guid) |
Returns the attachment version.
| |
| GetAttachmentVersion(Int32, Guid, Boolean) |
Returns the attachment version.
| |
| GetAttachmentVersion(Int32, String, Boolean) |
Returns the attachment version.
| |
| GetAttachmentVersionInternal(Int32, Guid, Boolean) |
Returns the attachment version.
| |
| GetAttachmentVersionInternal(Int32, String, Boolean) |
Returns the attachment version.
| |
| GetDocumentHistory |
Returns the version history table for the specified document.
| |
| GetDocumentHistoryInternal |
Returns the version history table for the specified document.
| |
| GetHistoryLength |
Gets version history length
| |
| GetHistoryLengthInternal |
Gets version history length
| |
| GetInstance |
Gets the instance of the manager.
| |
| GetLatestAttachmentVersion(Guid, String) |
Returns latest attachment version found in the AttachmentHistoryTable.
| |
| GetLatestAttachmentVersion(Guid, String, Boolean) |
Returns latest attachment version found in the AttachmentHistoryTable.
| |
| GetLatestAttachmentVersionInternal |
Returns latest attachment version found in the AttachmentHistoryTable.
| |
| GetLatestDocumentVersion |
Gets latest document version
| |
| GetLatestDocumentVersionInternal |
Gets latest document version
| |
| GetNewVersion |
Returns new version number representation.
| |
| GetNewVersionInternal |
Returns new version number representation.
| |
| GetVersion(Int32) |
Returns specified history version.
| |
| GetVersion(Int32, TreeNode) |
Returns specified history version.
| |
| GetVersion(VersionHistoryInfo, TreeNode) |
Returns node with applied version data.
| |
| GetVersionAttachments(Int32) |
Returns the DataSet containing all the attachments for the given document version based on where condition and order by clause.
| |
| GetVersionAttachments(Int32, Boolean) |
Returns the DataSet containing all the attachments for the given document version.
| |
| GetVersionAttachments(Int32, String, String, Boolean) |
Returns the DataSet containing all the attachments for the given document version based on where condition and order by clause.
| |
| GetVersionAttachments(Int32, String, String, Boolean, Int32, String) |
Returns the DataSet containing all the attachments for the given document version based on where condition and order by clause.
| |
| GetVersionInternal |
Returns node with applied version data.
| |
| ChangeManagerTypeOriginalType |
Changes the default manager type to the given type
(Inherited from AbstractManager.) | |
| ChangeManagerTypeTo |
Changes the manager type to the given type
(Overrides AbstractManagerChangeManagerTypeTo(Type).) | |
| CheckIn |
Checks provided node in and stores it in the versioning history.
| |
| CheckInInternal |
Checks provided node in and stores it in the versioning history.
| |
| CheckOut(TreeNode) |
Checks out specified node and creates a new record in the CMS_VersionHistory table.
| |
| CheckOut(TreeNode, Boolean, Boolean) |
Checks out specified node and creates a new record in the CMS_VersionHistory table.
| |
| CheckOut(TreeNode, Boolean, Boolean, Boolean) |
Checks out specified node and creates a new record in the CMS_VersionHistory table.
| |
| CheckOutInternal |
Checks out specified node and creates a new record in the CMS_VersionHistory table.
| |
| IsSystemDocumentColumn |
Returns true if the given column name is a system data column name.
| |
| IsSystemDocumentColumnInternal |
Returns true if the given column name is a system data column name.
| |
| IsSystemNodeColumn |
Returns true if the given column name is a system data column name of the node.
| |
| IsSystemNodeColumnInternal |
Returns true if the given column name is a system data column name of the node.
| |
| IsVersionedCoupledColumn |
Returns true if the given column name is a versioned data column name.
| |
| IsVersionedCoupledColumnInternal |
Returns true if the given column name is a versioned data column name.
| |
| IsVersionedDocumentColumn |
Returns true if the given column name is a versioned data column name.
| |
| IsVersionedDocumentColumnInternal |
Returns true if the given column name is a versioned data column name.
| |
| PublishAllScheduled |
Publishes all documents scheduled for the current time.
| |
| PublishAllScheduledInternal |
Publishes all documents scheduled for the current time.
| |
| PublishAttachments |
Publishes the attachments for the given document.
| |
| PublishAttachmentsInternal |
Publishes the attachments for the given document.
| |
| PublishVersion(Int32) |
Puts the specified node history version to the front DB tables.
| |
| PublishVersion(Int32, Boolean) |
Puts the specified node history version to the front DB tables.
| |
| PublishVersionInternal |
Puts the specified node history version to the front DB tables.
| |
| RemoveAttachmentFromVersion |
Removes the version - attachment binding from the database.
| |
| RemoveAttachmentFromVersionInternal |
Removes the version - attachment binding from the database.
| |
| RemoveAttachmentVersion |
Removes the AttachmentHistory binding to the document version history and deletes the AttachmentHistory object if there is no more bindings to that version.
| |
| RemoveAttachmentVersionInternal |
Removes the AttachmentHistory binding to the document version history and deletes the AttachmentHistory object if there is no more bindings to that version.
| |
| RemoveWorkflow |
Removes all the workflow information from the document and initializes the document as non-workflow.
| |
| RemoveWorkflowInternal |
Removes all the workflow information from the document and initializes the document as non-workflow.
| |
| RestoreDocument |
Restores deleted node and returns the restored node.
| |
| RestoreDocumentInternal |
Restores deleted node and returns the restored node.
| |
| RollbackVersion |
Adds specified earlier version to the top of the version history.
| |
| RollbackVersionInternal |
Adds specified earlier version to the top of the version history.
| |
| SaveAttachmentVersion |
Saves the attachment version to the database.
| |
| SaveAttachmentVersionInternal |
Saves the attachment version to the database.
| |
| SaveVersion |
Saves history version record to the database without checking in.
| |
| SaveVersionInternal |
Saves history version record to the database without checking in.
| |
| UndoCheckOut |
Undo all operations made during last checkout.
| |
| UndoCheckOutInternal |
Undo all operations made during last checkout.
| |
| UseAutomaticVersionNumbering |
Specifies whether the environment is configured to use automatic version numbering.
| |
| UseAutomaticVersionNumberingInternal |
Specifies whether the environment is configured to use automatic version numbering.
| |
| UseCheckInCheckOut |
Specifies whether the environment is configured to use check-in and check-out actions.
| |
| UseCheckInCheckOutInternal |
Specifies whether the environment is configured to use check-in and check-out actions.
|
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
| Name | Description | |
|---|---|---|
| mNonVersionedCoupledColumns |
Non-versioned coupled columns list.
| |
| mTreeProvider |
TreeProvider to use for DB access.
| |
| mWorkflowManager |
WorkflowManager for workflow managing.
|
| Name | Description | |
|---|---|---|
| NonVersionedCoupledColumns |
List of the non-versioned coupled document columns.
| |
| TreeProvider |
TreeProvider instance.
| |
| WorkflowManager |
Gets workflow manager instance.
|