edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiCustomUiConfiguration 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.app.customUi.CustomUiConfiguration;
public class GuiCustomUiConfiguration {
private CustomUiConfiguration customUiConfiguration;
private GuiCustomUiConfiguration(CustomUiConfiguration customUiConfiguration) {
this.customUiConfiguration = customUiConfiguration;
}
public CustomUiConfiguration getCustomUiConfiguration() {
return customUiConfiguration;
}
public static GuiCustomUiConfiguration convertFromCustomUiConfiguration(CustomUiConfiguration customUiConfiguration) {
return new GuiCustomUiConfiguration(customUiConfiguration);
}
public static List convertFromCustomUiConfiguration(List customUiConfigurations) {
List guiCustomUiConfigs = new ArrayList();
for (CustomUiConfiguration gshTemplateConfiguration: customUiConfigurations) {
guiCustomUiConfigs.add(convertFromCustomUiConfiguration(gshTemplateConfiguration));
}
return guiCustomUiConfigs;
}
}