File

default-subscriptions/default-subscriptions.service.ts

Index

Methods

Constructor

constructor(applicationService: ApplicationService, tenantService: TenantService, tenantOptionsService: TenantOptionsService, humanizeAppNamePipe: HumanizeAppNamePipe)
Parameters :
Name Type Optional
applicationService ApplicationService No
tenantService TenantService No
tenantOptionsService TenantOptionsService No
humanizeAppNamePipe HumanizeAppNamePipe No

Methods

Async getDefaultSubscriptionsEvaluatedFromParentTenant
getDefaultSubscriptionsEvaluatedFromParentTenant()

Gets the default subscriptions configuration inherited from parent tenant.

The default subscriptions object with settings from parent tenant.

Async getDefaultSubscriptionsFromCurrentTenant
getDefaultSubscriptionsFromCurrentTenant()

Gets the default subscriptions configuration from the current tenant.

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.:

  • current tenant's all own applications,
  • inherited applications, which do not have the same names as current tenant's own apps. The list is sorted alphabetically by humanized app name and contains up to 2000 items.

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 :
Name Type Optional Description
defaultSubscriptions DefaultSubscriptions No

The default subscriptions configuration to be saved.

Returns : any

results matching ""

    No results matching ""