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
50bf9852
Commit
50bf9852
authored
Mar 15, 2019
by
Jay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ILO Job Title Validation.
parent
aefb0786
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
9 deletions
+8
-9
Job.xml
cmsWebApp/sql/Job.xml
+1
-1
Job.sql
cmsWebApp/sql/ms/Job.sql
+1
-1
Job.sql
cmsWebApp/sql/oracle/Job.sql
+1
-1
Job.sql
cmsWebApp/sql/postgres/Job.sql
+1
-1
SaveJobFP.java
cmsWebApp/src/performa/form/SaveJobFP.java
+2
-0
SaveRequirementsTemplateFP.java
cmsWebApp/src/performa/form/SaveRequirementsTemplateFP.java
+1
-0
BaseJob.java
cmsWebApp/src/performa/orm/BaseJob.java
+0
-4
Job.xml
cmsWebApp/src/performa/orm/Job.xml
+1
-1
No files found.
cmsWebApp/sql/Job.xml
View file @
50bf9852
...
...
@@ -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=
"
fals
e"
/>
<column
name=
"job_title_id"
type=
"Long"
length=
"11"
nullable=
"
tru
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/Job.sql
View file @
50bf9852
...
...
@@ -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
)
N
OT
N
ULL
job_title_id
numeric
(
12
)
NULL
);
...
...
cmsWebApp/sql/oracle/Job.sql
View file @
50bf9852
...
...
@@ -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
)
N
OT
N
ULL
job_title_id
number
(
12
)
NULL
);
...
...
cmsWebApp/sql/postgres/Job.sql
View file @
50bf9852
...
...
@@ -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
)
N
OT
N
ULL
job_title_id
numeric
(
12
)
NULL
);
...
...
cmsWebApp/src/performa/form/SaveJobFP.java
View file @
50bf9852
...
...
@@ -110,6 +110,8 @@ 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/form/SaveRequirementsTemplateFP.java
View file @
50bf9852
...
...
@@ -102,6 +102,7 @@ public class SaveRequirementsTemplateFP extends ORMProcessFormProcessor
Job
job
=
(
Job
)
request
.
getAttribute
(
"Job"
);
BusinessObjectParser
.
assertFieldCondition
(
job
.
getAssessmentTemplateName
()
!=
null
,
job
,
Job
.
FIELD_AssessmentTemplateName
,
"mandatory"
,
exceptions
,
true
,
request
);
BusinessObjectParser
.
assertFieldCondition
(
job
.
getILOJobTitle
()
!=
null
,
job
,
Job
.
SINGLEREFERENCE_ILOJobTitle
,
"mandatory"
,
exceptions
,
true
,
request
);
for
(
AssessmentCriteria
criteria:
job
.
getAssessmentCriteriasSet
())
{
...
...
cmsWebApp/src/performa/orm/BaseJob.java
View file @
50bf9852
...
...
@@ -567,7 +567,6 @@ 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"
);
...
...
@@ -6831,7 +6830,6 @@ 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
))
...
...
@@ -7943,8 +7941,6 @@ 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.xml
View file @
50bf9852
...
...
@@ -67,7 +67,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"
mandatory=
"true"
/>
<SINGLEREFERENCE
name=
"ILOJobTitle"
type=
"ILOJobTitle"
dbcol=
"job_title_id"
/>
</TABLE>
...
...
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