refactor core

This commit is contained in:
Eugenio Romano
2021-08-15 20:07:50 +02:00
parent b8e7e79b26
commit b04308deaa
27 changed files with 160 additions and 93 deletions

View File

@@ -29,11 +29,12 @@ import { ActivitiCommentsApi } from '@alfresco/js-api';
})
export class CommentProcessService {
private commentsApi: ActivitiCommentsApi;
get commentsApi(): ActivitiCommentsApi {
return new ActivitiCommentsApi(this.apiService.getInstance());
}
constructor(private apiService: AlfrescoApiService,
private logService: LogService) {
this.commentsApi = new ActivitiCommentsApi(this.apiService.getInstance());
}
/**