Commit d0bc44ea by Chamath

Updated the default values.

parent 67e8c8c3
......@@ -204,6 +204,7 @@ public abstract class BaseWorkFlowStage extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "use_messaging");
metaInfo.put ("defaultValue", "Boolean.FALSE");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "UseMessaging");
metaInfo.put ("type", "Boolean");
......@@ -278,7 +279,7 @@ public abstract class BaseWorkFlowStage extends BaseBusinessClass
_Name = (String)(HELPER_Name.initialise (_Name));
_UseMessaging = (Boolean)(HELPER_UseMessaging.initialise (_UseMessaging));
_UseMessaging = (Boolean)(Boolean.FALSE);
_StageType = (StageType)(HELPER_StageType.initialise (_StageType));
_SortOrder = (Integer)(HELPER_SortOrder.initialise (_SortOrder));
}
......
......@@ -287,6 +287,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "landing_button_text");
metaInfo.put ("defaultValue", "Apply Now");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "LandingButtonText");
metaInfo.put ("type", "String");
......@@ -305,6 +306,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "verification_header_text");
metaInfo.put ("defaultValue", "Please verify your identity before applying to:");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "VerificationHeaderText");
metaInfo.put ("type", "String");
......@@ -323,6 +325,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "capture_cv");
metaInfo.put ("defaultValue", "Boolean.TRUE");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "CaptureCV");
metaInfo.put ("type", "Boolean");
......@@ -341,6 +344,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "is_cv_mandatory");
metaInfo.put ("defaultValue", "Boolean.TRUE");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "IsCVMandatory");
metaInfo.put ("type", "Boolean");
......@@ -359,6 +363,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "capture_cl");
metaInfo.put ("defaultValue", "Boolean.TRUE");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "CaptureCL");
metaInfo.put ("type", "Boolean");
......@@ -377,6 +382,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "is_cl_mandatory");
metaInfo.put ("defaultValue", "Boolean.TRUE");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "IsCLMandatory");
metaInfo.put ("type", "Boolean");
......@@ -395,6 +401,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "application_button_text");
metaInfo.put ("defaultValue", "Submit");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "ApplicationButtonText");
metaInfo.put ("type", "String");
......@@ -414,6 +421,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
metaInfo.put ("attribHelper", "EnumeratedAttributeHelper");
metaInfo.put ("dbcol", "application_response_action");
metaInfo.put ("defaultValue", "ResponseAction.EMAIL_RESPONSE");
metaInfo.put ("mandatory", "true");
metaInfo.put ("name", "ApplicationResponseAction");
metaInfo.put ("type", "ResponseAction");
......@@ -432,6 +440,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "thank_you_header_text");
metaInfo.put ("defaultValue", "Thank You for your application to:");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "ThankYouHeaderText");
metaInfo.put ("type", "String");
......@@ -450,6 +459,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "thank_you_secondary_text");
metaInfo.put ("defaultValue", "We will get in touch with you soon");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "ThankYouSecondaryText");
metaInfo.put ("type", "String");
......@@ -468,6 +478,7 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
Map metaInfo = new HashMap ();
metaInfo.put ("dbcol", "job_outline_button_text");
metaInfo.put ("defaultValue", "Continue");
metaInfo.put ("mandatory", "false");
metaInfo.put ("name", "JobOutlineButtonText");
metaInfo.put ("type", "String");
......@@ -523,17 +534,17 @@ public abstract class BaseWorkFlowTemplate extends BaseBusinessClass
_TemplateName = (String)(HELPER_TemplateName.initialise (_TemplateName));
_LandingButtonText = (String)(HELPER_LandingButtonText.initialise (_LandingButtonText));
_VerificationHeaderText = (String)(HELPER_VerificationHeaderText.initialise (_VerificationHeaderText));
_CaptureCV = (Boolean)(HELPER_CaptureCV.initialise (_CaptureCV));
_IsCVMandatory = (Boolean)(HELPER_IsCVMandatory.initialise (_IsCVMandatory));
_CaptureCL = (Boolean)(HELPER_CaptureCL.initialise (_CaptureCL));
_IsCLMandatory = (Boolean)(HELPER_IsCLMandatory.initialise (_IsCLMandatory));
_ApplicationButtonText = (String)(HELPER_ApplicationButtonText.initialise (_ApplicationButtonText));
_ApplicationResponseAction = (ResponseAction)(HELPER_ApplicationResponseAction.initialise (_ApplicationResponseAction));
_ThankYouHeaderText = (String)(HELPER_ThankYouHeaderText.initialise (_ThankYouHeaderText));
_ThankYouSecondaryText = (String)(HELPER_ThankYouSecondaryText.initialise (_ThankYouSecondaryText));
_JobOutlineButtonText = (String)(HELPER_JobOutlineButtonText.initialise (_JobOutlineButtonText));
_LandingButtonText = (String)("Apply Now");
_VerificationHeaderText = (String)("Please verify your identity before applying to:");
_CaptureCV = (Boolean)(Boolean.TRUE);
_IsCVMandatory = (Boolean)(Boolean.TRUE);
_CaptureCL = (Boolean)(Boolean.TRUE);
_IsCLMandatory = (Boolean)(Boolean.TRUE);
_ApplicationButtonText = (String)("Submit");
_ApplicationResponseAction = (ResponseAction)(ResponseAction.EMAIL_RESPONSE);
_ThankYouHeaderText = (String)("Thank You for your application to:");
_ThankYouSecondaryText = (String)("We will get in touch with you soon");
_JobOutlineButtonText = (String)("Continue");
_IsGlobalTemplate = (Boolean)(HELPER_IsGlobalTemplate.initialise (_IsGlobalTemplate));
}
......
......@@ -10,7 +10,7 @@
<TABLE name="tl_work_flow_stage" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="Name" type="String" dbcol="name" mandatory="true"/>
<ATTRIB name="UseMessaging" type="Boolean" dbcol="use_messaging" mandatory="false"/>
<ATTRIB name="UseMessaging" type="Boolean" dbcol="use_messaging" mandatory="false" defaultValue="Boolean.FALSE"/>
<ATTRIB name="StageType" type="StageType" dbcol="stage_type" attribHelper="EnumeratedAttributeHelper" mandatory="true"/>
<ATTRIB name="SortOrder" type="Integer" dbcol="sort_order" mandatory="true"/>
......
......@@ -11,17 +11,17 @@
<TABLE name="tl_work_flow_template" tablePrefix="object" polymorphic="FALSE">
<ATTRIB name="TemplateName" type="String" dbcol="template_name" mandatory="true"/>
<ATTRIB name="LandingButtonText" type="String" dbcol="landing_button_text" mandatory="false"/>
<ATTRIB name="VerificationHeaderText" type="String" dbcol="verification_header_text" mandatory="false"/>
<ATTRIB name="CaptureCV" type="Boolean" dbcol="capture_cv" mandatory="false"/>
<ATTRIB name="IsCVMandatory" type="Boolean" dbcol="is_cv_mandatory" mandatory="false"/>
<ATTRIB name="CaptureCL" type="Boolean" dbcol="capture_cl" mandatory="false"/>
<ATTRIB name="IsCLMandatory" type="Boolean" dbcol="is_cl_mandatory" mandatory="false"/>
<ATTRIB name="ApplicationButtonText" type="String" dbcol="application_button_text" mandatory="false"/>
<ATTRIB name="ApplicationResponseAction" type="ResponseAction" dbcol="application_response_action" attribHelper="EnumeratedAttributeHelper" mandatory="true"/>
<ATTRIB name="ThankYouHeaderText" type="String" dbcol="thank_you_header_text" mandatory="false"/>
<ATTRIB name="ThankYouSecondaryText" type="String" dbcol="thank_you_secondary_text" mandatory="false"/>
<ATTRIB name="JobOutlineButtonText" type="String" dbcol="job_outline_button_text" mandatory="false"/>
<ATTRIB name="LandingButtonText" type="String" dbcol="landing_button_text" mandatory="false" defaultValue='"Apply Now"'/>
<ATTRIB name="VerificationHeaderText" type="String" dbcol="verification_header_text" mandatory="false" defaultValue='"Please verify your identity before applying to&#58;"'/>
<ATTRIB name="CaptureCV" type="Boolean" dbcol="capture_cv" mandatory="false" defaultValue="Boolean.TRUE"/>
<ATTRIB name="IsCVMandatory" type="Boolean" dbcol="is_cv_mandatory" mandatory="false" defaultValue="Boolean.TRUE"/>
<ATTRIB name="CaptureCL" type="Boolean" dbcol="capture_cl" mandatory="false" defaultValue="Boolean.TRUE"/>
<ATTRIB name="IsCLMandatory" type="Boolean" dbcol="is_cl_mandatory" mandatory="false" defaultValue="Boolean.TRUE"/>
<ATTRIB name="ApplicationButtonText" type="String" dbcol="application_button_text" mandatory="false" defaultValue='"Submit"'/>
<ATTRIB name="ApplicationResponseAction" type="ResponseAction" dbcol="application_response_action" attribHelper="EnumeratedAttributeHelper" mandatory="true" defaultValue="ResponseAction.EMAIL_RESPONSE"/>
<ATTRIB name="ThankYouHeaderText" type="String" dbcol="thank_you_header_text" mandatory="false" defaultValue='"Thank You for your application to&#58;"'/>
<ATTRIB name="ThankYouSecondaryText" type="String" dbcol="thank_you_secondary_text" mandatory="false" defaultValue='"We will get in touch with you soon"'/>
<ATTRIB name="JobOutlineButtonText" type="String" dbcol="job_outline_button_text" mandatory="false" defaultValue='"Continue"'/>
<ATTRIB name="IsGlobalTemplate" type="Boolean" dbcol="is_global_template" mandatory="false"/>
<SINGLEREFERENCE name="WithdrawalMessage" type="WorkFlowMessage" dbcol="withdrawal_message_id" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment