Class ConfigurationContainer
java.lang.Object
edu.internet2.middleware.grouper.grouperUi.beans.ui.ConfigurationContainer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig file name selected if anycache the config so it is consistent as the page drawsconfig file name selected if anyintimport count added propertiesintimport count fatal errorintimport count propertiesintimport count successful inserts/updatesintimport count unchangedintimport count updatedintimport count propertiescurrent config property namecurrent config property we are editingresult of the database DDL deep check (gsh -registry -deep -check), shown on the DDL deep check screenDDL deep check result rendered as HTML: each line is HTML-escaped and the lines are color coded by their leading word (Note: dark blue, Success: dark green, Warning: dark orange, Error: dark red).filter to applygui config filekeep track of the paging on the config history screenupgrade tasks (with their computed status) shown on the Configure -> Upgrade tasks screenreturn config names from the selected configbooleanif show configure linkbooleanif we have french then show it on the screenvoidsetConfig(ConfigPropertiesCascadeBase config1) cache the config so it is consistent as the page drawsvoidsetConfigFileName(ConfigFileName configFileName1) config file name selected if anyvoidsetConfigSource(String configSource) voidsetCountAdded(int countAdded1) import count added propertiesvoidsetCountError(int countFatalError1) import count fatal errorvoidsetCountProperties(int countProperties1) import count propertiesvoidsetCountSuccess(int countSuccess1) import count successful inserts/updatesvoidsetCountUnchanged(int countUnchanged1) import count unchangedvoidsetCountUpdated(int countUpdated1) import count updatedvoidsetCountWarning(int countWarning1) import count warningsvoidsetCurrentConfigFileName(String currentConfigFileName1) current config file namevoidsetCurrentConfigPropertyName(String currentConfigPropertyName1) voidsetCurrentGuiConfigProperty(GuiConfigProperty currentConfigProperty1) current config property we are editingvoidsetDdlCompareResult(GrouperDdlCompareResult ddlCompareResult1) result of the database DDL deep check (gsh -registry -deep -check), shown on the DDL deep check screenvoidfilter to applyvoidsetGuiConfigFile(GuiConfigFile guiConfigFile1) gui config filevoidsetGuiPaging(GuiPaging guiPaging) voidsetGuiPitConfigs(List<GuiPITGrouperConfigHibernate> guiPitConfigs) voidsetGuiUpgradeTasks(List<GuiUpgradeTask> guiUpgradeTasks1)
-
Constructor Details
-
ConfigurationContainer
public ConfigurationContainer()
-
-
Method Details
-
isHasFrench
public boolean isHasFrench()if we have french then show it on the screen- Returns:
- if has french
-
getCountAdded
public int getCountAdded()import count added properties- Returns:
- count
-
setCountAdded
public void setCountAdded(int countAdded1) import count added properties- Parameters:
countAdded1-
-
getCountUpdated
public int getCountUpdated()import count updated- Returns:
- import count updated
-
setCountUpdated
public void setCountUpdated(int countUpdated1) import count updated- Parameters:
countUpdated1-
-
getCountProperties
public int getCountProperties()import count properties- Returns:
- count
-
setCountProperties
public void setCountProperties(int countProperties1) import count properties- Parameters:
countProperties1-
-
getCountSuccess
public int getCountSuccess()import count successful inserts/updates- Returns:
- import count successful inserts/updates
-
setCountSuccess
public void setCountSuccess(int countSuccess1) import count successful inserts/updates- Parameters:
countSuccess1-
-
getCountUnchanged
public int getCountUnchanged()import count unchanged- Returns:
- count unchanged
-
setCountUnchanged
public void setCountUnchanged(int countUnchanged1) import count unchanged- Parameters:
countUnchanged1-
-
getCountError
public int getCountError()import count fatal error- Returns:
- count fatal
-
setCountError
public void setCountError(int countFatalError1) import count fatal error- Parameters:
countFatalError1-
-
getCountWarning
public int getCountWarning()import count properties- Returns:
-
setCountWarning
public void setCountWarning(int countWarning1) import count warnings- Parameters:
countWarning1-
-
getConfigFileNamesForImport
- Returns:
- config file names for import
-
getCurrentGuiConfigProperty
current config property we are editing -
setCurrentGuiConfigProperty
current config property we are editing -
getCurrentConfigFileName
- Returns:
- current config file name
-
setCurrentConfigFileName
current config file name- Parameters:
currentConfigFileName1-
-
getCurrentConfigPropertyName
current config property name- Returns:
-
setCurrentConfigPropertyName
- Parameters:
currentConfigPropertyName1-
-
isConfigureShow
public boolean isConfigureShow()if show configure link- Returns:
- the configure link
-
getDdlCompareResult
result of the database DDL deep check (gsh -registry -deep -check), shown on the DDL deep check screen- Returns:
- the ddl compare result
-
setDdlCompareResult
result of the database DDL deep check (gsh -registry -deep -check), shown on the DDL deep check screen- Parameters:
ddlCompareResult1-
-
getGuiUpgradeTasks
upgrade tasks (with their computed status) shown on the Configure -> Upgrade tasks screen- Returns:
- the upgrade tasks, or null if not loaded yet
-
setGuiUpgradeTasks
- Parameters:
guiUpgradeTasks1- the upgrade tasks to show
-
getDdlCompareResultHtml
DDL deep check result rendered as HTML: each line is HTML-escaped and the lines are color coded by their leading word (Note: dark blue, Success: dark green, Warning: dark orange, Error: dark red). The text is escaped in here so the JSP can output this raw inside a pre.- Returns:
- the color coded, HTML-escaped DDL compare result, or null if there is no result yet
-
getConfig
cache the config so it is consistent as the page draws- Returns:
- the config
-
getPropertyNames
return config names from the selected config- Returns:
- the config names
-
getGuiConfigFile
gui config file- Returns:
- config file
-
setGuiConfigFile
gui config file- Parameters:
guiConfigFile1-
-
setConfig
cache the config so it is consistent as the page draws- Parameters:
config1-
-
getConfigFileName
config file name selected if any- Returns:
- config file name
-
setConfigFileName
config file name selected if any- Parameters:
configFileName1-
-
getAllConfigFileNames
config file name selected if any- Returns:
- config file name array
-
setFilter
filter to apply -
getFilter
filter to apply -
getGuiPitConfigs
-
setGuiPitConfigs
-
getConfigSource
-
setConfigSource
-
getGuiPaging
keep track of the paging on the config history screen- Returns:
- the paging object, init if not there...
-
setGuiPaging
-