【问题标题】:Web Content Management how to find all the descendants of a contentWeb Content Management 如何查找内容的所有后代
【发布时间】:2017-07-19 21:52:25
【问题描述】:

我想在 IBM WCM 的站点区域内显示所有后代内容。 但是现在,我只能找到 API 来查找某个项目,而不是该内容的所有后代。 用于此的 API 是 findAllByPath API:

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

谢谢

【问题讨论】:

    标签: wcm ibm-wcm


    【解决方案1】:

    不确定您是否解决了这个问题,但您可以使用查询服务为给定的父查询返回子查询

    【讨论】:

    • 是的,我使用了 DocumentIdIterator docIdt = siteArea.getDirectChildren(Workspace.WORKFLOWSTATUS_PUBLISHED | Workspace.WORKFLOWSTATUS_DRAFT | Workspace.WORKFLOWSTATUS_EXPIRED);
    猜你喜欢
    • 1970-01-01
    • 2011-11-07
    • 1970-01-01
    • 1970-01-01
    • 2013-07-18
    • 2012-02-17
    • 2021-10-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多