Name | Description | |
---|---|---|
init | Initializes the MultiTenancyService. Called during construction. Inherited from dundas.Component. |
Name | Description | |
---|---|---|
eventsManager | Inherited from dundas.Service. | |
isDisposed | Gets a value indicating whether this instance has been disposed. Inherited from dundas.Component. | |
site | Gets or sets the site that this component is a part of. Inherited from dundas.Component. | |
uniqueId | Gets or sets the unique ID of this component within the site. Inherited from dundas.Component. |
Name | Description | |
---|---|---|
bind | Subscribe a handler for an event. Inherited from dundas.Service. | |
createDelegate | Helper for creating delegate functions. Inherited from dundas.Component. | |
createTenant | Creates a tenant with the specified options. The ID field should be left empty, as the result will have it set to the new ID. | |
createTimeout | Creates a timeout. Inherited from dundas.Component. | |
deleteTenantById | Deletes the tenant with the specified ID. | |
dispatch | Dispatches a call by creating a delegate and running it right away on a timer. Inherited from dundas.Component. | |
dispose | Inherited from dundas.Component. | |
fromJObject | Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class. | |
getService | Gets the requested service. Inherited from dundas.Component. | |
getTenantById | Gets the tenant with the specified ID. | |
getTenantInfoById | Gets the tenant info with the specified ID. | |
getTenantInfosByIds | Gets the tenant infos with the specified IDs. | |
getTenantQuotaUsages | Gets information about the quota and usage of every object type for the tenant with the specified ID. | |
getTenantsByIds | Gets the tenants with the specified IDs. | |
onLoaded | Called when the service is loaded. Inherited from dundas.Service. | |
queryNumberOfTenants | Gets the number of tenants corresponding to query criteria. | |
queryTenantInfos | Gets the tenants corresponding to query criteria. | |
queryTenants | Gets the tenants corresponding to query criteria. | |
subscribe | Subscribe or unsubscribe an event handler for an event. Inherited from dundas.Service. | |
subscribeOnce | Subscribe a one time handler for an event. Inherited from dundas.Service. | |
toJSON | Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class. | |
trigger | Triggers an event. Inherited from dundas.Service. | |
unbind | Unsubscribe an event. Inherited from dundas.Service. | |
updateTenant | Updates the tenant with the specified options. |