|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.Configuration
org.torweg.pulse.component.cms.CMSFormProcessorConfiguration
public class CMSFormProcessorConfiguration
The Configuration of the CMSFormProcessor.
| Nested Class Summary | |
|---|---|
static class |
CMSFormProcessorConfiguration.Case
A case of the CMSFormProcessorConfiguration. |
static class |
CMSFormProcessorConfiguration.Condition
A check- Condition. |
| Constructor Summary | |
|---|---|
protected |
CMSFormProcessorConfiguration()
Deprecated. |
| Method Summary | |
|---|---|
CMSFormProcessorConfiguration.Case |
getCase(java.lang.String caseName)
Returns a CMSFormProcessorConfiguration.Case by given
caseName. |
java.util.List<? extends CMSFormProcessorConfiguration.Case> |
getCases()
Returns the cases. |
java.util.Map<java.lang.String,java.lang.String> |
getRegexFields(java.lang.String caseName)
Returns the regex fields for the given case-name. |
java.util.Collection<java.lang.String> |
getRequiredFields(java.lang.String caseName)
Returns the required fields for the given case-name. |
java.lang.String |
getSwitchParameter()
Returns the switch-parameter. |
ICMSFormProcessorTask |
getTask(java.lang.String caseName)
Returns the (configured) ICMSFormProcessorTask for the given
case-name. |
boolean |
isRegexFieldUseStandardMessage(java.lang.String caseName,
java.lang.String fieldName)
Returns whether to use the standard error message for the regex field. |
boolean |
isRequireCaptcha(java.lang.String caseName)
Returns the require-captcha for the given case-name. |
| Methods inherited from class org.torweg.pulse.configuration.Configuration |
|---|
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected CMSFormProcessorConfiguration()
| Method Detail |
|---|
public final java.lang.String getSwitchParameter()
public final java.util.List<? extends CMSFormProcessorConfiguration.Case> getCases()
public final CMSFormProcessorConfiguration.Case getCase(java.lang.String caseName)
CMSFormProcessorConfiguration.Case by given
caseName.
caseName - the caseName
CMSFormProcessorConfiguration.Casepublic final java.util.Collection<java.lang.String> getRequiredFields(java.lang.String caseName)
caseName - the case-name
public final java.util.Map<java.lang.String,java.lang.String> getRegexFields(java.lang.String caseName)
caseName - the case-name
public final boolean isRegexFieldUseStandardMessage(java.lang.String caseName,
java.lang.String fieldName)
caseName - the case-namefieldName - the field-name
true if to use the standard error message for the regex
field, false otherwisepublic final boolean isRequireCaptcha(java.lang.String caseName)
caseName - the case-name
public final ICMSFormProcessorTask getTask(java.lang.String caseName)
ICMSFormProcessorTask for the given
case-name.
caseName - the case-name
ICMSFormProcessorTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||