Domain
Domain¶
Abstract
Summary of the Domain class
Class Description¶
The class represents a eLegere Domain. A Domain is the sandbox in which eLegere applications run.
The domain class does not currently offer methods other than the getApplication method, and thus is used only as an intermediary class for the Application class. It exist mostly for forward compatibility reasons; in order to create a Domain object, use the organization.getDomain method.
Note
The class requires the initialization through the elegere object.
An Example:
1 |
|
Methods¶
getApplication Promise<Application>
¶
1 |
|
getApplication
fetches the application id by using the application's name. Afterwards, it yields a new Application using the previous identified application as reference.
Parameters¶
applicationName
string The parameter applicationName
stands for the Application name.
Return¶
Returns the Promise of an Application object.