10-05-2006 06:04 AM
private static final Store STORE = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
…
Query query = new Query( Constants.QUERY_LANG_LUCENE, PATH:\"/app:user_home/*\"");
QueryResult queryResult = repositoryService.query(STORE, query, false);
10-05-2006 11:03 AM
// Get the ref of the user_home :
RepositoryServiceSoapBindingStub repositoryService = this.getWebServiceFactory().getRepositoryService();
Reference reference = new Reference(new Store(Constants.WORKSPACE_STORE, "SpacesStore"), null, "/app:company_home/*[@cm:name=\"" + user_home + "\"]");
Predicate predicate = new Predicate(new Reference[] { reference }, null, null);
Node[] nodes = repositoryService.get(predicate);
Reference ref = nodes[0].getReference();
// Get all the children of the user_home space
this.getWebServiceFactory().getRepositoryService().queryChildren(ref);
10-05-2006 11:05 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.