/kickup/trunk/src/ak/kickup/core/model/Participant.java |
---|
41,7 → 41,6 |
private String sleepComment; |
private BigDecimal payed; |
private String comment; |
private String protectedComment; |
private String privateComment; |
private Collection acts; // Collection(ParticipantAct) |
private Map actsMap = new HashMap(); // Map(Long id -> ParticipantAct) |
315,20 → 314,6 |
/** |
* |
* @hibernate.property column="protected_comment" |
*/ |
public String getProtectedComment() |
{ |
return protectedComment; |
} |
public void setProtectedComment(String protectedComment) |
{ |
this.protectedComment = protectedComment; |
} |
/** |
* |
* @hibernate.property column="private_comment" |
*/ |
public String getPrivateComment() |
/kickup/trunk/src/ak/kickup/core/action/ParticipantAction.java |
---|
144,7 → 144,6 |
showForm.set("transportComment", participant.getTransportComment()); |
showForm.set("freeSleep", StringConverter.toString(participant.getFreeSleep())); |
showForm.set("sleepComment", participant.getSleepComment()); |
showForm.set("protectedComment", participant.getProtectedComment()); |
showForm.set("comment", participant.getComment()); |
request.setAttribute("participant", participant); |
233,7 → 232,6 |
participant.setTransportComment((String)theForm.get("transportComment")); |
participant.setFreeSleep(StringConverter.parseInteger(theForm.get("freeSleep"))); |
participant.setSleepComment((String)theForm.get("sleepComment")); |
participant.setProtectedComment((String)theForm.get("protectedComment")); |
participant.setComment((String)theForm.get("comment")); |
ParticipantManager.getInstance().save(participant); |
298,7 → 296,6 |
participant.setTransportComment((String)theForm.get("transportComment")); |
participant.setFreeSleep(StringConverter.parseInteger(theForm.get("freeSleep"))); |
participant.setSleepComment((String)theForm.get("sleepComment")); |
participant.setProtectedComment((String)theForm.get("protectedComment")); |
participant.setComment((String)theForm.get("comment")); |
ParticipantManager.getInstance().save(participant); |
/kickup/trunk/src/ak/kickup/core/action/AdminParticipantAction.java |
---|
104,7 → 104,6 |
showForm.set("sleepComment", participant.getSleepComment()); |
showForm.set("payed", StringConverter.toCurrency(participant.getPayed())); |
showForm.set("comment", participant.getComment()); |
showForm.set("protectedComment", participant.getProtectedComment()); |
showForm.set("privateComment", participant.getPrivateComment()); |
} |
203,7 → 202,6 |
participant.setSleepComment((String)theForm.get("sleepComment")); |
participant.setPayed(StringConverter.parseCurrency(theForm.get("payed"))); |
participant.setComment((String)theForm.get("comment")); |
participant.setProtectedComment((String)theForm.get("protectedComment")); |
participant.setPrivateComment((String)theForm.get("privateComment")); |
ParticipantManager.getInstance().save(participant); |