edu.internet2.middleware.grouper.grouperUi.beans.ui.GuiPrivacyRealmConfiguration 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.GrouperPrivacyRealmConfiguration;
public class GuiPrivacyRealmConfiguration {
private GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration;
public GrouperPrivacyRealmConfiguration getGrouperPrivacyRealmConfiguration() {
return grouperPrivacyRealmConfiguration;
}
private GuiPrivacyRealmConfiguration(GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration) {
this.grouperPrivacyRealmConfiguration = grouperPrivacyRealmConfiguration;
}
public static GuiPrivacyRealmConfiguration convertFromPrivacyRealmConfiguration(GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration) {
return new GuiPrivacyRealmConfiguration(grouperPrivacyRealmConfiguration);
}
public static List convertFromPrivacyRealmConfiguration(List privacyRealmConfigurations) {
List guiPrivacyRealmConfigs = new ArrayList();
for (GrouperPrivacyRealmConfiguration grouperPrivacyRealmConfiguration: privacyRealmConfigurations) {
guiPrivacyRealmConfigs.add(convertFromPrivacyRealmConfiguration(grouperPrivacyRealmConfiguration));
}
return guiPrivacyRealmConfigs;
}
}