|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.query.QueryCacheQueryColumn
public class QueryCacheQueryColumn
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface railo.runtime.type.Collection |
---|
Collection.Key |
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(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 |
static QueryColumn |
getColumn(QueryCacheQuery qcq,
Collection.Key key)
return a queryCacheQuery |
static QueryColumn |
getColumn(QueryCacheQuery qcq,
Collection.Key key,
QueryColumn defaultValue)
return a queryCacheQuery |
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(PageContext pc)
create it when not exists |
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 |
Method Detail |
---|
public static QueryColumn getColumn(QueryCacheQuery qcq, Collection.Key key) throws DatabaseException
qcq
- key
-
DatabaseException
public static QueryColumn getColumn(QueryCacheQuery qcq, Collection.Key key, QueryColumn defaultValue)
qcq
- key
- defaultValue
-
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 void cutRowsTo(int maxrows)
QueryColumn
cutRowsTo
in interface QueryColumn
QueryColumn.cutRowsTo(int)
public Object get(int row) throws PageException
QueryColumn
get
in interface QueryColumn
row
- row to get value
PageException
QueryColumn.get(int)
public Object get(int row, Object defaultValue)
QueryColumn
get
in interface QueryColumn
row
- row to get value
QueryColumn.get(int, java.lang.Object)
public int getType()
getType
in interface QueryColumn
QueryColumn.getType()
public String getTypeAsString()
getTypeAsString
in interface QueryColumn
QueryColumn.getTypeAsString()
public Object remove(int row) throws PageException
QueryColumn
remove
in interface QueryColumn
PageException
QueryColumn.remove(int)
public Object removeEL(int row)
QueryColumn
removeEL
in interface QueryColumn
QueryColumn.removeEL(int)
public Object removeRow(int row) throws PageException
QueryColumn
removeRow
in interface QueryColumn
PageException
QueryColumn.removeRow(int)
public Object set(int row, Object value) throws PageException
QueryColumn
set
in interface QueryColumn
row
- row to setvalue
- value to set
PageException
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 clear()
Collection
clear
in interface Collection
Collection.clear()
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 Collection duplicate(boolean deepCopy)
duplicate
in interface Collection
Collection.duplicate(boolean)
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 Collection.Key[] keys()
keys
in interface Collection
Collection.keys()
public String[] keysAsString()
keysAsString
in interface Collection
Collection.keysAsString()
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 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 int size()
size
in interface Collection
Collection.size()
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
railo.runtime.dump.Dumpable#toDumpData(railo.runtime.PageContext, int)
public Iterator iterator()
iterator
in interface Iteratorable
Iteratorable.iterator()
public Iterator keyIterator()
keyIterator
in interface Iteratorable
Iteratorable.keyIterator()
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 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 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 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 int compareTo(String str) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(java.lang.String)
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(boolean)
public int compareTo(double d) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(double)
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
PageException
Castable.compareTo(railo.runtime.type.dt.DateTime)
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 Collection.Key getKey() throws PageException
getKey
in interface Reference
PageException
Reference.getKey()
public String getKeyAsString() throws PageException
getKeyAsString
in interface Reference
PageException
Reference.getKeyAsString()
public Object getParent()
getParent
in interface Reference
Reference.getParent()
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 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 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 clone()
clone
in interface Collection
clone
in class Object
Object.clone()
public Iterator valueIterator()
valueIterator
in interface Iteratorable
Iteratorable.valueIterator()
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 |