|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.type.QueryColumnRef
public final class QueryColumnRef
Recordcount Query Column
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface railo.runtime.type.Collection |
---|
Collection.Key |
Constructor Summary | |
---|---|
QueryColumnRef(Query query,
Collection.Key columnName,
int type)
Constructor of the class |
Method Summary | |
---|---|
void |
add(Object value)
adds a value to the column |
void |
addRow(int count)
|
Boolean |
castToBoolean(Boolean defaultValue)
cast the castable value to a boolean value |
boolean |
castToBooleanValue()
cast the castable value to a boolean value |
DateTime |
castToDateTime()
cast the castable value to a date time object |
DateTime |
castToDateTime(DateTime defaultValue)
cast the castable value to a date time object |
double |
castToDoubleValue()
cast the castable value to a double value |
double |
castToDoubleValue(double defaultValue)
cast the castable value to a double value |
String |
castToString()
cast the castable value to a string, other than the Method toString, this Method can throw a Exception |
String |
castToString(String defaultValue)
cast the castable value to a string, return the default value, when the method is not castable |
void |
clear()
clears the collection |
Object |
clone()
|
int |
compareTo(boolean b)
|
int |
compareTo(DateTime dt)
|
int |
compareTo(double d)
|
int |
compareTo(String str)
|
boolean |
containsKey(Collection.Key key)
contains this key |
boolean |
containsKey(String key)
contains this key |
void |
cutRowsTo(int maxrows)
cuts row to defined size |
Collection |
duplicate(boolean deepCopy)
|
Object |
get(Collection.Key key)
return a value from the collection |
Object |
get(Collection.Key key,
Object defaultValue)
return a value from the collection, if key doesn't exist, dont throw a exception, reeturns null |
Object |
get(int row)
get method with a int as key |
Object |
get(int row,
Object defaultValue)
getExpressionLess method with a int as key |
Object |
get(PageContext pc)
|
Object |
get(PageContext pc,
Object defaultValue)
|
Object |
get(PageContext pc,
String key)
|
Object |
get(PageContext pc,
String key,
Object defaultValue)
|
Object |
get(String key)
return a value from the collection |
Object |
get(String key,
Object defaultValue)
return a value from the collection, if key doesn't exist, dont throw a exception, reeturns null |
Collection.Key |
getKey()
|
String |
getKeyAsString()
|
Object |
getParent()
|
int |
getType()
|
String |
getTypeAsString()
|
Iterator |
iterator()
|
Iterator |
keyIterator()
|
Collection.Key[] |
keys()
|
String[] |
keysAsString()
|
Object |
remove(Collection.Key key)
removes value from collection and return it when it exists, otherwise throws a exception |
Object |
remove(int row)
removes the value but dont the index |
Object |
remove(PageContext pc)
clears the variable from collection |
Object |
removeEL(Collection.Key key)
removes value from collection and return it when it exists, otherwise returns null |
Object |
removeEL(int row)
removes method with int as key |
Object |
removeEL(PageContext pc)
clears the variable from collection |
Object |
removeRow(int row)
remove a row from query |
Object |
set(Collection.Key key,
Object value)
sets a value to the collection |
Object |
set(int row,
Object value)
set method with a int as key |
Object |
set(PageContext pc,
Object value)
|
Object |
set(String key,
Object value)
sets a value to the collection |
Object |
setEL(Collection.Key key,
Object value)
sets a value to the collection, if key doesn't exist, dont throw a exception, returns null |
Object |
setEL(int row,
Object value)
setExpressionLess method with a int as key |
Object |
setEL(PageContext pc,
Object value)
|
Object |
setEL(String key,
Object value)
sets a value to the collection, if key doesn't exist, dont throw a exception, returns null |
int |
size()
|
long |
sizeOf()
return the size of the object |
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML |
Object |
touch(int row)
touch a value, means if key dosent exist, it will created |
Object |
touch(PageContext pc)
create it when not exists |
Object |
touchEL(int row)
|
Object |
touchEL(PageContext pc)
create it when not exists |
Iterator |
valueIterator()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryColumnRef(Query query, Collection.Key columnName, int type)
query
- columnName
- type
- Method Detail |
---|
public Object remove(int row) throws DatabaseException
QueryColumn
remove
in interface QueryColumn
DatabaseException
QueryColumn.remove(int)
public Object removeEL(int row)
QueryColumn
removeEL
in interface QueryColumn
QueryColumn.removeEL(int)
public Object get(int row) throws PageException
QueryColumn
get
in interface QueryColumn
row
- row to get value
PageException
QueryColumn.get(int)
public Object touch(int row) throws PageException
row
-
PageException
public Object touchEL(int row)
public Object get(int row, Object defaultValue)
QueryColumn
get
in interface QueryColumn
row
- row to get value
QueryColumn.get(int, java.lang.Object)
public Object set(int row, Object value) throws DatabaseException
QueryColumn
set
in interface QueryColumn
row
- row to setvalue
- value to set
DatabaseException
QueryColumn.set(int, java.lang.Object)
public Object setEL(int row, Object value)
QueryColumn
setEL
in interface QueryColumn
row
- row to setvalue
- value to set
QueryColumn.setEL(int, java.lang.Object)
public void add(Object value)
QueryColumn
add
in interface QueryColumn
value
- value to addQueryColumn.add(java.lang.Object)
public void addRow(int count)
addRow
in interface QueryColumn
count
- adds count row to the columnQueryColumn.addRow(int)
public int getType()
getType
in interface QueryColumn
QueryColumn.getType()
public String getTypeAsString()
getTypeAsString
in interface QueryColumn
QueryColumn.getTypeAsString()
public void cutRowsTo(int maxrows)
QueryColumn
cutRowsTo
in interface QueryColumn
QueryColumn.cutRowsTo(int)
public Object get(PageContext pc, String key, Object defaultValue)
railo.runtime.type.ContextCollection#get(railo.runtime.PageContext, java.lang.String, java.lang.Object)
public Object get(PageContext pc, String key) throws PageException
PageException
railo.runtime.type.ContextCollection#get(railo.runtime.PageContext, java.lang.String)
public int size()
size
in interface Collection
Collection.size()
public String[] keysAsString()
keysAsString
in interface Collection
Collection.keysAsString()
public Collection.Key[] keys()
keys
in interface Collection
public Object remove(Collection.Key key) throws PageException
Collection
remove
in interface Collection
key
- key of the collection
PageException
Collection.remove(railo.runtime.type.Collection.Key)
public Object removeEL(Collection.Key key)
Collection
removeEL
in interface Collection
key
- key of the collection
Collection.removeEL(railo.runtime.type.Collection.Key)
public void clear()
Collection
clear
in interface Collection
Collection.clear()
public Object get(String key) throws PageException
Collection
get
in interface Collection
key
- key of the value to get
PageException
Collection.get(java.lang.String)
public Object get(Collection.Key key) throws PageException
Collection
get
in interface Collection
key
- key of the value to get must be lower case
PageException
Collection.get(railo.runtime.type.Collection.Key)
public Object get(String key, Object defaultValue)
Collection
get
in interface Collection
key
- key of the value to get
Collection.get(java.lang.String, java.lang.Object)
public Object get(Collection.Key key, Object defaultValue)
Collection
get
in interface Collection
key
- key of the value to get
Collection.get(railo.runtime.type.Collection.Key, java.lang.Object)
public Object set(String key, Object value) throws PageException
Collection
set
in interface Collection
key
- key of the new valuevalue
- value to set
PageException
Collection.set(java.lang.String, java.lang.Object)
public Object set(Collection.Key key, Object value) throws PageException
Collection
set
in interface Collection
key
- key of the new valuevalue
- value to set
PageException
Collection.set(railo.runtime.type.Collection.Key, java.lang.Object)
public Object setEL(String key, Object value)
Collection
setEL
in interface Collection
key
- key of the value to getvalue
- value to set
Collection.setEL(java.lang.String, java.lang.Object)
public Object setEL(Collection.Key key, Object value)
Collection
setEL
in interface Collection
key
- key of the value to getvalue
- value to set
Collection.setEL(railo.runtime.type.Collection.Key, java.lang.Object)
public Iterator keyIterator()
keyIterator
in interface Iteratorable
Iteratorable.keyIterator()
public Iterator valueIterator()
valueIterator
in interface Iteratorable
Iteratorable.valueIterator()
public Iterator iterator()
iterator
in interface Iteratorable
Iteratorable.iterator()
public boolean containsKey(String key)
Collection
containsKey
in interface Collection
Collection.containsKey(java.lang.String)
public boolean containsKey(Collection.Key key)
Collection
containsKey
in interface Collection
Collection.containsKey(railo.runtime.type.Collection.Key)
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
railo.runtime.dump.Dumpable#toDumpData(railo.runtime.PageContext, int)
public String castToString() throws PageException
Castable
castToString
in interface Castable
PageException
Castable.castToString()
public String castToString(String defaultValue)
Castable
castToString
in interface Castable
Castable.castToString(java.lang.String)
public boolean castToBooleanValue() throws PageException
Castable
castToBooleanValue
in interface Castable
PageException
Castable.castToBooleanValue()
public Boolean castToBoolean(Boolean defaultValue)
Castable
castToBoolean
in interface Castable
Castable.castToBoolean(java.lang.Boolean)
public double castToDoubleValue() throws PageException
Castable
castToDoubleValue
in interface Castable
PageException
Castable.castToDoubleValue()
public double castToDoubleValue(double defaultValue)
Castable
castToDoubleValue
in interface Castable
Castable.castToDoubleValue(double)
public DateTime castToDateTime() throws PageException
Castable
castToDateTime
in interface Castable
PageException
Castable.castToDateTime()
public DateTime castToDateTime(DateTime defaultValue)
Castable
castToDateTime
in interface Castable
defaultValue
- returned when it is not possible to cast to a dateTime object
Castable.castToDateTime(railo.runtime.type.dt.DateTime)
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
PageException
railo.runtime.op.Castable#compare(boolean)
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(railo.runtime.type.dt.DateTime)
public int compareTo(double d) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(double)
public int compareTo(String str) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(java.lang.String)
public String getKeyAsString() throws PageException
getKeyAsString
in interface Reference
PageException
Reference.getKeyAsString()
public Collection.Key getKey() throws PageException
getKey
in interface Reference
PageException
Reference.getKey()
public Object get(PageContext pc) throws PageException
get
in interface Reference
pc
- PageContext of the actuell Request
PageException
Reference.get(railo.runtime.PageContext)
public Object get(PageContext pc, Object defaultValue)
get
in interface Reference
pc
- PageContext of the actuell Request
Reference.get(railo.runtime.PageContext, java.lang.Object)
public Object removeRow(int row) throws DatabaseException
QueryColumn
removeRow
in interface QueryColumn
DatabaseException
QueryColumn.removeRow(int)
public Object touch(PageContext pc) throws PageException
Reference
touch
in interface Reference
PageException
Reference.touch(railo.runtime.PageContext)
public Object touchEL(PageContext pc)
Reference
touchEL
in interface Reference
Reference.touchEL(railo.runtime.PageContext)
public Object set(PageContext pc, Object value) throws PageException
set
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
PageException
Reference.set(railo.runtime.PageContext, java.lang.Object)
public Object setEL(PageContext pc, Object value)
setEL
in interface Reference
pc
- PageContext of the actuell Requestvalue
- resets the value of the variable
Reference.setEL(railo.runtime.PageContext, java.lang.Object)
public Object remove(PageContext pc) throws PageException
Reference
remove
in interface Reference
PageException
Reference.remove(railo.runtime.PageContext)
public Object removeEL(PageContext pc)
Reference
removeEL
in interface Reference
Reference.removeEL(railo.runtime.PageContext)
public Object getParent()
getParent
in interface Reference
Reference.getParent()
public Object clone()
clone
in interface Collection
clone
in class Object
Collection.clone()
public Collection duplicate(boolean deepCopy)
duplicate
in interface Collection
Collection.duplicate(boolean)
public long sizeOf()
Sizeable
sizeOf
in interface Sizeable
Sizeable.sizeOf()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |