code: public void setDocument(long documentID, ContentData documentConentData) {
          setDocumentContentId(documentID);
          setDocumentAccessType(documentConentData.getAccessType());
          setDocumentType(documentConentData.getType());
      }
docs: Sets the document content data for this task data. It will set the <field>documentContentId</field> from the specified
  documentID, <field>documentAccessType</field>, <field>documentType</field> from the specified
  documentConentData.
  @param documentID id of document content
  @param documentConentData ContentData