edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiDataProviderQueryConfiguration 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
The newest version!
package edu.internet2.middleware.grouper.grouperUi.beans.ui;
import java.util.ArrayList;
import java.util.List;
import edu.internet2.middleware.grouper.dataField.GrouperDataProviderQueryConfiguration;
public class GuiDataProviderQueryConfiguration {
private GrouperDataProviderQueryConfiguration grouperDataProviderQueryConfiguration;
public GrouperDataProviderQueryConfiguration getGrouperDataProviderQueryConfiguration() {
return grouperDataProviderQueryConfiguration;
}
private GuiDataProviderQueryConfiguration(GrouperDataProviderQueryConfiguration grouperDataProviderQueryConfiguration) {
this.grouperDataProviderQueryConfiguration = grouperDataProviderQueryConfiguration;
}
public static GuiDataProviderQueryConfiguration convertFromDataProviderQueryConfiguration(GrouperDataProviderQueryConfiguration grouperDataProviderQueryConfiguration) {
return new GuiDataProviderQueryConfiguration(grouperDataProviderQueryConfiguration);
}
public static List convertFromDataProviderQueryConfiguration(List dataProviderQueryConfigurations) {
List guiDataProviderQueryConfigs = new ArrayList();
for (GrouperDataProviderQueryConfiguration grouperDataProviderConfiguration: dataProviderQueryConfigurations) {
guiDataProviderQueryConfigs.add(convertFromDataProviderQueryConfiguration(grouperDataProviderConfiguration));
}
return guiDataProviderQueryConfigs;
}
}