history: repository, model, controller methods

This commit is contained in:
Marcin Michałek committed 2015-01-31 14:14:37 +01:00
1 parent b7f19e5567
commit 6942009358
8 files changed
+247 -87

No files matched your search

@@ -0,0 +1,42 @@
package application.network.response;
import java.io.Serializable;
/**
* Created by Marcin on 2015-01-31.
*/
public class BaseResponse implements Serializable {
private boolean success;
private String errorMessage;
private Integer errorCode;
public BaseResponse init(boolean success) {
this.success = success;
return this;
}
public boolean isSuccess() {
return success;
}
public void setSuccess(boolean success) {
this.success = success;
}
public String getErrorMessage() {
return errorMessage;
}
public void setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
}
public Integer getErrorCode() {
return errorCode;
}
public void setErrorCode(Integer errorCode) {
this.errorCode = errorCode;
}
}