Class CustomFormsContainer
- java.lang.Object
-
- org.guvnor.common.services.workingset.client.factconstraints.helper.CustomFormsContainer
-
public class CustomFormsContainer extends Object
-
-
Constructor Summary
Constructors Constructor Description CustomFormsContainer(Collection<CustomFormConfiguration> customFormsConfigs)CustomFormsContainer(CustomFormConfiguration[] customFormsConfigs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsCustomFormFor(String factType, String fieldName)CustomFormConfigurationgetCustomForm(String factType, String fieldName)List<CustomFormConfiguration>getCustomForms()static CustomFormConfigurationgetEmptyCustomFormConfiguration()voidputCustomForm(CustomFormConfiguration cfc)If cfc.getCustomFormURL() is empty, the CustomFormConfiguration is removed.voidremoveCustomForm(CustomFormConfiguration cfc)
-
-
-
Constructor Detail
-
CustomFormsContainer
public CustomFormsContainer(CustomFormConfiguration[] customFormsConfigs)
-
CustomFormsContainer
public CustomFormsContainer(Collection<CustomFormConfiguration> customFormsConfigs)
-
-
Method Detail
-
removeCustomForm
public void removeCustomForm(CustomFormConfiguration cfc)
-
putCustomForm
public final void putCustomForm(CustomFormConfiguration cfc)
If cfc.getCustomFormURL() is empty, the CustomFormConfiguration is removed.- Parameters:
cfc-
-
getCustomForm
public CustomFormConfiguration getCustomForm(String factType, String fieldName)
-
getCustomForms
public List<CustomFormConfiguration> getCustomForms()
-
getEmptyCustomFormConfiguration
public static CustomFormConfiguration getEmptyCustomFormConfiguration()
-
-