function getChangesForView(mPropertyBag) {
		const aAllApplicableUIChanges = FlexObjectState.getAllApplicableUIChanges(mPropertyBag.reference);
		return aAllApplicableUIChanges.filter(ChangesUtils.isChangeInView.bind(undefined, mPropertyBag));
	}
Gets the changes for the given view id. The complete view prefix has to match.

Example:
Change has selector id:
view1--view2--controlId

Will match for view:
view1--view2

Will not match for view:
view1
view1--view2--view3

@param {object} mPropertyBag contains additional data that are needed for reading of changes
@param {string} mPropertyBag.viewId - id of the view
@param {string} mPropertyBag.name - name of the view
@param {sap.ui.core.Component} mPropertyBag.appComponent - Application component for the view
@param {string} mPropertyBag.componentId - responsible component's id for the view
@param {sap.ui.core.util.reflection.BaseTreeModifier} mPropertyBag.modifier - responsible modifier
@returns {Promise} resolving with an array of changes
@public