public static Array call(PageContext pc, QueryColumn column) throws PageException { Array arr = new ArrayImpl(); int size = column.size(); for (int i = 1; i <= size; i++) { arr.append(Caster.toString(column.get(i, null))); } return arr; }
public static String call(PageContext pc, String strQueryColumn, String delimeter) throws PageException { QueryColumn column = toColumn(pc, strQueryColumn); StringBuffer sb = new StringBuffer(); int size = column.size(); for (int i = 1; i <= size; i++) { if (i > 1) sb.append(delimeter); sb.append(Caster.toString(column.get(i))); } return sb.toString(); }
/** @see railo.runtime.op.Castable#castToDateTime() */ public DateTime castToDateTime() throws PageException { return column.castToDateTime(); }
/** @see railo.runtime.type.QueryColumn#get(int) */ public Object get(int row) throws PageException { return column.get(row); }
/** @see railo.runtime.type.QueryColumn#addRow(int) */ public void addRow(int count) { disconnectCache(); column.addRow(count); }
/** @see railo.runtime.type.Iteratorable#valueIterator() */ public Iterator<Object> valueIterator() { return column.valueIterator(); }
/** @see railo.runtime.type.ref.Reference#touchEL(railo.runtime.PageContext) */ public Object touchEL(PageContext pc) { disconnectCache(); return column.touchEL(pc); }
/** @see railo.runtime.type.ref.Reference#setEL(railo.runtime.PageContext, java.lang.Object) */ public Object setEL(PageContext pc, Object value) { disconnectCache(); return column.setEL(pc, value); }
/** @see railo.runtime.op.Castable#compareTo(boolean) */ public int compareTo(boolean b) throws PageException { return column.compareTo(b); }
/** @see railo.runtime.op.Castable#compareTo(java.lang.String) */ public int compareTo(String str) throws PageException { return column.compareTo(str); }
/** @see railo.runtime.op.Castable#castToString(java.lang.String) */ public String castToString(String defaultValue) { return column.castToString(defaultValue); }
/** @see railo.runtime.op.Castable#castToString() */ public String castToString() throws PageException { return column.castToString(); }
/** @see railo.runtime.op.Castable#castToDoubleValue(double) */ public double castToDoubleValue(double defaultValue) { return column.castToDoubleValue(defaultValue); }
/** @see railo.runtime.op.Castable#castToDoubleValue() */ public double castToDoubleValue() throws PageException { return column.castToDoubleValue(); }
/** @see railo.runtime.op.Castable#castToDateTime(railo.runtime.type.dt.DateTime) */ public DateTime castToDateTime(DateTime defaultValue) { return column.castToDateTime(defaultValue); }
/** @see railo.runtime.type.ref.Reference#removeEL(railo.runtime.PageContext) */ public Object removeEL(PageContext pc) { disconnectCache(); return column.removeEL(pc); }
/** @see railo.runtime.type.ref.Reference#set(railo.runtime.PageContext, java.lang.Object) */ public Object set(PageContext pc, Object value) throws PageException { disconnectCache(); return column.set(pc, value); }
/** @see railo.runtime.op.Castable#compareTo(double) */ public int compareTo(double d) throws PageException { return column.compareTo(d); }
/** @see railo.runtime.type.ref.Reference#touch(railo.runtime.PageContext) */ public Object touch(PageContext pc) throws PageException { disconnectCache(); return column.touch(pc); }
/** @see railo.runtime.op.Castable#compareTo(railo.runtime.type.dt.DateTime) */ public int compareTo(DateTime dt) throws PageException { return column.compareTo(dt); }
/** @see java.lang.Object#clone() */ public Object clone() { return column.clone(); }
/** @see railo.runtime.type.ref.Reference#get(railo.runtime.PageContext) */ public Object get(PageContext pc) throws PageException { return column.get(pc); }
/** @see railo.runtime.type.QueryColumn#add(java.lang.Object) */ public void add(Object value) { disconnectCache(); column.add(value); }
/** @see railo.runtime.type.ref.Reference#get(railo.runtime.PageContext, java.lang.Object) */ public Object get(PageContext pc, Object defaultValue) { return column.get(pc, defaultValue); }
/** @see railo.runtime.type.QueryColumn#cutRowsTo(int) */ public void cutRowsTo(int maxrows) { disconnectCache(); column.cutRowsTo(maxrows); }
/** @see railo.runtime.type.ref.Reference#getKey() */ public Key getKey() throws PageException { return column.getKey(); }
/** @see railo.runtime.type.QueryColumn#get(int, java.lang.Object) */ public Object get(int row, Object defaultValue) { return column.get(row, defaultValue); }
/** @see railo.runtime.type.ref.Reference#getKeyAsString() */ public String getKeyAsString() throws PageException { return column.getKeyAsString(); }
/** @see railo.runtime.type.ref.Reference#remove(railo.runtime.PageContext) */ public Object remove(PageContext pc) throws PageException { disconnectCache(); return column.remove(pc); }
/** @see railo.runtime.op.Castable#castToBoolean(java.lang.Boolean) */ public Boolean castToBoolean(Boolean defaultValue) { return column.castToBoolean(defaultValue); }