edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiDataProviderConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grouper-ui Show documentation
Show all versions of grouper-ui Show documentation
Internet2 Groups Management User Interface
package edu.internet2.middleware.grouper.grouperUi.beans.ui;
import java.util.ArrayList;
import java.util.List;
import edu.internet2.middleware.grouper.dataField.GrouperDataProviderConfiguration;
public class GuiDataProviderConfiguration {
private GrouperDataProviderConfiguration grouperDataProviderConfiguration;
public GrouperDataProviderConfiguration getGrouperDataProviderConfiguration() {
return grouperDataProviderConfiguration;
}
private GuiDataProviderConfiguration(GrouperDataProviderConfiguration grouperDataProviderConfiguration) {
this.grouperDataProviderConfiguration = grouperDataProviderConfiguration;
}
public static GuiDataProviderConfiguration convertFromDataProviderConfiguration(GrouperDataProviderConfiguration grouperDataProviderConfiguration) {
return new GuiDataProviderConfiguration(grouperDataProviderConfiguration);
}
public static List convertFromDataProviderConfiguration(List dataProviderConfigurations) {
List guiDataRowConfigs = new ArrayList();
for (GrouperDataProviderConfiguration grouperDataProviderConfiguration: dataProviderConfigurations) {
guiDataRowConfigs.add(convertFromDataProviderConfiguration(grouperDataProviderConfiguration));
}
return guiDataRowConfigs;
}
}