getSelectedContexts() {
			var oSelectedRoles = this.getModel("selectedContexts").getProperty("/selected");
			var aSelectedRoleIds = oSelectedRoles.map(function(oRole) {
				return oRole.id;
			});
			return { role: aSelectedRoleIds };
		}
Returns flexObject of selected contexts from a given context sharing component.

@returns {sap.ui.fl.variants.context.Component.SelectedContexts} Object containing selected contexts