Adds an item to the batch to be updated by this instance. The item is referenced
by a BatchItemHandle instance, and the batch
is 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..::.IIndependentlyPersistableObject
An IndependentlyPersistableObject instance
for the persisted object to update.
- 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.