Interface QueryItemVersionParamGenerator
-
- All Superinterfaces:
DatabaseApiValue,QueryItemVersionParam
public interface QueryItemVersionParamGenerator extends QueryItemVersionParam
A generator for input parameters used when querying for item versions associated with an item.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QueryItemVersionParamGeneratorwithItemVersionInclusionOptions(QueryItemVersionInclusionOption... itemVersionInclusionOptions)Set the inclusion options determining the selection of item's whose versions should be included in the query result.QueryItemVersionParamGeneratorwithItemVersionInclusionOptions(java.util.Collection<QueryItemVersionInclusionOption> itemVersionInclusionOptions)Set the inclusion options determining the selection of item's whose versions should be included in the query result.-
Methods inherited from interface com.comsol.api.database.param.QueryItemVersionParam
itemVersionInclusionOptions
-
-
-
-
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_ANCILLARYto 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_ANCILLARYto 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.
-
-