Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Component Sharing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gagandeep Singh Bhatia
Component Sharing
Commits
4ef848d5
Commit
4ef848d5
authored
Apr 09, 2024
by
ManishKumar C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace UserInvitationService.java
parent
32cb8cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
Amol/Manish Changes/UserInvitationService.java
Amol/Manish Changes/UserInvitationService.java
+0
-26
No files found.
Amol/Manish Changes/UserInvitationService.java
View file @
4ef848d5
...
@@ -635,31 +635,5 @@ public class UserInvitationService {
...
@@ -635,31 +635,5 @@ public class UserInvitationService {
}
}
return
Response
.
status
(
200
).
entity
(
resultJson
.
toString
()).
build
();
return
Response
.
status
(
200
).
entity
(
resultJson
.
toString
()).
build
();
}
}
@POST
@Path
(
"/getDefaultItemSer/{deptCode}"
)
@Produces
(
MediaType
.
APPLICATION_JSON
)
@Consumes
(
MediaType
.
APPLICATION_JSON
)
public
Response
getDefaultItemSer
(
@PathParam
(
"deptCode"
)
String
deptCode
,
@Context
HttpServletRequest
request
)
throws
Exception
{
String
errString
=
""
;
UserInfoBean
userInfo
=
(
UserInfoBean
)
request
.
getSession
().
getAttribute
(
"USER_INFO"
);
BaseLogger
.
log
(
"2"
,
userInfo
,
null
,
"In getDefaultItemSer method:userInfo:"
+
userInfo
);
JSONObject
resultJson
=
new
JSONObject
();
try
{
UserInvitationDAO
userInvitationDAO
=
new
UserInvitationDAO
(
userInfo
);
errString
=
userInvitationDAO
.
getItemSer
(
deptCode
,
userInfo
);
BaseLogger
.
log
(
"3"
,
userInfo
,
null
,
"In getDefaultItemSer userCode:"
+
errString
);
resultJson
.
put
(
"result"
,
errString
);
}
catch
(
Exception
e
)
{
resultJson
.
put
(
"result"
,
"error"
);
e
.
printStackTrace
();
throw
new
Exception
(
e
);
}
return
Response
.
status
(
200
).
entity
(
resultJson
.
toString
()).
build
();
}
//Added by ManishK to set department,grade by default when profile is set on 03-APR-24[END]
//Added by ManishK to set department,grade by default when profile is set on 03-APR-24[END]
}
}
\ No newline at end of file
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