injectable
Service for working with dms objects: create them, delete, etc.
batchDelete (ids: string[]): any
Name Type Description ids string[]
batchDeleteTag (ids: string[] , tag: string): any
Name Type Description ids string[]tag string
batchGet (ids: string[]): any
Name Type Description ids string[]
batchUpdateTag (ids: string[] , tag: string , value: any): any
Name Type Description ids string[]tag stringvalue any
Copy given objects to a different folder. The objects will be copied with their indexdata referencing the existing content of the source object.
copyDmsObjects (targetFolderId: string | null, objects: DmsObject[] , options: ObjectCopyOptions): Observable < CoreApiResponse >
Name Type Description targetFolderId string | nullobjects DmsObject[]options ObjectCopyOptions
coreApiResponseToDmsObject (res: CoreApiResponse): DmsObject
Name Type Description res CoreApiResponse
Create new dms object(s). Providing an array of files here instead of one will create a new dms object for every file. In this case indexdata will shared across all files.
createDmsObject (objectTypeId: string , indexdata: any , files: File[] , label: string , silent: ): Observable < string[] >
Name Type Description objectTypeId stringindexdata anyfiles File[]label stringsilent “
Delete a dms object.
deleteDmsObject (id: string , silent: ): Observable < any >
Name Type Description id stringsilent “
Delete a bunch of dms objects.
deleteDmsObjects (objects: string[] | literal type[] , options: ObjectDeleteOptions): Observable < ObjectDeleteResult[] >
Name Type Description objects string[] | literal type[]options ObjectDeleteOptions
Deletes a tag from a dms object.
deleteDmsObjectTag (id: string , tag: string , silent: ): Observable < any >
Name Type Description id stringtag stringsilent “
Downloads the content of dms objects.
downloadContent (objects: DmsObject[] , withVersion: boolean): void
Name Type Description objects DmsObject[]withVersion boolean
Path of dms object content file.
getContentPath (objectId: string , version: number): string
Name Type Description objectId stringversion number
Fetch a dms object.
getDmsObject (id: string , version: number , silent: , requestOptions: HttpOptions | undefined ): Observable < DmsObject >
Name Type Description id stringversion numbersilent “ requestOptions HttpOptions | undefined
Get a bunch of dms objects.
getDmsObjects (ids: string[] , silent: ): Observable < DmsObject[] >
Name Type Description ids string[]silent “
getDmsObjectVersion (id: string , version: number): Observable < DmsObject >
Name Type Description id stringversion number
Fetch a dms object versions.
getDmsObjectVersions (id: string): Observable < DmsObject[] >
Name Type Description id string
Original API Path of dms object content file.
getFullContentPath (objectId: string , version: number , rendition: ): string
Name Type Description objectId stringversion numberrendition “
getSlideURI (objectId: string , mimeType: string): string | undefined
Name Type Description objectId stringmimeType string
Moves given objects to a different folder.
moveDmsObjects (targetFolderId: string | null, objects: DmsObject[] , options: ObjectMoveOptions): Observable < any >
Name Type Description targetFolderId string | nullobjects DmsObject[]options ObjectMoveOptions
Restore older version of a dms object.
restoreDmsObject (id: string , version: number , silent: ): Observable < any >
Name Type Description id stringversion numbersilent “
Updates a tag on a dms object.
setDmsObjectTag (id: string , tag: string , value: any , silent: ): Observable < any >
Name Type Description id stringtag stringvalue anysilent “
Map search result from the backend to applications SearchResult object
toSearchResult (searchResponse: SearchResponse): SearchResult
Name Type Description searchResponse SearchResponse
Update indexdata of a dms object.
updateDmsObject (id: string , data: any , silent: ): Observable < DmsObject >
Name Type Description id stringdata anysilent “
Updates given objects.
updateDmsObjects (objects: literal type[] , silent: ): Observable < DmsObject[] >
Name Type Description objects literal type[]silent “
Updates a tag on a dms object.
updateDmsObjectsTag (ids: string[] , tag: string , value: any , silent: ): Observable < any >
Name Type Description ids string[]tag stringvalue anysilent “
Upload (add/replace) content to a dms object.
uploadContent (objectId: string , file: File , label: string , silent: boolean): Observable < any >
Name Type Description objectId stringfile Filelabel stringsilent boolean