As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
ResultSet rs = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, "TYPE:\"{http://www.alfresco.org/model/website/1.0}webassetCollection\""); log.debug("{http://www.alfresco.org/model/website/1.0}webassetCollection -> " + rs.length()); rs = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, "TYPE:\"{http://www.alfresco.org/model/website/1.0}article\""); log.debug("{http://www.alfresco.org/model/website/1.0}article -> " + rs.length()); rs = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, "TYPE:\"{http://www.alfresco.org/model/content/1.0}folder\""); log.debug("{http://www.alfresco.org/model/content/1.0}folder -> " + rs.length()); rs = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, "@cm\\:name:\"collections\""); log.debug("@cm\\:name:\"collections\" -> " + rs.length()); rs = searchService.query(storeRef, SearchService.LANGUAGE_LUCENE, "ID:workspace\\://SpacesStore/e59a0792-f436-46a4-b42a-a46f235dcc31"); // A website article node log.debug("ID:workspace\\://SpacesStore/e59a0792-f436-46a4-b42a-a46f235dcc31 -> " + rs.length());
2012-08-16 22:57:00,018 DEBUG [org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] [DefaultScheduler_Worker-3] {http://www.alfresco.org/model/website/1.0}webassetCollection -> 0 2012-08-16 22:57:00,029 DEBUG [org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] [DefaultScheduler_Worker-3] {http://www.alfresco.org/model/website/1.0}article -> 0 2012-08-16 22:57:00,047 DEBUG [org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] [DefaultScheduler_Worker-3] {http://www.alfresco.org/model/content/1.0}folder -> 66 2012-08-16 22:57:00,058 DEBUG [org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] [DefaultScheduler_Worker-3] @cm\:name:"collections" -> 0 2012-08-16 22:57:00,062 DEBUG [org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] [DefaultScheduler_Worker-3] ID:workspace\://SpacesStore/e59a0792-f436-46a4-b42a-a46f235dcc31 -> 0 2012-08-16 22:57:00,115 DEBUG [org_alfresco_module_wcmquickstart.jobs.DynamicCollectionProcessor] [DefaultScheduler_Worker-3] {http://www.alfresco.org/model/content/1.0}content -> 131
AuthenticationUtil.runAs(new RunAsWork<Object>() { @Override public Object doWork() throws Exception { transactionService.getRetryingTransactionHelper().doInTransaction( new RetryingTransactionCallback<Object>() { @Override public Object execute() throws Throwable { … … } }); return null; } }, AuthenticationUtil.SYSTEM_USER_NAME);