edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiGshTemplateConfiguration 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.gsh.template.GshTemplateConfiguration;
public class GuiGshTemplateConfiguration {
private GshTemplateConfiguration gshTemplateConfiguration;
private GuiGshTemplateConfiguration(GshTemplateConfiguration gshTemplateConfiguration) {
this.gshTemplateConfiguration = gshTemplateConfiguration;
}
public GshTemplateConfiguration getGshTemplateConfiguration() {
return gshTemplateConfiguration;
}
public static GuiGshTemplateConfiguration convertFromGshTemplateConfiguration(GshTemplateConfiguration gshTemplateConfiguration) {
return new GuiGshTemplateConfiguration(gshTemplateConfiguration);
}
public static List convertFromGshTemplateConfiguration(List gshTemplateConfigurations) {
List guiGshTemplateConfigs = new ArrayList();
for (GshTemplateConfiguration gshTemplateConfiguration: gshTemplateConfigurations) {
guiGshTemplateConfigs.add(convertFromGshTemplateConfiguration(gshTemplateConfiguration));
}
return guiGshTemplateConfigs;
}
}