Class RegistrationTranslationAction
- java.lang.Object
-
- pl.edu.icm.unity.types.translation.TranslationAction
-
- pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
-
- pl.edu.icm.unity.engine.api.translation.form.RegistrationTranslationAction
-
public abstract class RegistrationTranslationAction extends TranslationActionInstance
Base of all actions operating on a contents of a registration request submitted by a prospective user. Wraps of invocation with logging and exception protection.- Author:
- K. Benedyczak
-
-
Field Summary
-
Fields inherited from class pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
actionType
-
-
Constructor Summary
Constructors Constructor Description RegistrationTranslationAction(pl.edu.icm.unity.types.translation.TranslationActionType actionType, java.lang.String[] parameters)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidinvoke(TranslatedRegistrationRequest state, java.lang.Object mvelCtx, java.lang.String currentProfile)Performs the translation.protected abstract voidinvokeWrapped(TranslatedRegistrationRequest state, java.lang.Object mvelCtx, java.lang.String currentProfile)-
Methods inherited from class pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
checkParams, equals, getActionType, hashCode
-
-
-
-
Method Detail
-
invoke
public final void invoke(TranslatedRegistrationRequest state, java.lang.Object mvelCtx, java.lang.String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
Performs the translation.- Parameters:
state-mvelCtx- context which can be used in MVEL expression evaluationcurrentProfile- name of the current profile- Throws:
pl.edu.icm.unity.exceptions.EngineException- when an error occurs. You can throwExecutionBreakExceptionto gently stop the processing of further rules.
-
invokeWrapped
protected abstract void invokeWrapped(TranslatedRegistrationRequest state, java.lang.Object mvelCtx, java.lang.String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
-