This exit allows modification or replacement of the Mailing List that is created by ExtraView.
Add Issue screen
public java.util.ArrayList ucMailListUpdate( java.sql.Connection dbcon, java.lang.String problemId, Problem prob, SesameSession session, java.util.ArrayList mailList, ProblemFormParam pfp)
It should return an ArrayList of MailList Objects. If null is returned then the normal Notification Mailing List will be generated.
public ArrayList ucMailListUpdate (Connection con, String itemId, Problem item, SesameSession session, ArrayList mailList, ProblemFormParam values) { // NOTE: THE VALUES PARAMETER SEEMS TO BE EMPTY OR CONTAIN JUST ccMail String requestReview = values.getString("REQUEST_REVIEW"); String addendumAlert = values.getString("ADDENDUM_ALERT"); String areaId = values.getString("AREA"); String projectId = getProjectId(values); // THEREFORE, GET FIELDS FROM RECORD SAVED IN DATABASE ArrayList udfs = Problem_UDF.getReference(con, itemId); for (int i = 0; i