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
1378438d
Commit
1378438d
authored
Mar 11, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes to finetune messaging engine
parent
2dad92bb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
MessagingEngineBatch.java
cmsWebApp/src/performa/batch/MessagingEngineBatch.java
+2
-2
JobApplication.java
cmsWebApp/src/performa/orm/JobApplication.java
+1
-1
editMessageTemplate.jsp
...ebApp/webroot/extensions/performa/editMessageTemplate.jsp
+2
-1
No files found.
cmsWebApp/src/performa/batch/MessagingEngineBatch.java
View file @
1378438d
...
@@ -51,9 +51,9 @@ public class MessagingEngineBatch extends ORMBatch implements InitialisationPart
...
@@ -51,9 +51,9 @@ public class MessagingEngineBatch extends ORMBatch implements InitialisationPart
new
String
[]
{
jobApplication
.
getCandidate
().
getFirstName
(),
new
String
[]
{
jobApplication
.
getCandidate
().
getFirstName
(),
jobApplication
.
getCandidate
().
getUser
().
getLastName
(),
jobApplication
.
getCandidate
().
getUser
().
getLastName
(),
jobApplication
.
getCandidate
().
getUser
().
getEmail
(),
jobApplication
.
getCandidate
().
getUser
().
getEmail
(),
jobApplication
.
getJob
().
getGoogleAddressText
(
),
StringUtils
.
subNulls
(
jobApplication
.
getJob
().
getGoogleAddressText
(),
""
),
jobApplication
.
getJob
().
getJobTitle
(),
jobApplication
.
getJob
().
getJobTitle
(),
jobApplication
.
getJob
().
getReferenceNumber
(
)});
StringUtils
.
subNulls
(
jobApplication
.
getJob
().
getReferenceNumber
(),
""
)});
LogMgr
.
log
(
MESSAGING_ENGINE_BATCH
,
LogLevel
.
PROCESSING1
,
"Replaced tags of message content : "
,
messageContent
);
LogMgr
.
log
(
MESSAGING_ENGINE_BATCH
,
LogLevel
.
PROCESSING1
,
"Replaced tags of message content : "
,
messageContent
);
...
...
cmsWebApp/src/performa/orm/JobApplication.java
View file @
1378438d
...
@@ -42,7 +42,7 @@ public class JobApplication extends BaseJobApplication
...
@@ -42,7 +42,7 @@ public class JobApplication extends BaseJobApplication
JobApplication
old
=
(
JobApplication
)
getEarliestBackup
();
JobApplication
old
=
(
JobApplication
)
getEarliestBackup
();
// when application status changed
// when application status changed
if
(!
CollectionUtils
.
equals
(
old
.
getApplicationStatus
(),
getApplicationStatus
()))
if
(
getStatus
()
==
ObjectStatus
.
NEW
||
!
CollectionUtils
.
equals
(
old
.
getApplicationStatus
(),
getApplicationStatus
()))
{
{
// delete previously scheduled emails for previous application status
// delete previously scheduled emails for previous application status
Filter
<
ScheduledEmail
>
filter
=
ScheduledEmail
.
SearchByAll
().
andApplicationStatus
(
new
EqualsFilter
<>(
old
.
getApplicationStatus
()));
Filter
<
ScheduledEmail
>
filter
=
ScheduledEmail
.
SearchByAll
().
andApplicationStatus
(
new
EqualsFilter
<>(
old
.
getApplicationStatus
()));
...
...
cmsWebApp/webroot/extensions/performa/editMessageTemplate.jsp
View file @
1378438d
...
@@ -63,7 +63,8 @@
...
@@ -63,7 +63,8 @@
<oneit:ormlabel obj="<%= messageTemplate %>" field="ApplicationStatus"/>
<oneit:ormlabel obj="<%= messageTemplate %>" field="ApplicationStatus"/>
</oneit:layout_label>
</oneit:layout_label>
<oneit:layout_field width="1">
<oneit:layout_field width="1">
<oneit:ormEnum obj="<%= messageTemplate %>" attributeName="ApplicationStatus" />
<oneit:ormEnum obj="<%= messageTemplate %>" attributeName="ApplicationStatus"
enums="<%= Arrays.asList(new ApplicationStatus[]{ApplicationStatus.DRAFT, ApplicationStatus.SUBMITTED, ApplicationStatus.SHORTLISTED, ApplicationStatus.UNSUITABLE}) %>"/>
</oneit:layout_field>
</oneit:layout_field>
</oneit:skin>
</oneit:skin>
...
...
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