Update

Updates the Enterprise referenced by the supplied EnterpriseHandle and based on the values specified in the supplied in the EnterpriseUpdater. UpdateMode controls how the update is performed. Returns a new Enterprise snapshot based on the supplied Projection.

enterprise updateEnterprise( beeId handle , enterpriseUpdater updater , updateMode snapshotid , Projection projection )

Parameters

handle
Type: beeId
updater
Type: enterpriseUpdater EnterpriseUpdater
snapshotid
Type: updateMode determine if the entity should always be updated or if optimistic locking should be used.
projection
ProjectionWrapper