All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiCustomUiConfiguration Maven / Gradle / Ivy

There is a newer version: 5.13.5
Show newest version
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;
    
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy