07-31-2006 07:20 PM
AuthenticationUtils.startSession(credentials.getUsername(), credentials.getPassword());
Store store = new Store(StoreEnum.workspace, StoreName);
String queryString = "@cm\\{http\\://www.alfresco.org/1.0\\}name:\'conditioninspection*\"";
Query query = new Query(QueryLanguageEnum.lucene, queryString);
QueryResult queryResult = WebServiceFactory.getRepositoryService().query(store, query, true);
ResultSet rs = null;
ResultSetRow[] rows = null;
int rowCount = 0;
if (queryResult!=null)
{
rs = queryResult.getResultSet();
if (rs!=null)
{
rows = rs.getRows();
if (rows!=null)
rowCount = rows.length;
}
}
08-01-2006 11:58 AM
String queryString = "@cm\\{http\\://www.alfresco.org/1.0\\}name:conditioninspection*";
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.