Purpose
Applies To
Administration Methods
Signature
public void ucMassUpdatePreUpdate(
Connection dbconn,
SesameSession session,
ProblemFormParam pfp,
FormParameters fp,
String pGlobal,
String newArea,
String newProject)
Notes
Example
/*
* Create CLONEE_PFP so that ucEditClone method can use it to set
* STATUS and PRIVACY fields correctly.
*
*/
public void ucMassUpdatePreUpdate(Connection dbconn,
SesameSession session,
ProblemFormParam pfp,
FormParameters fp,
String pGlobal,
String newArea,
String newProject){
if (pGlobal.equals("PROJECT")){
ProblemFormParam npfp = new ProblemFormParam(fp);
npfp.put("AREA_ID",newArea);
String project = newArea + "|" + newProject;
npfp.put("PROJECT_ID",project);
session.setAttribute("CLONEE_PFP", npfp);
}
}