Example #1
0
 /**
  * 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
  */
 public void setOutput(long outputContentId, ContentData outputContentData) {
   setOutputContentId(outputContentId);
   setOutputAccessType(outputContentData.getAccessType());
   setOutputType(outputContentData.getType());
 }
Example #2
0
 /**
  * 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
  */
 public void setDocument(long documentID, ContentData documentConentData) {
   setDocumentContentId(documentID);
   setDocumentAccessType(documentConentData.getAccessType());
   setDocumentType(documentConentData.getType());
 }