reloadArchiveDetail(archiveId) {
    this.archiveReload = this.CucControllerHelper.request.getArrayLoader({
      loaderFunction: () => this.LogsStreamsArchivesService.getArchives(
        this.serviceName,
        this.streamId,
        [archiveId],
      ),
    });

    return this.archiveReload.load()
      .then((archives) => {
        const archive = archives[0];
        this.archives.data.forEach((archiveItem, archiveIndex) => {
          if (archiveItem.archiveId === archive.archiveId) {
            this.archives.data[archiveIndex] = archive;
          }
        });
        return archive;
      });
  }
/**
   * Updates the list of archive with the latest information of the archive
   *
   * @param {any} archiveId
   * @returns promise which will be resolve with the reloaded archive
   * @memberof LogsStreamsArchivesHomeCtrl
   */
Updates the list of archive with the latest information of the archive
@param {any} archiveId
@returns promise which will be resolve with the reloaded archive
@memberof LogsStreamsArchivesHomeCtrl
Updates the list of archive with the latest information of the archive @param { any } archiveId @returns promise which will be resolve with the reloaded archive @memberof LogsStreamsArchivesHomeCtrl
reloadArchiveDetail(archiveId) {
    this.archiveReload = this.CucControllerHelper.request.getArrayLoader({
      loaderFunction: () => this.LogsStreamsArchivesService.getArchives(
        this.serviceName,
        this.streamId,
        [archiveId],
      ),
    });
    return this.archiveReload.load()
      .then((archives) => {
        const archive = archives[0];
        this.archives.data.forEach((archiveItem, archiveIndex) => {
          if (archiveItem.archiveId === archive.archiveId) {
            this.archives.data[archiveIndex] = archive;
          }
        });
        return archive;
      });
  }
reloadArchiveDetail ( archiveId ) { this . archiveReload = this . CucControllerHelper . request . getArrayLoader ( { loaderFunction : ( ) => this . LogsStreamsArchivesService . getArchives ( this . serviceName , this . streamId , [ archiveId ] , ) , } ) ; return this . archiveReload . load ( ) . then ( ( archives ) => { const archive = archives [ 0 ] ; this . archives . data . forEach ( ( archiveItem , archiveIndex ) => { if ( archiveItem . archiveId === archive . archiveId ) { this . archives . data [ archiveIndex ] = archive ; } } ) ; return archive ; } ) ; }
Updates the list of archive with the latest information of the archive
 @param {any} archiveId
 @returns promise which will be resolve with the reloaded archive
 @memberof LogsStreamsArchivesHomeCtrl
Updates the list of archive with the latest information of the archive @param { any } archiveId @returns promise which will be resolve with the reloaded archive @memberof LogsStreamsArchivesHomeCtrl