07-28-2006 09:10 AM
CMLMove(ParentReference to, String to_id, String associationType, String childName, Predicate where, String where_id) {
To means destination ? or is it where ? I am lost 😉
Store STORE = new Store(StoreEnum.workspace, "SpacesStore");
Predicate predicatSource = new Predicate(new Reference[]{new Reference(STORE, iDRessourceToMove, null)}, null, null);
ParentReference parentRefDestination = new ParentReference(ConnecteurGEDAlfresco.STORE, IdDestination, null, Constants.ASSOC_CONTAINS, null);
CMLMove cmlMove = new CMLMove(parentRefDestination, IdDestination, Constants.ASSOC_CONTAINS, "TEST", predicatSource, iDRessourceToMove);
CML cml = new CML();
cml.setMove(new CMLMove[]{cmlMove});
UpdateResult[] results = WebServiceFactory.getRepositoryService().update(cml);
But it's not working (and it's not throwing any exception)10-25-2006 09:14 AM
11-15-2006 04:47 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.