code: protected void setDataProvider(DataProvider provider) {
  		if ((this.dataProvider != null)
  				&& (this.dataProvider.getRefreshPolicy() == DataProvider.RefreshPolicy.ON_USER_SWITCH)) {
  			getApplicationConfig()
  					.applicationSession()
  					.removePropertyChangeListener(ApplicationSession.USER, this);
  		}
  
  		this.dataProvider = provider;
  
  		if ((this.dataProvider != null)
  				&& (this.dataProvider.getRefreshPolicy() == DataProvider.RefreshPolicy.ON_USER_SWITCH)) {
  			getApplicationConfig().applicationSession().addPropertyChangeListener(
  					ApplicationSession.USER, this);
  		}
  	}
docs: Set the provider to use for data manipulation.