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
049bdd9e
Commit
049bdd9e
authored
Nov 28, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making role mandatory for user
parent
bec3a154
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
17 additions
and
13 deletions
+17
-13
CompanyUserHiringTeamLink.xml
cmsWebApp/sql/CompanyUserHiringTeamLink.xml
+1
-1
InviteTeammateNPO.xml
cmsWebApp/sql/InviteTeammateNPO.xml
+2
-1
CompanyUserHiringTeamLink.sql
cmsWebApp/sql/ms/CompanyUserHiringTeamLink.sql
+1
-1
InviteTeammateNPO.sql
cmsWebApp/sql/ms/InviteTeammateNPO.sql
+1
-1
CompanyUserHiringTeamLink.sql
cmsWebApp/sql/oracle/CompanyUserHiringTeamLink.sql
+1
-1
InviteTeammateNPO.sql
cmsWebApp/sql/oracle/InviteTeammateNPO.sql
+1
-1
CompanyUserHiringTeamLink.sql
cmsWebApp/sql/postgres/CompanyUserHiringTeamLink.sql
+1
-1
InviteTeammateNPO.sql
cmsWebApp/sql/postgres/InviteTeammateNPO.sql
+1
-1
BaseCompanyUserHiringTeamLink.java
...ebApp/src/performa/orm/BaseCompanyUserHiringTeamLink.java
+3
-2
BaseInviteTeammateNPO.java
cmsWebApp/src/performa/orm/BaseInviteTeammateNPO.java
+3
-1
CompanyUserHiringTeamLink.xml
cmsWebApp/src/performa/orm/CompanyUserHiringTeamLink.xml
+1
-1
InviteTeammateNPO.xml
cmsWebApp/src/performa/orm/InviteTeammateNPO.xml
+1
-1
No files found.
cmsWebApp/sql/CompanyUserHiringTeamLink.xml
View file @
049bdd9e
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<column
name=
"object_id"
type=
"Long"
nullable=
"false"
length=
"11"
/>
<column
name=
"object_id"
type=
"Long"
nullable=
"false"
length=
"11"
/>
<column
name=
"object_last_updated_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"object_last_updated_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"object_created_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"object_created_date"
type=
"Date"
nullable=
"false"
length=
"22"
/>
<column
name=
"role_type"
type=
"String"
nullable=
"
tru
e"
length=
"200"
/>
<column
name=
"role_type"
type=
"String"
nullable=
"
fals
e"
length=
"200"
/>
<column
name=
"hiring_team_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=
"company_user_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
</NODE>
</NODE>
...
...
cmsWebApp/sql/InviteTeammateNPO.xml
View file @
049bdd9e
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<column
name=
""
type=
"CLOB"
nullable=
"true"
/>
<column
name=
""
type=
"CLOB"
nullable=
"true"
/>
<column
name=
""
type=
"CLOB"
nullable=
"true"
/>
<column
name=
""
type=
"CLOB"
nullable=
"true"
/>
<column
name=
""
type=
"CLOB"
nullable=
"true"
/>
<column
name=
""
type=
"CLOB"
nullable=
"true"
/>
<column
name=
""
type=
"String"
nullable=
"
tru
e"
length=
"200"
/>
<column
name=
""
type=
"String"
nullable=
"
fals
e"
length=
"200"
/>
</NODE>
</NODE>
</NODE></OBJECTS>
</NODE></OBJECTS>
\ No newline at end of file
cmsWebApp/sql/ms/CompanyUserHiringTeamLink.sql
View file @
049bdd9e
...
@@ -8,7 +8,7 @@ CREATE TABLE tl_company_user_hiring_team_link (
...
@@ -8,7 +8,7 @@ CREATE TABLE tl_company_user_hiring_team_link (
object_last_updated_date
datetime
DEFAULT
getdate
()
NOT
NULL
,
object_last_updated_date
datetime
DEFAULT
getdate
()
NOT
NULL
,
object_created_date
datetime
DEFAULT
getdate
()
NOT
NULL
object_created_date
datetime
DEFAULT
getdate
()
NOT
NULL
,
,
role_type
varchar
(
200
)
NULL
,
role_type
varchar
(
200
)
N
OT
N
ULL
,
hiring_team_id
numeric
(
12
)
NULL
,
hiring_team_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
company_user_id
numeric
(
12
)
NULL
);
);
...
...
cmsWebApp/sql/ms/InviteTeammateNPO.sql
View file @
049bdd9e
...
@@ -11,7 +11,7 @@ CREATE TABLE it_does_not_matter (
...
@@ -11,7 +11,7 @@ CREATE TABLE it_does_not_matter (
text
NULL
,
text
NULL
,
text
NULL
,
text
NULL
,
text
NULL
,
text
NULL
,
varchar
(
200
)
NULL
varchar
(
200
)
N
OT
N
ULL
);
);
...
...
cmsWebApp/sql/oracle/CompanyUserHiringTeamLink.sql
View file @
049bdd9e
...
@@ -9,7 +9,7 @@ CREATE TABLE tl_company_user_hiring_team_link (
...
@@ -9,7 +9,7 @@ CREATE TABLE tl_company_user_hiring_team_link (
object_last_updated_date
date
DEFAULT
SYSDATE
NOT
NULL
,
object_last_updated_date
date
DEFAULT
SYSDATE
NOT
NULL
,
object_created_date
date
DEFAULT
SYSDATE
NOT
NULL
object_created_date
date
DEFAULT
SYSDATE
NOT
NULL
,
,
role_type
varchar2
(
200
)
NULL
,
role_type
varchar2
(
200
)
N
OT
N
ULL
,
hiring_team_id
number
(
12
)
NULL
,
hiring_team_id
number
(
12
)
NULL
,
company_user_id
number
(
12
)
NULL
company_user_id
number
(
12
)
NULL
);
);
...
...
cmsWebApp/sql/oracle/InviteTeammateNPO.sql
View file @
049bdd9e
...
@@ -12,7 +12,7 @@ CREATE TABLE it_does_not_matter (
...
@@ -12,7 +12,7 @@ CREATE TABLE it_does_not_matter (
clob
NULL
,
clob
NULL
,
clob
NULL
,
clob
NULL
,
clob
NULL
,
clob
NULL
,
varchar2
(
200
)
NULL
varchar2
(
200
)
N
OT
N
ULL
);
);
...
...
cmsWebApp/sql/postgres/CompanyUserHiringTeamLink.sql
View file @
049bdd9e
...
@@ -9,7 +9,7 @@ CREATE TABLE tl_company_user_hiring_team_link (
...
@@ -9,7 +9,7 @@ CREATE TABLE tl_company_user_hiring_team_link (
object_last_updated_date
timestamp
DEFAULT
NOW
()
NOT
NULL
,
object_last_updated_date
timestamp
DEFAULT
NOW
()
NOT
NULL
,
object_created_date
timestamp
DEFAULT
NOW
()
NOT
NULL
object_created_date
timestamp
DEFAULT
NOW
()
NOT
NULL
,
,
role_type
varchar
(
200
)
NULL
,
role_type
varchar
(
200
)
N
OT
N
ULL
,
hiring_team_id
numeric
(
12
)
NULL
,
hiring_team_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
company_user_id
numeric
(
12
)
NULL
);
);
...
...
cmsWebApp/sql/postgres/InviteTeammateNPO.sql
View file @
049bdd9e
...
@@ -12,7 +12,7 @@ CREATE TABLE it_does_not_matter (
...
@@ -12,7 +12,7 @@ CREATE TABLE it_does_not_matter (
text
NULL
,
text
NULL
,
text
NULL
,
text
NULL
,
text
NULL
,
text
NULL
,
varchar
(
200
)
NULL
varchar
(
200
)
N
OT
N
ULL
);
);
...
...
cmsWebApp/src/performa/orm/BaseCompanyUserHiringTeamLink.java
View file @
049bdd9e
...
@@ -141,7 +141,7 @@ public abstract class BaseCompanyUserHiringTeamLink extends BaseBusinessClass
...
@@ -141,7 +141,7 @@ public abstract class BaseCompanyUserHiringTeamLink extends BaseBusinessClass
metaInfo
.
put
(
"attribHelper"
,
"EnumeratedAttributeHelper"
);
metaInfo
.
put
(
"attribHelper"
,
"EnumeratedAttributeHelper"
);
metaInfo
.
put
(
"dbcol"
,
"role_type"
);
metaInfo
.
put
(
"dbcol"
,
"role_type"
);
metaInfo
.
put
(
"mandatory"
,
"
fals
e"
);
metaInfo
.
put
(
"mandatory"
,
"
tru
e"
);
metaInfo
.
put
(
"name"
,
"Role"
);
metaInfo
.
put
(
"name"
,
"Role"
);
metaInfo
.
put
(
"type"
,
"RoleType"
);
metaInfo
.
put
(
"type"
,
"RoleType"
);
...
@@ -268,6 +268,7 @@ public abstract class BaseCompanyUserHiringTeamLink extends BaseBusinessClass
...
@@ -268,6 +268,7 @@ public abstract class BaseCompanyUserHiringTeamLink extends BaseBusinessClass
oldAndNewIdentical
=
HELPER_Role
.
compare
(
_Role
,
newRole
);
oldAndNewIdentical
=
HELPER_Role
.
compare
(
_Role
,
newRole
);
}
}
BusinessObjectParser
.
assertFieldCondition
(
newRole
!=
null
,
this
,
FIELD_Role
,
"mandatory"
);
if
(
FIELD_Role_Validators
.
length
>
0
)
if
(
FIELD_Role_Validators
.
length
>
0
)
...
@@ -1323,7 +1324,7 @@ public abstract class BaseCompanyUserHiringTeamLink extends BaseBusinessClass
...
@@ -1323,7 +1324,7 @@ public abstract class BaseCompanyUserHiringTeamLink extends BaseBusinessClass
List
result
=
super
.
getAttributes
();
List
result
=
super
.
getAttributes
();
result
.
add
(
HELPER_Role
.
getAttribObject
(
getClass
(),
_Role
,
fals
e
,
FIELD_Role
));
result
.
add
(
HELPER_Role
.
getAttribObject
(
getClass
(),
_Role
,
tru
e
,
FIELD_Role
));
return
result
;
return
result
;
}
}
...
...
cmsWebApp/src/performa/orm/BaseInviteTeammateNPO.java
View file @
049bdd9e
...
@@ -186,6 +186,7 @@ public abstract class BaseInviteTeammateNPO extends NonPersistentBO
...
@@ -186,6 +186,7 @@ public abstract class BaseInviteTeammateNPO extends NonPersistentBO
Map
metaInfo
=
new
HashMap
();
Map
metaInfo
=
new
HashMap
();
metaInfo
.
put
(
"attribHelper"
,
"EnumeratedAttributeHelper"
);
metaInfo
.
put
(
"attribHelper"
,
"EnumeratedAttributeHelper"
);
metaInfo
.
put
(
"mandatory"
,
"true"
);
metaInfo
.
put
(
"name"
,
"RoleType"
);
metaInfo
.
put
(
"name"
,
"RoleType"
);
metaInfo
.
put
(
"type"
,
"RoleType"
);
metaInfo
.
put
(
"type"
,
"RoleType"
);
...
@@ -607,6 +608,7 @@ public abstract class BaseInviteTeammateNPO extends NonPersistentBO
...
@@ -607,6 +608,7 @@ public abstract class BaseInviteTeammateNPO extends NonPersistentBO
oldAndNewIdentical
=
HELPER_RoleType
.
compare
(
_RoleType
,
newRoleType
);
oldAndNewIdentical
=
HELPER_RoleType
.
compare
(
_RoleType
,
newRoleType
);
}
}
BusinessObjectParser
.
assertFieldCondition
(
newRoleType
!=
null
,
this
,
FIELD_RoleType
,
"mandatory"
);
if
(
FIELD_RoleType_Validators
.
length
>
0
)
if
(
FIELD_RoleType_Validators
.
length
>
0
)
...
@@ -1474,7 +1476,7 @@ public abstract class BaseInviteTeammateNPO extends NonPersistentBO
...
@@ -1474,7 +1476,7 @@ public abstract class BaseInviteTeammateNPO extends NonPersistentBO
result
.
add
(
HELPER_UserEmail
.
getAttribObject
(
getClass
(),
_UserEmail
,
false
,
FIELD_UserEmail
));
result
.
add
(
HELPER_UserEmail
.
getAttribObject
(
getClass
(),
_UserEmail
,
false
,
FIELD_UserEmail
));
result
.
add
(
HELPER_FirstName
.
getAttribObject
(
getClass
(),
_FirstName
,
false
,
FIELD_FirstName
));
result
.
add
(
HELPER_FirstName
.
getAttribObject
(
getClass
(),
_FirstName
,
false
,
FIELD_FirstName
));
result
.
add
(
HELPER_LastName
.
getAttribObject
(
getClass
(),
_LastName
,
false
,
FIELD_LastName
));
result
.
add
(
HELPER_LastName
.
getAttribObject
(
getClass
(),
_LastName
,
false
,
FIELD_LastName
));
result
.
add
(
HELPER_RoleType
.
getAttribObject
(
getClass
(),
_RoleType
,
fals
e
,
FIELD_RoleType
));
result
.
add
(
HELPER_RoleType
.
getAttribObject
(
getClass
(),
_RoleType
,
tru
e
,
FIELD_RoleType
));
return
result
;
return
result
;
}
}
...
...
cmsWebApp/src/performa/orm/CompanyUserHiringTeamLink.xml
View file @
049bdd9e
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<TABLE
name=
"tl_company_user_hiring_team_link"
tablePrefix=
"object"
>
<TABLE
name=
"tl_company_user_hiring_team_link"
tablePrefix=
"object"
>
<ATTRIB
name=
"Role"
type=
"RoleType"
dbcol=
"role_type"
mandatory=
"
fals
e"
attribHelper=
"EnumeratedAttributeHelper"
/>
<ATTRIB
name=
"Role"
type=
"RoleType"
dbcol=
"role_type"
mandatory=
"
tru
e"
attribHelper=
"EnumeratedAttributeHelper"
/>
<SINGLEREFERENCE
name=
"HiringTeam"
type=
"HiringTeam"
dbcol=
"hiring_team_id"
backreferenceName=
"Users"
/>
<SINGLEREFERENCE
name=
"HiringTeam"
type=
"HiringTeam"
dbcol=
"hiring_team_id"
backreferenceName=
"Users"
/>
<SINGLEREFERENCE
name=
"CompanyUser"
type=
"CompanyUser"
dbcol=
"company_user_id"
backreferenceName=
"HiringTeams"
/>
<SINGLEREFERENCE
name=
"CompanyUser"
type=
"CompanyUser"
dbcol=
"company_user_id"
backreferenceName=
"HiringTeams"
/>
...
...
cmsWebApp/src/performa/orm/InviteTeammateNPO.xml
View file @
049bdd9e
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<ATTRIB
name=
"UserEmail"
type=
"String"
validators=
"Email"
/>
<ATTRIB
name=
"UserEmail"
type=
"String"
validators=
"Email"
/>
<ATTRIB
name=
"FirstName"
type=
"String"
/>
<ATTRIB
name=
"FirstName"
type=
"String"
/>
<ATTRIB
name=
"LastName"
type=
"String"
/>
<ATTRIB
name=
"LastName"
type=
"String"
/>
<ATTRIB
name=
"RoleType"
type=
"RoleType"
attribHelper=
"EnumeratedAttributeHelper"
/>
<ATTRIB
name=
"RoleType"
type=
"RoleType"
attribHelper=
"EnumeratedAttributeHelper"
mandatory=
"true"
/>
</TABLE>
</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