/** * Invoke the copy trans function for a document. * * @param document The document to copy translations into. */ private void copyTranslations(HDocument document) { if (applicationConfiguration.isCopyTransEnabled()) { copyTransServiceImpl.copyTransForDocument(document, null); } }
@Override protected void callCopyTrans() { CopyTransService copyTransServiceImpl = (CopyTransService) Component.getInstance(CopyTransServiceImpl.class); copyTransServiceImpl.copyTransForIteration(projectIteration, copyTransOptions); }