remove need for undo resource - align undo of state transitions with state transitions allowing for note to be added through ui.

This commit is contained in:
Keith Woodlock
2012-05-28 17:20:29 +01:00
parent d127003d6d
commit 66d3babb06
13 changed files with 207 additions and 168 deletions
@@ -1,25 +0,0 @@
package org.mifosng.data.command;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class UndoLoanApprovalCommand {
private Long loanId;
protected UndoLoanApprovalCommand() {
//
}
public UndoLoanApprovalCommand(final Long loanId) {
this.loanId = loanId;
}
public Long getLoanId() {
return this.loanId;
}
public void setLoanId(final Long loanId) {
this.loanId = loanId;
}
}
@@ -1,25 +0,0 @@
package org.mifosng.data.command;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class UndoLoanDisbursalCommand {
private Long loanId;
protected UndoLoanDisbursalCommand() {
//
}
public UndoLoanDisbursalCommand(final Long loanId) {
this.loanId = loanId;
}
public Long getLoanId() {
return this.loanId;
}
public void setLoanId(final Long loanId) {
this.loanId = loanId;
}
}
@@ -0,0 +1,33 @@
package org.mifosng.data.command;
public class UndoStateTransitionCommand {
private Long loanId;
private String comment;
protected UndoStateTransitionCommand() {
//
}
public UndoStateTransitionCommand(final Long loanId, final String comment) {
this.loanId = loanId;
this.comment = comment;
}
public Long getLoanId() {
return this.loanId;
}
public void setLoanId(final Long loanId) {
this.loanId = loanId;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
}