code: private void submitWriteTask(String action,
                                   String spaceId,
                                   String contentId,
                                   String contentChecksum,
                                   String contentMimetype,
                                   String contentSize,
                                   Map<String, String> contentProperties,
                                   String spaceACLs,
                                   String sourceSpaceId,
                                   String sourceContentId) {
          AuditTask task = new AuditTask();
          task.setAction(action);
          task.setUserId(getUserId());
          task.setDateTime(String.valueOf(System.currentTimeMillis()));
          task.setAccount(account);
          task.setStoreId(storeId);
          task.setStoreType(storeType);
          task.setSpaceId(spaceId);
          task.setSpaceACLs(spaceACLs);
          task.setContentId(contentId);
          task.setContentChecksum(contentChecksum);
          task.setContentMimetype(contentMimetype);
          task.setContentSize(contentSize);
          task.setContentProperties(contentProperties);
          task.setSourceSpaceId(sourceSpaceId);
          task.setSourceContentId(sourceContentId);
  
          Task writeTask = task.writeTask();
          taskQueue.put(writeTask);
          writeLogger.log(writeTask);
      }
docs: /*
  Handles write tasks. Write tasks are passed to the task queue and logged.