com.clickntap.hub.AppSession Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of click_framework Show documentation
Show all versions of click_framework Show documentation
Java Framework based on Spring Framework, Freemarker and Simplicity
The newest version!
package com.clickntap.hub;
import com.clickntap.smart.SmartContext;
import com.clickntap.utils.ConstUtils;
public class AppSession extends BO {
protected SmartContext ctx;
private String form;
private String nextForm;
private String locale;
public void clear() throws Exception {
super.clear();
setForm(ConstUtils.EMPTY);
setLocale(ConstUtils.LOCALE_EN);
}
public void setCtx(SmartContext ctx) {
this.ctx = ctx;
}
public App getApp() throws Exception {
return (App) super.getApp();
}
public String getForm() {
return form;
}
public void setForm(String form) {
this.form = form;
}
public String getLocale() {
return locale;
}
public void setLocale(String locale) {
this.locale = locale;
}
public String getNextForm() {
return nextForm;
}
public void setNextForm(String nextForm) {
this.nextForm = nextForm;
}
}