Calendar now = new GregorianCalendar();
return SlcJcrConstants.PROCESSES_BASE_PATH + '/'
+ JcrUtils.dateAsPath(now, true) + uuid;
+ }
+ /** Create a new execution result path based on the current time */
+ public static String createResultPath(String uuid) {
+ Calendar now = new GregorianCalendar();
+ return SlcJcrConstants.RESULTS_BASE_PATH + '/'
+ + JcrUtils.dateAsPath(now, true) + uuid;
}
/**
setPrimitiveAsProperty(node, propertyName, type, value);
}
- /** Map a primitive value to JCR ptoperty value. */
+ /** Map a primitive value to JCR property value. */
public static void setPrimitiveAsProperty(Node node, String propertyName,
String type, Object value) {
if (value == null)