|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.component.cms.CMSFormProcessorConfiguration.Case
public static class CMSFormProcessorConfiguration.Case
A case of the CMSFormProcessorConfiguration.
| Constructor Summary | |
|---|---|
protected |
CMSFormProcessorConfiguration.Case()
Deprecated. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the Case. |
java.util.Map<java.lang.String,java.lang.String> |
getRegexFields()
Returns the regex fields. |
java.util.Collection<java.lang.String> |
getRequiredFields()
Returns the required fields. |
java.lang.Class<? extends ICMSFormProcessorTask> |
getTask()
Returns the class of ICMSFormProcessorTask of the
CMSFormProcessorConfiguration.Case. |
java.lang.String |
getTaskFailureRedirectURI()
Returns the URI to be used for redirects if the execution of the task has failed. |
java.lang.String |
getTaskSuccessRedirectURI()
Returns the URI to be used for redirects if the task has been successfully executed. |
boolean |
isConditionFullFilled(java.lang.String fieldName, Command command, CMSFormProcessorConfiguration.Condition.CheckType ctype)
Checks for the given field if there is a condition configured, and - if so - checks the given Command for the fulfilment of the
condition. |
boolean |
isRegexFieldUseStandardMessage(java.lang.String n)
Returns whether to use the standard error message for the regex field. |
boolean |
isRequireCaptcha()
Returns the require-captcha. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected CMSFormProcessorConfiguration.Case()
| Method Detail |
|---|
public final java.lang.String getName()
Case.
getName in interface INamedpublic final java.lang.Class<? extends ICMSFormProcessorTask> getTask()
ICMSFormProcessorTask of the
CMSFormProcessorConfiguration.Case.
ICMSFormProcessorTaskpublic final java.lang.String getTaskSuccessRedirectURI()
public final java.lang.String getTaskFailureRedirectURI()
public final boolean isRequireCaptcha()
public final java.util.Map<java.lang.String,java.lang.String> getRegexFields()
public final boolean isRegexFieldUseStandardMessage(java.lang.String n)
n - the name of the field
true, if the standard message shall be usedpublic final java.util.Collection<java.lang.String> getRequiredFields()
public final boolean isConditionFullFilled(java.lang.String fieldName, Command command, CMSFormProcessorConfiguration.Condition.CheckType ctype)
Command for the fulfilment of the
condition.
fieldName - the name of the fieldcommand - the current Commandctype - the CheckType
true if the condition is fulfilled and the check is
to be performed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||