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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user