ecosystem/ecosystem.service.ts
Properties |
Methods |
|
constructor(modal: ModalService, alertService: AlertService, humanizeAppName: HumanizeAppNamePipe, translateService: TranslateService, applicationService: ApplicationService, appStateService: AppStateService, zipService: ZipService, tenantService: TenantService)
|
|||||||||||||||||||||||||||
Parameters :
|
cancelAppCreation | ||||||
cancelAppCreation(app: IApplication)
|
||||||
Parameters :
Returns :
void
|
Async canDeleteApp | ||||||
canDeleteApp(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<boolean>
|
canOpenAppInBrowser | ||||||
canOpenAppInBrowser(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
Async checkIfSubscribed | ||||||
checkIfSubscribed(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<boolean>
|
Async createAppForArchive | ||||||||||||
createAppForArchive(archive, isPackageTypeArchive: boolean)
|
||||||||||||
Parameters :
Returns :
Promise<IApplication>
|
createConfig | |||||||||
createConfig(app: IApplication, formGroupValue: FormGroup)
|
|||||||||
Parameters :
Returns :
Partial<FormGroup>
|
Async deleteApp | ||||||
deleteApp(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<void>
|
Async deleteArchive | |||||||||
deleteArchive(archive: IApplicationBinary, app: IApplication)
|
|||||||||
Parameters :
Returns :
Promise<void>
|
Async downloadArchive | |||||||||
downloadArchive(app: IApplication, archive: IApplicationBinary)
|
|||||||||
Parameters :
Returns :
Promise<void>
|
getApplication | ||||||
getApplication(appId: IdReference)
|
||||||
Parameters :
Returns :
IApplication
|
getApplications | ||||||||
getApplications(customFilter: any)
|
||||||||
Parameters :
Returns :
Promise<IResultList<IApplication>>
|
getAppState | ||||||
getAppState(app: IApplication)
|
||||||
Parameters :
Returns :
ApplicationState
|
Async getFeatureApplications | ||||||||
getFeatureApplications(customFilter: any)
|
||||||||
Parameters :
Returns :
Promise<IApplication[]>
|
getHumanizedAppName | ||||||
getHumanizedAppName(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<string>
|
Async getMicroservices |
getMicroservices()
|
Returns :
Promise<IApplication[]>
|
Async getPackageApplications | ||||||||
getPackageApplications(customFilter: any)
|
||||||||
Parameters :
Returns :
Promise<IApplication[]>
|
getUniqueAppConfig | |||||||||
getUniqueAppConfig(srcApp: IApplication, existingApps: IApplication[])
|
|||||||||
Parameters :
Returns :
IApplication
|
Async getWebApplications | ||||||||
getWebApplications(customFilter: any)
|
||||||||
Parameters :
Returns :
Promise<IApplication[]>
|
hasExports | ||||||
hasExports(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
Async hasSubscribedAppParent | ||||||
hasSubscribedAppParent(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<boolean>
|
isApplication | ||||||
isApplication(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isCustomMicroservice | ||||||
isCustomMicroservice(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isExternal | ||||||
isExternal(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isFeature | ||||||
isFeature(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isMicroservice | ||||||
isMicroservice(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
Async isMicroserviceHostingAllowed |
isMicroserviceHostingAllowed()
|
Returns :
Promise<boolean>
|
Async isOverwrittenByCustomApp | ||||||
isOverwrittenByCustomApp(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<boolean>
|
isOwner | ||||||
isOwner(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isPackage | ||||||
isPackage(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isPackageBlueprint | ||||||
isPackageBlueprint(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isPluginsPackage | ||||||
isPluginsPackage(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
isUnpacked | ||||||
isUnpacked(app: IApplication)
|
||||||
Parameters :
Returns :
boolean
|
Async isValidAppType | |||||||||
isValidAppType(archive: File, appType: ApplicationType)
|
|||||||||
Parameters :
Returns :
Promise<boolean>
|
Async listArchives | ||||||
listArchives(appId: string | number | IApplication)
|
||||||
Parameters :
Returns :
Promise<IApplicationBinary[]>
|
Async reactivateArchive | ||||||
reactivateArchive(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<void>
|
Async removeOldestArchive | |||||||||
removeOldestArchive(app: IApplication, archives: IApplicationBinary[])
|
|||||||||
Parameters :
Returns :
Promise<void>
|
setAppActiveVersion | |||||||||
setAppActiveVersion(app: IApplication, activeVersionId: string)
|
|||||||||
Parameters :
Returns :
Promise<IApplication>
|
Async subscribeApp | ||||||
subscribeApp(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<void>
|
Async unsubscribeApp | ||||||
unsubscribeApp(app: IApplication)
|
||||||
Parameters :
Returns :
Promise<void>
|
Async updateApp | ||||||||||||
updateApp(app: IApplication, deleteOnFailure: boolean)
|
||||||||||||
Parameters :
Returns :
Promise<IResult<IApplication>>
|
Async updateAppManifest | |||||||||
updateAppManifest(application: IApplication, sourcePackage: IApplication)
|
|||||||||
Parameters :
Returns :
Promise<literal type>
|
updateUploadProgress | ||||
updateUploadProgress(event)
|
||||
Parameters :
Returns :
void
|
Async uploadArchiveToApp | |||||||||
uploadArchiveToApp(archive: File, app: IApplication)
|
|||||||||
Parameters :
Returns :
Promise<IApplication>
|
appDeleted |
Default value : new EventEmitter<IApplication>()
|
progress |
Type : BehaviorSubject<number>
|
Default value : new BehaviorSubject<number>(null)
|