Adds an object reference to the batch to be retrieved by this instance.
The object is referenced by a BatchItemHandle instance, and the
batch contains a list of BatchItemHandle instances.
Namespace:
FileNet.Api.Core
Assembly:
FileNet.Api (in FileNet.Api.dll)
JavaScript |
---|
function add(object_Renamed, filter); |
Parameters
- object_Renamed
- Type: FileNet.Api.Core..::.IIndependentObject
An IndependentObject instance for
the object to add.
- filter
- Type: FileNet.Api.Property..::.PropertyFilter
A PropertyFilter object that represents information for
controlling which property values (and with what level of detail and recursion) to return.
If null, this method returns values for all non-object properties and returns
placeholders for all object-valued properties (PropertyEngineObject
properties with a state of PropertyState.UNEVALUATED or
PropertyState.REFERENCE); any subsequent attempts to access an object-valued
property will cause an automatic round-trip to the server to fetch its value.
Return Value
A
BatchItemHandle instance representing the object added
to the batch.