Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
1c6c25b3
Commit
1c6c25b3
authored
Apr 29, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S32578221 # Client - Incoming Issues (raised by Client) #Formatting of error
parent
ec7973df
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
40 additions
and
36 deletions
+40
-36
AssessmentCriteriaTemplate.xml
cmsWebApp/sql/AssessmentCriteriaTemplate.xml
+1
-1
Job.xml
cmsWebApp/sql/Job.xml
+1
-1
AssessmentCriteriaTemplate.sql
cmsWebApp/sql/ms/AssessmentCriteriaTemplate.sql
+1
-1
Job.sql
cmsWebApp/sql/ms/Job.sql
+1
-1
AssessmentCriteriaTemplate.sql
cmsWebApp/sql/oracle/AssessmentCriteriaTemplate.sql
+1
-1
Job.sql
cmsWebApp/sql/oracle/Job.sql
+1
-1
AssessmentCriteriaTemplate.sql
cmsWebApp/sql/postgres/AssessmentCriteriaTemplate.sql
+1
-1
Job.sql
cmsWebApp/sql/postgres/Job.sql
+1
-1
ProcessCultureFP.java
cmsWebApp/src/performa/form/ProcessCultureFP.java
+0
-7
SaveJobFP.java
cmsWebApp/src/performa/form/SaveJobFP.java
+0
-2
AssessmentCriteriaTemplate.xml
cmsWebApp/src/performa/orm/AssessmentCriteriaTemplate.xml
+1
-1
BaseAssessmentCriteriaTemplate.java
...bApp/src/performa/orm/BaseAssessmentCriteriaTemplate.java
+4
-1
BaseJob.java
cmsWebApp/src/performa/orm/BaseJob.java
+4
-0
Job.java
cmsWebApp/src/performa/orm/Job.java
+15
-2
Job.xml
cmsWebApp/src/performa/orm/Job.xml
+1
-1
common.css
cmsWebApp/webroot/css/common.css
+1
-1
job_detail.jsp
cmsWebApp/webroot/extensions/adminportal/job_detail.jsp
+4
-0
job_start_point.jsp
cmsWebApp/webroot/extensions/adminportal/job_start_point.jsp
+0
-13
fieldnamesOverride.txt
...ot/extensions/adminportal/messages/fieldnamesOverride.txt
+2
-0
No files found.
cmsWebApp/sql/AssessmentCriteriaTemplate.xml
View file @
1c6c25b3
...
...
@@ -27,7 +27,7 @@
<column
name=
"client_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"hiring_team_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"company_user_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"job_title_id"
type=
"Long"
length=
"11"
nullable=
"
tru
e"
/>
<column
name=
"job_title_id"
type=
"Long"
length=
"11"
nullable=
"
fals
e"
/>
</NODE>
<NODE
name=
"INDEX"
factory=
"Participant"
class=
"oneit.sql.transfer.DefineIndexOperation"
tableName=
"tl_assessment_template"
indexName=
"idx_tl_assessment_template_TemplateID"
isUnique=
"true"
><column
name=
"template_name"
/><column
name=
"hiring_team_id"
/><column
name=
"company_user_id"
/></NODE>
...
...
cmsWebApp/sql/Job.xml
View file @
1c6c25b3
...
...
@@ -41,7 +41,7 @@
<column
name=
"occupation_id"
type=
"Long"
length=
"11"
nullable=
"false"
/>
<column
name=
"shortened_url_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"template_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"job_title_id"
type=
"Long"
length=
"11"
nullable=
"
tru
e"
/>
<column
name=
"job_title_id"
type=
"Long"
length=
"11"
nullable=
"
fals
e"
/>
</NODE>
<NODE
name=
"INDEX"
factory=
"Participant"
class=
"oneit.sql.transfer.DefineIndexOperation"
tableName=
"tl_job"
indexName=
"idx_tl_job_client_id"
isUnique=
"false"
><column
name=
"client_id"
/></NODE>
...
...
cmsWebApp/sql/ms/AssessmentCriteriaTemplate.sql
View file @
1c6c25b3
...
...
@@ -27,7 +27,7 @@ CREATE TABLE tl_assessment_template (
client_id
numeric
(
12
)
NULL
,
hiring_team_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
,
job_title_id
numeric
(
12
)
NULL
job_title_id
numeric
(
12
)
N
OT
N
ULL
);
...
...
cmsWebApp/sql/ms/Job.sql
View file @
1c6c25b3
...
...
@@ -41,7 +41,7 @@ CREATE TABLE tl_job (
occupation_id
numeric
(
12
)
NOT
NULL
,
shortened_url_id
numeric
(
12
)
NULL
,
template_id
numeric
(
12
)
NULL
,
job_title_id
numeric
(
12
)
NULL
job_title_id
numeric
(
12
)
N
OT
N
ULL
);
...
...
cmsWebApp/sql/oracle/AssessmentCriteriaTemplate.sql
View file @
1c6c25b3
...
...
@@ -28,7 +28,7 @@ CREATE TABLE tl_assessment_template (
client_id
number
(
12
)
NULL
,
hiring_team_id
number
(
12
)
NULL
,
company_user_id
number
(
12
)
NULL
,
job_title_id
number
(
12
)
NULL
job_title_id
number
(
12
)
N
OT
N
ULL
);
...
...
cmsWebApp/sql/oracle/Job.sql
View file @
1c6c25b3
...
...
@@ -42,7 +42,7 @@ CREATE TABLE tl_job (
occupation_id
number
(
12
)
NOT
NULL
,
shortened_url_id
number
(
12
)
NULL
,
template_id
number
(
12
)
NULL
,
job_title_id
number
(
12
)
NULL
job_title_id
number
(
12
)
N
OT
N
ULL
);
...
...
cmsWebApp/sql/postgres/AssessmentCriteriaTemplate.sql
View file @
1c6c25b3
...
...
@@ -28,7 +28,7 @@ CREATE TABLE tl_assessment_template (
client_id
numeric
(
12
)
NULL
,
hiring_team_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
,
job_title_id
numeric
(
12
)
NULL
job_title_id
numeric
(
12
)
N
OT
N
ULL
);
...
...
cmsWebApp/sql/postgres/Job.sql
View file @
1c6c25b3
...
...
@@ -42,7 +42,7 @@ CREATE TABLE tl_job (
occupation_id
numeric
(
12
)
NOT
NULL
,
shortened_url_id
numeric
(
12
)
NULL
,
template_id
numeric
(
12
)
NULL
,
job_title_id
numeric
(
12
)
NULL
job_title_id
numeric
(
12
)
N
OT
N
ULL
);
...
...
cmsWebApp/src/performa/form/ProcessCultureFP.java
View file @
1c6c25b3
...
...
@@ -30,18 +30,11 @@ public class ProcessCultureFP extends SaveFP
HttpServletRequest
request
=
submission
.
getRequest
();
Job
job
=
(
Job
)
process
.
getAttribute
(
"Job"
);
boolean
fromJobMatch
=
request
.
getAttribute
(
"fromJobMatch"
)
!=
null
?
(
boolean
)
request
.
getAttribute
(
"fromJobMatch"
):
false
;
boolean
fromCulture
=
request
.
getAttribute
(
"fromCulture"
)
!=
null
?
(
boolean
)
request
.
getAttribute
(
"fromCulture"
):
false
;
boolean
fromAssessment
=
request
.
getAttribute
(
"fromAssessment"
)
!=
null
?
(
boolean
)
request
.
getAttribute
(
"fromAssessment"
):
false
;
Debug
.
assertion
(
job
!=
null
,
"No job found . Call from "
+
getClass
().
getName
());
if
(
fromJobMatch
)
{
BusinessObjectParser
.
assertFieldCondition
(
job
.
getILOJobTitle
()
!=
null
,
job
,
Job
.
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
,
exceptions
,
true
,
request
);
}
if
(
fromCulture
)
{
for
(
CultureCriteria
criteria:
job
.
getCultureCriteriasSet
())
...
...
cmsWebApp/src/performa/form/SaveJobFP.java
View file @
1c6c25b3
...
...
@@ -101,8 +101,6 @@ public class SaveJobFP extends SaveFP
// }
// }
BusinessObjectParser
.
assertFieldCondition
(
job
.
getILOJobTitle
()
!=
null
,
job
,
Job
.
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
,
exceptions
,
true
,
request
);
if
(
status
!=
null
&&
status
==
JobStatus
.
OPEN
)
{
BusinessObjectParser
.
assertFieldCondition
(
billingTeam
.
getCardID
()
!=
null
,
billingTeam
,
HiringTeam
.
FIELD_CardID
,
"mandatoryCardDetails"
,
exceptions
,
true
,
request
);
...
...
cmsWebApp/src/performa/orm/AssessmentCriteriaTemplate.xml
View file @
1c6c25b3
...
...
@@ -32,7 +32,7 @@
<SINGLEREFERENCE
name=
"Client"
type=
"Client"
dbcol=
"client_id"
/>
<SINGLEREFERENCE
name=
"HiringTeam"
type=
"HiringTeam"
dbcol=
"hiring_team_id"
uniqueGroup=
"TemplateID"
/>
<SINGLEREFERENCE
name=
"CompanyUser"
type=
"CompanyUser"
dbcol=
"company_user_id"
uniqueGroup=
"TemplateID"
/>
<SINGLEREFERENCE
name=
"ILOJobTitle"
type=
"ILOJobTitle"
dbcol=
"job_title_id"
mandatory=
"
fals
e"
/>
<SINGLEREFERENCE
name=
"ILOJobTitle"
type=
"ILOJobTitle"
dbcol=
"job_title_id"
mandatory=
"
tru
e"
/>
</TABLE>
...
...
cmsWebApp/src/performa/orm/BaseAssessmentCriteriaTemplate.java
View file @
1c6c25b3
...
...
@@ -320,7 +320,7 @@ public abstract class BaseAssessmentCriteriaTemplate extends BaseBusinessClass
Map
metaInfo
=
new
HashMap
();
metaInfo
.
put
(
"dbcol"
,
"job_title_id"
);
metaInfo
.
put
(
"mandatory"
,
"
fals
e"
);
metaInfo
.
put
(
"mandatory"
,
"
tru
e"
);
metaInfo
.
put
(
"name"
,
"ILOJobTitle"
);
metaInfo
.
put
(
"type"
,
"ILOJobTitle"
);
...
...
@@ -2834,6 +2834,7 @@ public abstract class BaseAssessmentCriteriaTemplate extends BaseBusinessClass
*/
public
void
setILOJobTitle
(
ILOJobTitle
newILOJobTitle
)
throws
StorageException
,
FieldException
{
BusinessObjectParser
.
assertFieldCondition
(
newILOJobTitle
!=
null
,
this
,
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
);
if
(
_ILOJobTitle
.
wouldReferencedChange
(
newILOJobTitle
))
...
...
@@ -3508,6 +3509,8 @@ public abstract class BaseAssessmentCriteriaTemplate extends BaseBusinessClass
context
.
check
(
getOccupationID
()
!=
null
,
this
,
SINGLEREFERENCE_Occupation
,
"mandatory"
);
context
.
check
(
getILOJobTitleID
()
!=
null
,
this
,
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
);
}
...
...
cmsWebApp/src/performa/orm/BaseJob.java
View file @
1c6c25b3
...
...
@@ -562,6 +562,7 @@ public abstract class BaseJob extends BaseBusinessClass
Map
metaInfo
=
new
HashMap
();
metaInfo
.
put
(
"dbcol"
,
"job_title_id"
);
metaInfo
.
put
(
"mandatory"
,
"true"
);
metaInfo
.
put
(
"name"
,
"ILOJobTitle"
);
metaInfo
.
put
(
"type"
,
"ILOJobTitle"
);
...
...
@@ -6713,6 +6714,7 @@ public abstract class BaseJob extends BaseBusinessClass
*/
public
void
setILOJobTitle
(
ILOJobTitle
newILOJobTitle
)
throws
StorageException
,
FieldException
{
BusinessObjectParser
.
assertFieldCondition
(
newILOJobTitle
!=
null
,
this
,
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
);
if
(
_ILOJobTitle
.
wouldReferencedChange
(
newILOJobTitle
))
...
...
@@ -7823,6 +7825,8 @@ public abstract class BaseJob extends BaseBusinessClass
context
.
check
(
getOccupationID
()
!=
null
,
this
,
SINGLEREFERENCE_Occupation
,
"mandatory"
);
context
.
check
(
getILOJobTitleID
()
!=
null
,
this
,
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
);
}
...
...
cmsWebApp/src/performa/orm/Job.java
View file @
1c6c25b3
...
...
@@ -71,10 +71,23 @@ public class Job extends BaseJob
{
setRandomKey
(
RandomStringGen
.
getRandomStringGen
().
generateAlphaNum
(
4
));
//TODO: verify
SecUser
txUser
=
SecUser
.
getTXUser
(
getTransaction
());
CompanyUser
companyUser
=
txUser
.
getExtension
(
CompanyUser
.
REFERENCE_CompanyUser
);
HiringTeam
hiringTeam
=
companyUser
.
getSelectedTeam
();
setCreatedBy
(
txUser
.
getExtension
(
CompanyUser
.
REFERENCE_CompanyUser
));
setCreatedBy
(
companyUser
);
setHiringTeam
(
hiringTeam
);
setJobOwner
(
companyUser
);
if
(
hiringTeam
.
getIndustry
()
!=
null
)
{
setIndustry
(
hiringTeam
.
getIndustry
());
}
if
(
hiringTeam
.
getGoogleAddressText
()
!=
null
)
{
setGoogleAddressText
(
hiringTeam
.
getGoogleAddressText
());
}
}
...
...
cmsWebApp/src/performa/orm/Job.xml
View file @
1c6c25b3
...
...
@@ -66,7 +66,7 @@
<SINGLEREFERENCE
name=
"Occupation"
type=
"Occupation"
dbcol=
"occupation_id"
mandatory=
"true"
/>
<SINGLEREFERENCE
name=
"ShortenedURL"
type=
"ShortenedURL"
dbcol=
"shortened_url_id"
/>
<SINGLEREFERENCE
name=
"AssessmentTemplate"
type=
"AssessmentCriteriaTemplate"
dbcol=
"template_id"
/>
<SINGLEREFERENCE
name=
"ILOJobTitle"
type=
"ILOJobTitle"
dbcol=
"job_title_id"
/>
<SINGLEREFERENCE
name=
"ILOJobTitle"
type=
"ILOJobTitle"
dbcol=
"job_title_id"
mandatory=
"true"
/>
</TABLE>
...
...
cmsWebApp/webroot/css/common.css
View file @
1c6c25b3
...
...
@@ -5065,7 +5065,7 @@ span.right-img {
.success-message
{
background-color
:
#67b413
;
box-shadow
:
0
0
30px
0
rgba
(
0
,
0
,
0
,
0.15
);}
/*.error-message{background-color: #f9513d;box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);}*/
.error-message
{
height
:
109px
;
/*height: 109px;*/
border-radius
:
2px
;
background-color
:
#F9623D
;
box-shadow
:
0
3px
5px
0
rgba
(
0
,
0
,
0
,
0.02
);
...
...
cmsWebApp/webroot/extensions/adminportal/job_detail.jsp
View file @
1c6c25b3
...
...
@@ -152,6 +152,10 @@
}
});
if($('input[type="text"][id$="Industry"]').next().val() === ""){
$('input[type="text"][id$="Industry"]').val('');
}
$('input[type="text"][id$="Industry"]').attr('placeholder','Please select an Industry');
$('input[type="text"][id$="ILOJobTitle_autocomplete"]').attr('placeholder','Please select a Job Title');
...
...
cmsWebApp/webroot/extensions/adminportal/job_start_point.jsp
View file @
1c6c25b3
...
...
@@ -24,19 +24,6 @@
.andHiringTeam(new EqualsFilter<>(hiringTeam))
.search(transaction);
String nextPage = WebUtils.getSamePageInRenderMode(request, WebUtils.CREATE_JOB);
job.setHiringTeam(hiringTeam);
job.setJobOwner(companyUser);
if(hiringTeam.getIndustry() != null)
{
job.setIndustry(hiringTeam.getIndustry());
}
if(hiringTeam.getGoogleAddressText() != null)
{
job.setGoogleAddressText(hiringTeam.getGoogleAddressText());
}
%>
<style>
.rectangle-4.special{
...
...
cmsWebApp/webroot/extensions/adminportal/messages/fieldnamesOverride.txt
View file @
1c6c25b3
...
...
@@ -13,6 +13,8 @@ Job.JobTemplate = Job Template
Job.Occupation = Job Occupation Classification
Job.ExpectedCandidateRadius = Expected Candidate Radius
Job.AssessmentTemplate = Template
Job.GoogleAddressText = Google Location
Job.ILOJobTitle = ILO Standard Job Title
CultureCriteria.Importance = Rate Importance
CultureCriteria.CultureElementRating = Rating
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment