Esempio n. 1
0
 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;
 }
Esempio n. 2
0
  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);
 }
Esempio n. 10
0
 /** @see railo.runtime.op.Castable#compareTo(java.lang.String) */
 public int compareTo(String str) throws PageException {
   return column.compareTo(str);
 }
Esempio n. 11
0
 /** @see railo.runtime.op.Castable#castToString(java.lang.String) */
 public String castToString(String defaultValue) {
   return column.castToString(defaultValue);
 }
Esempio n. 12
0
 /** @see railo.runtime.op.Castable#castToString() */
 public String castToString() throws PageException {
   return column.castToString();
 }
Esempio n. 13
0
 /** @see railo.runtime.op.Castable#castToDoubleValue(double) */
 public double castToDoubleValue(double defaultValue) {
   return column.castToDoubleValue(defaultValue);
 }
Esempio n. 14
0
 /** @see railo.runtime.op.Castable#castToDoubleValue() */
 public double castToDoubleValue() throws PageException {
   return column.castToDoubleValue();
 }
Esempio n. 15
0
 /** @see railo.runtime.op.Castable#castToDateTime(railo.runtime.type.dt.DateTime) */
 public DateTime castToDateTime(DateTime defaultValue) {
   return column.castToDateTime(defaultValue);
 }
Esempio n. 16
0
 /** @see railo.runtime.type.ref.Reference#removeEL(railo.runtime.PageContext) */
 public Object removeEL(PageContext pc) {
   disconnectCache();
   return column.removeEL(pc);
 }
Esempio n. 17
0
 /** @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);
 }
Esempio n. 18
0
 /** @see railo.runtime.op.Castable#compareTo(double) */
 public int compareTo(double d) throws PageException {
   return column.compareTo(d);
 }
Esempio n. 19
0
 /** @see railo.runtime.type.ref.Reference#touch(railo.runtime.PageContext) */
 public Object touch(PageContext pc) throws PageException {
   disconnectCache();
   return column.touch(pc);
 }
Esempio n. 20
0
 /** @see railo.runtime.op.Castable#compareTo(railo.runtime.type.dt.DateTime) */
 public int compareTo(DateTime dt) throws PageException {
   return column.compareTo(dt);
 }
Esempio n. 21
0
 /** @see java.lang.Object#clone() */
 public Object clone() {
   return column.clone();
 }
Esempio n. 22
0
 /** @see railo.runtime.type.ref.Reference#get(railo.runtime.PageContext) */
 public Object get(PageContext pc) throws PageException {
   return column.get(pc);
 }
Esempio n. 23
0
 /** @see railo.runtime.type.QueryColumn#add(java.lang.Object) */
 public void add(Object value) {
   disconnectCache();
   column.add(value);
 }
Esempio n. 24
0
 /** @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);
 }
Esempio n. 25
0
 /** @see railo.runtime.type.QueryColumn#cutRowsTo(int) */
 public void cutRowsTo(int maxrows) {
   disconnectCache();
   column.cutRowsTo(maxrows);
 }
Esempio n. 26
0
 /** @see railo.runtime.type.ref.Reference#getKey() */
 public Key getKey() throws PageException {
   return column.getKey();
 }
Esempio n. 27
0
 /** @see railo.runtime.type.QueryColumn#get(int, java.lang.Object) */
 public Object get(int row, Object defaultValue) {
   return column.get(row, defaultValue);
 }
Esempio n. 28
0
 /** @see railo.runtime.type.ref.Reference#getKeyAsString() */
 public String getKeyAsString() throws PageException {
   return column.getKeyAsString();
 }
Esempio n. 29
0
 /** @see railo.runtime.type.ref.Reference#remove(railo.runtime.PageContext) */
 public Object remove(PageContext pc) throws PageException {
   disconnectCache();
   return column.remove(pc);
 }
Esempio n. 30
0
 /** @see railo.runtime.op.Castable#castToBoolean(java.lang.Boolean) */
 public Boolean castToBoolean(Boolean defaultValue) {
   return column.castToBoolean(defaultValue);
 }