Interface QueryItemVersionParamGenerator

    • Method Detail

      • withItemVersionInclusionOptions

        default QueryItemVersionParamGenerator withItemVersionInclusionOptions​(QueryItemVersionInclusionOption... itemVersionInclusionOptions)

        Set the inclusion options determining the selection of item's whose versions should be included in the query result. May be skipped, in which case only versions belonging to the item itself are included.

        Passing QueryItemVersionInclusionOption.INCLUDE_ANCILLARY to this method will include, for example, all versions of drafts created from the item in the query result.

        Parameters:
        itemVersionInclusionOptions - The inclusion options to use when querying for item versions.
        Returns:
        A copy of this instance.
      • withItemVersionInclusionOptions

        QueryItemVersionParamGenerator withItemVersionInclusionOptions​(java.util.Collection<QueryItemVersionInclusionOption> itemVersionInclusionOptions)

        Set the inclusion options determining the selection of item's whose versions should be included in the query result. May be skipped, in which case only versions belonging to the item itself are included in the query result

        Passing QueryItemVersionInclusionOption.INCLUDE_ANCILLARY to this method will include, for example, all versions of drafts created from the item in the query result.

        Parameters:
        itemVersionInclusionOptions - The inclusion options to use when querying for item versions.
        Returns:
        A copy of this instance.