platform-components-ng/projects/platform-components-lib/src/lib/components/collection/service/publishing.service.ts
Pushing service
Properties |
Methods |
constructor(http: HttpClient)
|
||||||
|
Parameters :
|
| addStatus | ||||||||||||||||||||
addStatus(contextId: string, isPending: boolean, isPreview: boolean, channelId: String)
|
||||||||||||||||||||
|
Add publishing context status.
Parameters :
Returns :
void
void |
| cancelRequest | ||||||||||||
cancelRequest(channelId: string, isPreview: boolean)
|
||||||||||||
|
Cancel preview request.
Parameters :
Returns :
void
void |
| delay | ||||||
delay(ms: number)
|
||||||
|
Parameters :
Returns :
any
|
| download | ||||||||||||||||
download(assetId: number, versionInfo: VersionInfo, publishingChannelId: string)
|
||||||||||||||||
|
Download
Parameters :
Returns :
Observable<any>
Observable |
| downloadAssetVersionAsync | ||||||||||||||||
downloadAssetVersionAsync(assetId: number, versionInfo: VersionInfo, publishingChannelId: string)
|
||||||||||||||||
|
Download asset version async
Parameters :
Returns :
Observable<PublishingStatus>
Observable |
| getTitleDescriptionFromStatus | ||||||||
getTitleDescriptionFromStatus(status: PUBLISHING_STATUS_TYPE)
|
||||||||
|
Get Title Description From Status
Parameters :
Returns :
any
any |
| Async pollPublishingStatus | ||||||||
pollPublishingStatus(contextId: string)
|
||||||||
|
Poll publishing status
Parameters :
Returns :
Promise<Observable<PublishingStatus>>
Promise<Observable |
| publishAssetVersion | ||||||||||||||||
publishAssetVersion(assetId: number, versionInfo: VersionInfo, publishingChannelId: string)
|
||||||||||||||||
|
Public asset version
Parameters :
Returns :
Observable<any>
Observable |
| publishAssetVersionAsync | ||||||||||||||||
publishAssetVersionAsync(assetId: number, versionInfo: VersionInfo, publishingChannelId: string)
|
||||||||||||||||
|
Public asset version async
Parameters :
Returns :
Observable<PublishingStatus>
Observable |
| previewStatus |
Type : object
|
Default value : {
PUBLISHING_IN_PROGRESS: {
title: "Preparation…",
description: "Assembling and organizing content for processing."
},
PUBLISHING_PREPARATION: {
title: "Preparation…",
description: "Assembling and organizing content for processing."
},
PUBLISHING_PRE_GENERATION: {
title: "Pre-Generation…",
description: "Setting up content for the final output."
},
PUBLISHING_GENERATION: {
title: "Generation…",
description: "Executing the construction and flow to generate the preview."
},
PUBLISHING_FINALIZATION: {
title: "Finalization…",
description: "Retrieving the completed document for preview."
},
PUBLISHING_COMPLETE: {
title: "Finalization…",
description: "Retrieving the completed document for preview."
}
}
|