@Override
 public Attachment getAttachmentById(long attachId) {
   synchronized (ksession) {
     return taskService.getAttachmentById(attachId);
   }
 }