03-17-2010 09:30 AM
StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");
ResultSet rs = searchService.query(storeRef, SearchService.LANGUAGE_XPATH,
"/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1....");
NodeRef my = rs.getNodeRef(0);03-18-2010 10:34 AM
ResultSet resultSet = searchService.query(new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore") ,
SearchService.LANGUAGE_LUCENE, "PATH:\"/app:company_home/cm:承認後\"");
try
{
if (resultSet.length() == 0)
{
throw new AlfrescoRuntimeException("Didn't find 承認後");
}
destinationWalker = resultSet.getNodeRef(0);
}
finally
{
resultSet.close();
}
01-11-2011 10:06 AM
Node does not exist: workspace://SpacesStore/6452d70d-56e9-4197-a1b9-9fccb702288e"@cm\\:modified:["+tdate+" TO "+fdate+"]"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.