10-29-2014 12:32 PM
String query = "+TYPE:\"" + MyContentModel.ARTICLE + "\" +@web\\:parent:\"" + nodeId + "\"";
SearchParameters searchParameters = new SearchParameters();
searchParameters.addStore(StoreRef.STORE_REF_WORKSPACE_SPACESSTORE);
searchParameters.setLanguage(SearchService.LANGUAGE_LUCENE);
searchParameters.setQuery(query);
ResultSet rs = null;
try {
rs = searchService.query(searchParameters);
} finally {
if ( rs != null ) {rs.close();}
}
+TYPE:"{http://www.alfresco.org/model/mycontentmodel/1.0}article" +@web\:parent:"workspace://SpacesStore/72069a87-4556-4801-9688-beb6e931baf6"
10-30-2014 05:07 AM
10-30-2014 01:14 PM
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.