7374757677787980818283
public void doInsert(RunData data, Context context) throws Exception { Uom entry = new Uom(); data.getParameters().setProperties(entry); entry.save(); } /** * Update a record in the database with the * information present in the web form.
919293949596979899100101
{ Uom entry = new Uom(); data.getParameters().setProperties(entry); entry.setModified(true); entry.setNew(false); entry.save(); } /** * Delete a record from the database using * the unique id gleaned from the web form.