default-subscriptions/default-subscriptions.service.ts
Methods |
constructor(applicationService: ApplicationService, tenantService: TenantService, tenantOptionsService: TenantOptionsService, humanizeAppNamePipe: HumanizeAppNamePipe)
|
|||||||||||||||
Parameters :
|
Async getDefaultSubscriptionsEvaluatedFromParentTenant |
getDefaultSubscriptionsEvaluatedFromParentTenant()
|
Gets the default subscriptions configuration inherited from parent tenant.
Returns :
Promise<DefaultSubscriptions>
The default subscriptions object with settings from parent tenant. |
Async getDefaultSubscriptionsFromCurrentTenant |
getDefaultSubscriptionsFromCurrentTenant()
|
Gets the default subscriptions configuration from the current tenant.
Returns :
Promise<DefaultSubscriptions>
The default subscriptions object with settings from the current tenant. |
Async getSubscribableTenantApps |
getSubscribableTenantApps()
|
Gets the list of applications which can be used in default subscriptions, i.e.:
Returns :
Promise<IApplication[]>
The list of applications, which can be used in default subscriptions. |
Async saveDefaultSubscriptionsToCurrentTenant | ||||||||
saveDefaultSubscriptionsToCurrentTenant(defaultSubscriptions: DefaultSubscriptions)
|
||||||||
Saves given default subscriptions configuration to the current tenant (either sets, updates, or deletes corresponding tenant options).
Parameters :
Returns :
any
|