OScript API/Built-in Package Index

Class: DAPIVERSION

DAPIVERSION is the object handle of a version of a node stored in the DAPI database. It is used in the DAPI functions for all version manipulation operations.

Instance Attributes

The comment field.

The creation date and time of this version.

The external system creation date.

ID of the entity that created the item externally.

The external system modification date.

ID of the external source for this item.

The file creation date and time.

The file creator (specific to the Macintosh platform).

The data size of this version of the file.

The file modification date and time.

The file name.

The platform from which the file originated.

The resource size of this version of the file.

The file type.

The GUID for this version.

The unique ID.

Unused.

An integer indicating locked status.

The ID of the user who locked this version.

The date and time when the version is locked.

The file MIME type.

The modification date and time of this version.

The name of this version.

The ID of the node which contains this version.

The version number of this version.

The ID of the user who created this version.

The page number for this version.

The ID of the associated provider.

The name of the associated provider.

The type of this version, if it is a rendition.

The major version number.

The minor version number.

Instance Attributes

String pComment

The comment field. The column in the DVersData table is VerComment.

The creation date and time of this version. The column in the DVersData table is VerCDate.

If available, this is the original creation date and time for the item in an external system. The column in the DTreeCoreExternalData table is ExternalCreateDate.

If available, this is the ID of the entity that created the item in an external system. The column in the DTreeCoreExternalData table is ExternalCreatorID.

If available, this is the modification date and time for the item in an external system. The column in the DTreeCoreExternalData table is ExternalModifyDate.

If available, this is the ID of the external system where this item originated. The column in the DTreeCoreExternalData table is ExternalSourceID.

The file creation date and time. The column in the DVersData table is FileCDate.

The file creator (specific to the Macintosh platform). The column in the DVersData table is FileCreator.

Integer pFileDataSize

The data size of this version of the file. The column in the DVersData table is DataSize.

The file modification date and time. The column in the DVersData table is FileMDate.

String pFileName

The file name. The column in the DVersData table is FileName.

Integer pFilePlatform

The platform from which the file originated. The column in the DVersData table is Platform.

Integer pFileResSize

The resource size of this version of the file. It is Mac platform specific. The column in the DVersData table is ResSize.

String pFileType

The file type. The column in the DVersData table is FileType.

GUID pGUID

The GUID for this version. The column in the DVersData table is GUID.

Integer pID

The unique ID for this version. The column in the DVersData table is VersionID.

Integer pLocked

An integer indicating locked status. The column in the DVersData table is Locked.

Integer pLockedBy

The ID of the user who locked this version. The column in the DVersData table is LockedBy.

The date and time when this version is locked. The column in the DVersData table is LockedDate.

String pMIMEType

The file MIME type. The column in the DVersData table is MimeType.

The modification date and time of this version. The column in the DVersData table is VerMDate.

String pName

The name of this version. The column in the DVersData table is VersionName.

Integer pNodeID

The ID of the node which contains this version. The column in the DVersData table is DocID.

Integer pNumber

The version number of this version. The column in the DVersData table is Version.

Integer pOwner

The ID of the user who created this version. The column in the DVersData table is Owner.

Integer pPageNum

The page number for this version. The column in the DVersData table is PageNum.

Integer pProviderID

The ID of the associated provider. The column in the DVersData table is ProviderId.

String pType

If this DAPIVERSION is a rendition, this is the rendition type. The column in the DVersData table is VerType.

Integer pVerMajor

The major version number. The column in the DVersData table is VerMajor.

Integer pVerMinor

The minor version number. The column in the DVersData table is VerMinor.

 Copyright © 2023 OpenText Corporation. All rights reserved.