You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.2 KiB
59 lines
1.2 KiB
package web.html;
|
|
|
|
import db.form.PageResult;
|
|
import db.model.AbstractModel;
|
|
|
|
import java.util.List;
|
|
|
|
public abstract class Table<E extends OtherResult,T extends AbstractModel> extends PageResult<T> implements TableResult{
|
|
|
|
|
|
private static String importJspPath;
|
|
|
|
private static List<String> titles;
|
|
|
|
private static List<String> otherTitles;
|
|
|
|
private static List<String> columns;
|
|
|
|
private List<E> otherData;
|
|
|
|
|
|
public String getImportJspPath() {
|
|
if(importJspPath==null){
|
|
importJspPath=importJspPath();
|
|
}
|
|
return importJspPath;
|
|
}
|
|
|
|
public List<String> getTitles() {
|
|
if(titles==null){
|
|
titles=titles();
|
|
}
|
|
return titles;
|
|
}
|
|
|
|
public List<String> getOtherTitles() {
|
|
if(otherTitles==null){
|
|
otherTitles=otherTitles();
|
|
}
|
|
return otherTitles;
|
|
}
|
|
|
|
public List<String> getColumns() {
|
|
if(columns==null){
|
|
columns=columns();
|
|
}
|
|
return columns;
|
|
}
|
|
|
|
public List<E> getOtherData() {
|
|
return otherData;
|
|
}
|
|
|
|
public void setOtherData(List<E> otherData) {
|
|
this.otherData = otherData;
|
|
}
|
|
}
|
|
|
|
|
|
|