implements RepositoryItem
, MutableRepositoryItem
This class includes only the external ID property plus the list of properties in a RepositoryItem
that have been changed. When, for example, updateItem
is invoked on an IntegrationRepositoryItem
, this wrapper can be passed to the update Command
instead of the RepositoryItem
. This allows us to send only the changed properties to be saved to the remote system, instead of trying to update all the properties of a repository item.
For example, if you change the middleName
property of the user profile, and the user profile is configured with an external id property called remoteId
, the ChangedPropertyBean
will only expose two properties: middleName
and remoteId
. If you call ChangedPropertyBean.getPropertyDescriptors
, the result will only contain these two properties. A ChangedPropertyBean
is read-only.