2017-07-19 86 views
0

我想在IBM WCM的站點區域中顯示所有後代內容。 但現在,我只能找到API來查找某個項目,但不是所有內容的後代。 這樣做的API是findAllByPath API:Web Content Management如何查找內容的所有後代

DocumentIdIterator findAllByPath(java.lang.String namePath, 
          DocumentType documentType, 
          int workflowStatusFilter, 
          DocumentLibrary[] documentLibraries) 

謝謝

回答

0

不知道你是否解決了這一點,但你可以使用查詢服務,爲給定父查詢

+0

是回孩子,我用\t \t DocumentIdIterator docIdt = siteArea.getDirectChildren(Workspace.WORKFLOWSTATUS_PUBLISHED | Workspace.WORKFLOWSTATUS_DRAFT | Workspace.WORKFLOWSTATUS_EXPIRED); – ChProgrammer

相關問題