BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions

AMObject object

The AMObject object implements generic functionality shared by all objects stored in an Meridian Enterprise vault.

Methods

All methods of this object should be considered unsupported. They are for internal use only. Using these methods in custom applications can easily cause loss of information.

Properties

At times sample code will be provided that demonstrates the use of AMObject properties. In general, custom code will rarely require the use of AMObject.

Property Description

AMSection

See Remarks.

CanBeginNewVersion

Reserved. See “About reserved objects, methods, and properties.”

Class

See Remarks.

DisplayName

The display name of the object.

EffectivityEndDate

Date/time the revision was ended (can be VT_NULL).

EffectivityStartDate

Date/time the revision was started.

ExistsInParentContext

True if the object (document) has a visible revision in the Main area or parent work area.

Flags

Reserved. See “About reserved objects, methods, and properties.”

LaunchedLogicExtensions

Reserved. See “About reserved objects, methods, and properties.”

LaunchedObject

Reserved. See “About reserved objects, methods, and properties.”

Name

The internal name of the object.

NewQuery

Reserved. See “About reserved objects, methods, and properties.”

ObjectID

The unique ID of the object.

VersionCount

Reserved. See “About reserved objects, methods, and properties.Use IAMVersionable interface.

VersionEnumerator

Reserved. See “About reserved objects, methods, and properties. Use IAMVersionable interface.

VersionID

Reserved. See “About reserved objects, methods, and properties. Use IAMVersionable interface.

Remarks
AMSection

The Section object describes the logical unit in the datastore (database file) that contains the vault.

See Understanding the document repository object.

Class

Each object stored in the vault is of a specific class. The class defines the business logic that the EDM server will apply to the object.

All objects (of any class) in the vault have four mandatory properties, listed by name:

Class(ID)

This ID defines the class of the object.

ObjectID

This ID uniquely identifies the object.

Internal name

A name defined when the object is created. This name can be used from code to refer to the object.

Display name

The name used in the user interface. This name can safely be changed. Code should not depend on this name.

Example
Function GetClassObject(SomeObjectInTheVault As Object) As AMClass
    On Error Resume Next

    Dim po As IPersistAMObject

    'Check the input argument
    If Not SomeObjectInTheVault Is Nothing Then
        Set po = SomeObjectInTheVault

        If Not po Is Nothing Then
            Set GetClassObject = po.AMObject.Class
        Else
            ' The object is not an object stored in an Meridian Enterprise vault
            Set GetClassObject = Nothing
        End If

    Else
        Set GetClassObject = Nothing
    End If

End Function

Copyright © 2000-2012 BlueCielo ECM Solutions