Commit b90c1a60 authored by arawankar's avatar arawankar

Changes made related to emp basic info srd and metadata

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180942 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a3065073
...@@ -30,7 +30,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -30,7 +30,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
Document dom2 = null; Document dom2 = null;
String errString = null; String errString = null;
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start]
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][End]
...@@ -105,11 +105,11 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -105,11 +105,11 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
//Variable defined for employee details . End //Variable defined for employee details . End
//Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
String fnameLong = "" ,firstName = ""; String fnameLong = "" ,firstName = "";
String mnameLong = "",middleName = ""; String mnameLong = "",middleName = "";
String lnameLong = "",lastName = ""; String lnameLong = "",lastName = "";
//Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
int currentFormNo = 0; int currentFormNo = 0;
//Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start] //Modified By Hemlata on[20/11/2014] [As per changes in framework to use genericUtility ][Start]
//GenericUtility genericUtility = GenericUtility.getInstance(); //GenericUtility genericUtility = GenericUtility.getInstance();
...@@ -883,7 +883,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -883,7 +883,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
System.out.println("posCodeDescr ..:: ["+posCodeDescr+"]"); System.out.println("posCodeDescr ..:: ["+posCodeDescr+"]");
valueXmlString.append("<pos_code_descr><![CDATA[").append(posCodeDescr).append("]]></pos_code_descr>\r\n"); valueXmlString.append("<pos_code_descr><![CDATA[").append(posCodeDescr).append("]]></pos_code_descr>\r\n");
} }
//Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
else if(currentColumn.equalsIgnoreCase("emp_fname_long")) else if(currentColumn.equalsIgnoreCase("emp_fname_long"))
{ {
fnameLong = checkNull(genericUtility.getColumnValue("emp_fname_long",dom,"1")) ; fnameLong = checkNull(genericUtility.getColumnValue("emp_fname_long",dom,"1")) ;
...@@ -926,7 +926,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -926,7 +926,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
System.out.println("lnameLong-["+lnameLong+"]lastName--["+lastName+"]"); System.out.println("lnameLong-["+lnameLong+"]lastName--["+lastName+"]");
valueXmlString.append("<emp_lname><![CDATA[").append(lastName).append("]]></emp_lname>\r\n"); valueXmlString.append("<emp_lname><![CDATA[").append(lastName).append("]]></emp_lname>\r\n");
} }
//Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
valueXmlString.append("</Detail1>\r\n"); valueXmlString.append("</Detail1>\r\n");
}//End of Case 1 }//End of Case 1
...@@ -1130,11 +1130,11 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -1130,11 +1130,11 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
String empCodeHod = ""; String empCodeHod = "";
//Varibles used in case 1 End //Varibles used in case 1 End
//Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
String fnameLong = "" ; String fnameLong = "" ;
String mnameLong = ""; String mnameLong = "";
String lnameLong = ""; String lnameLong = "";
//Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
int ctr = 0; int ctr = 0;
int count = 0; int count = 0;
...@@ -1356,7 +1356,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -1356,7 +1356,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
} }
} }
} }
//Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][Start][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
else if(childNodeName.equalsIgnoreCase("emp_fname_long")) else if(childNodeName.equalsIgnoreCase("emp_fname_long"))
{ {
fnameLong = checkNull(getColumnValue("emp_fname_long",dom,objContext)); fnameLong = checkNull(getColumnValue("emp_fname_long",dom,objContext));
...@@ -1408,7 +1408,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp ...@@ -1408,7 +1408,7 @@ public class EmpBasicInfo extends ValidatorEJB implements EmpBasicInfoLocal ,Emp
} }
} }
} }
//Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form] //Added by Anjali R on[21/02/2018][End][To change related to accept employee name in long form][Req ID - A17KSUN006 CCF-NO-ADM6/0127]
else if(childNodeName.equalsIgnoreCase("emp_code__link")) else if(childNodeName.equalsIgnoreCase("emp_code__link"))
{ {
count = 0; count = 0;
......
...@@ -3006,7 +3006,7 @@ ...@@ -3006,7 +3006,7 @@
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>30</limit> <limit>30</limit>
<case>any</case> <case>upper</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
...@@ -3042,7 +3042,7 @@ ...@@ -3042,7 +3042,7 @@
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>30</limit> <limit>30</limit>
<case>any</case> <case>upper</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
...@@ -3078,7 +3078,7 @@ ...@@ -3078,7 +3078,7 @@
<visible>1</visible> <visible>1</visible>
<EditStyle style="edit"> <EditStyle style="edit">
<limit>30</limit> <limit>30</limit>
<case>any</case> <case>upper</case>
<autoselect>yes</autoselect> <autoselect>yes</autoselect>
<imemode>0</imemode> <imemode>0</imemode>
</EditStyle> </EditStyle>
......
...@@ -137,9 +137,9 @@ text(band=detail alignment="1" text="First/Middle/Last Name :" border="0" color= ...@@ -137,9 +137,9 @@ text(band=detail alignment="1" text="First/Middle/Last Name :" border="0" color=
column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="168" y="47" height="16" width="85" format="[general]" html.valueishtml="0" name=emp_code tag="Unique code assigned to each employee" visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=1 alignment="0" tabsequence=10 border="5" color="0" x="168" y="47" height="16" width="85" format="[general]" html.valueishtml="0" name=emp_code tag="Unique code assigned to each employee" visible="1" edit.limit=10 edit.case=upper edit.focusrectangle=no edit.autoselect=yes edit.autohscroll=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
text(band=detail alignment="1" text="Employee Code :" border="0" color="0" x="24" y="47" height="16" width="139" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) text(band=detail alignment="1" text="Employee Code :" border="0" color="0" x="24" y="47" height="16" width="139" html.valueishtml="0" name=emp_code_t visible="1" font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="235" y="89" height="16" width="306" format="[general]" html.valueishtml="0" name=designation visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" ) column(band=detail id=5 alignment="0" tabsequence=32766 border="5" color="255" x="235" y="89" height="16" width="306" format="[general]" html.valueishtml="0" name=designation visible="1" edit.limit=0 edit.case=any edit.focusrectangle=no edit.autoselect=no edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="79741120" )
column(band=detail id=56 alignment="0" tabsequence=40 border="5" color="0" x="168" y="68" height="16" width="121" format="[general]" html.valueishtml="0" name=emp_fname_long visible="1" edit.limit=30 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=56 alignment="0" tabsequence=40 border="5" color="0" x="168" y="68" height="16" width="121" format="[general]" html.valueishtml="0" name=emp_fname_long visible="1" edit.limit=30 edit.case=upper edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=58 alignment="0" tabsequence=60 border="5" color="0" x="293" y="68" height="16" width="121" format="[general]" html.valueishtml="0" name=emp_mname_long visible="1" edit.limit=30 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=58 alignment="0" tabsequence=60 border="5" color="0" x="293" y="68" height="16" width="121" format="[general]" html.valueishtml="0" name=emp_mname_long visible="1" edit.limit=30 edit.case=upper edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
column(band=detail id=57 alignment="0" tabsequence=50 border="5" color="0" x="422" y="68" height="16" width="119" format="[general]" html.valueishtml="0" name=emp_lname_long visible="1" edit.limit=30 edit.case=any edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" ) column(band=detail id=57 alignment="0" tabsequence=50 border="5" color="0" x="422" y="68" height="16" width="119" format="[general]" html.valueishtml="0" name=emp_lname_long visible="1" edit.limit=30 edit.case=upper edit.autoselect=yes edit.imemode=0 font.face="Times New Roman" font.height="-10" font.weight="400" font.family="1" font.pitch="2" font.charset="0" background.mode="2" background.color="16777215" )
htmltable(border="1" ) htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" ) htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" encodeselflinkargs="1" netscapelayers="0" )
export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 ) export.xml(headgroups="1" includewhitespace="0" metadatatype=0 savemetadata=0 )
......
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