SourceDocumentExtensionFactory Class [AX 2012]

The SourceDocumentExtensionFactory class is a factory that creates new instances of the base or derived classes given a base class and an extension key.

class SourceDocumentExtensionFactory

Run On

Called

  MethodDescription
Gg898151.privmethod(en-us,AX.60).gif cacheClassExtension
Gg898151.privmethod(en-us,AX.60).gif cacheClassExtensions
Gg898151.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg898151.privmethod(en-us,AX.60).gif createDerivedClassList
Gg898151.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg898151.privmethod(en-us,AX.60).gif getClassExtensionMap
Gg898151.privmethod(en-us,AX.60).gif getClassExtensionTypeInformation
Gg898151.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg898151.privmethod(en-us,AX.60).gif getValidExtensionKey
Gg898151.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg898151.protmethod(en-us,AX.60).gif new Initializes a new instance of the SourceDocumentExtensionFactory class.
Gg898151.privmethod(en-us,AX.60).gif newObjectListFromExtensionKey
Gg898151.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg898151.privmethod(en-us,AX.60).gif padKey
Gg898151.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg898151.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg898151.protmethod(en-us,AX.60).gif Gg898151.static(en-us,AX.60).gif ::construct Creates a new instance of the SourceDocumentExtensionFactory class.
Gg898151.pubmethod(en-us,AX.60).gif Gg898151.static(en-us,AX.60).gif ::getExtensionTypeInformation Gets the information about the classes that extend a base type.
Gg898151.pubmethod(en-us,AX.60).gif Gg898151.static(en-us,AX.60).gif ::newObject Creates a new instance of a base or derived class by using the specified extension key.
Gg898151.pubmethod(en-us,AX.60).gif Gg898151.static(en-us,AX.60).gif ::newObjectList Creates a new instance of a base or derived class by using the specified extension key.
Top

Use the SourceDocumentExtensionAttribute class attribute to add the extension key metadata to the base and derived classes. This class realizes the singleton design pattern. Flush the client and server SysGlobalCache object if an extension key is modified after the cache of the base and derived classes is built.

Object Class
  SourceDocumentExtensionFactory Class

Community Additions

ADD
Show: