05-20-2010 06:10 PM
NamedValue createDateValue = Utils.createNamedValue("{http://www.alfresco.org/model/content/1.0}created", fileDate);
NamedValue modDateValue = Utils.createNamedValue("{http://www.alfresco.org/model/content/1.0}modified", fileDate);
NamedValue[] contentProps = new NamedValue[] {createDateValue,modDateValue};
// Construct CML statement to create test doc content node
CMLCreate createDoc = new CMLCreate("ref1", docParent, null, null, null, Constants.createQNameString(NAMESPACE, CONTENT_TYPE), contentProps);
CML cml = new CML();
cml.setCreate(new CMLCreate[] {createDoc});
05-21-2010 07:48 AM
05-21-2010 08:21 AM
05-21-2010 08:44 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.