05-30-2006 11:16 AM
05-31-2006 05:34 AM
Store store = new Store(StoreEnum.workspace, "SpacesStore");
Reference reference = new Reference(store, null, path);
ParentReference parentReference = new ParentReference(store,
reference.getUuid(),
reference.getPath(),
Constants.ASSOC_CONTAINS,
Constants.createQNameString(Constants.NAMESPACE_CONTENT_MODEL, name));
NamedValue[] properties = new NamedValue[]{new NamedValue(Constants.PROP_NAME, name)};
CMLCreate create = new CMLCreate(name, parentReference, Constants.TYPE_FOLDER, properties);
CML cml = new CML();
cml.setCreate(new CMLCreate[]{create});
this.repositoryService.update(cml);
05-31-2006 06:30 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.