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.
| Method | Description | |
|---|---|---|
| cacheClassExtension | |
| cacheClassExtensions | |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| createDerivedClassList | |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getClassExtensionMap | |
| getClassExtensionTypeInformation | |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getValidExtensionKey | |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Initializes a new instance of the SourceDocumentExtensionFactory class. |
| newObjectListFromExtensionKey | |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| padKey | |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Creates a new instance of the SourceDocumentExtensionFactory class. |
| ::getExtensionTypeInformation | Gets the information about the classes that extend a base type. |
| ::newObject | Creates a new instance of a base or derived class by using the specified extension key. |
| ::newObjectList | Creates a new instance of a base or derived class by using the specified extension key. |
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.
Community Additions
ADD
Show: