ucEditPreUpdate
Purpose
This allows additional error reporting by returning an error message.
Applies To
Edit Issue screen
Signature
public String ucEditPreUpdate (
Problem pOldProblem, // the problem or case
ArrayList pOldReleases, // the list of releases
ArrayList pOldModules, // the list of modules
ArrayList pOldUdfs, // the list of UDF's
Problem pNewProblem, // the problem or case
ArrayList pNewReleases, // the list of releases
ArrayList pNewModules, // the list of modules
ArrayList pNewUdfs, // the list of UDF's
SesameSession session, // current session
ProblemFormParam pfp) // values of from the form
Notes
This is called during the Edit update process before any updates are done. It also allows a final manipulation of values prior to attempting the update.
Example
public String ucEditPreUpdate (
Problem oldItem, // the item or case
ArrayList oldReleases, // the list of releases
ArrayList oldModules, // the list of modules
ArrayList oldUdfs, // the list of UDF's
Problem newItem, // the item or case
ArrayList newReleases, // the list of releases
ArrayList newModules, // the list of modules
ArrayList newUdfs, // the list of UDF's
SesameSession session, // current session
ProblemFormParam values) { // values of from the form.
String error = super.ucEditPreUpdate(oldItem, oldReleases,
oldModules, oldUdfs, newItem, newReleases,
newModules, newUdfs, session, values);
if (error != null) return error;
executeIntegration(oldItem, newItem, values);
return null;
}