code: public void setOutput(long outputContentId, ContentData outputContentData) {
          setOutputContentId(outputContentId);
          setOutputAccessType(outputContentData.getAccessType());
          setOutputType(outputContentData.getType());
      }
docs: Sets the content data for this task data. It will set the <field>outputContentId</field> from the specified
  outputContentId, <field>outputAccessType</field>, <field>outputType</field> from the specified
  outputContentData.
  @param outputContentId id of output content
  @param outputContentData contentData