public interface VariableUtil
Modifier and Type | Method and Description |
---|---|
Object |
callFunction(PageContext pc,
Object coll,
String key,
Object[] args)
call a Function (UDF, Method) with or witout named values
|
Object |
callFunctionWithNamedValues(PageContext pc,
Object coll,
Collection.Key key,
Object[] args)
call a Function (UDF, Method) with Named Values
|
Object |
callFunctionWithNamedValues(PageContext pc,
Object coll,
Collection.Key key,
Struct args) |
Object |
callFunctionWithNamedValues(PageContext pc,
Object coll,
String key,
Object[] args)
Deprecated.
use instead
callFunctionWithNamedValues(PageContext pc, Object coll, Collection.Key key, Object[] args) |
Object |
callFunctionWithoutNamedValues(PageContext pc,
Object coll,
Collection.Key key,
Object[] args)
call a Function (UDF, Method) without Named Values
|
Object |
callFunctionWithoutNamedValues(PageContext pc,
Object coll,
String key,
Object[] args)
Deprecated.
use instead
callFunctionWithoutNamedValues(PageContext pc, Object coll, Collection.Key key, Object[] args) |
Object |
get(PageContext pc,
Object coll,
Collection.Key key,
Object defaultValue)
return a property from the given Object, when property doesn't exists return null
|
Object |
get(PageContext pc,
Object coll,
String key)
return a property from the given Object, when property doesn't exists throw exception
|
Object |
get(PageContext pc,
Object coll,
String key,
Object defaultValue)
Deprecated.
use instead
get(PageContext pc, Object coll, Collection.Key key, Object defaultValue); |
Object |
getCollection(PageContext pc,
Object coll,
String key)
return a property from the given Object, when coll is a query return a Column,when property doesn't exists throw exception
|
Object |
getCollection(PageContext pc,
Object coll,
String key,
Object defaultValue)
return a property from the given Object, when property doesn't exists return null
|
Object |
getLight(PageContext pc,
Object coll,
String key,
Object defaultValue)
return a property from the given Object, when property doesn't exists return null
|
Object |
remove(Object coll,
String key)
clear value from Collection
|
Object |
removeEL(Object coll,
String key)
remove value from Collection
|
Object |
set(PageContext pc,
Object coll,
String key,
Object value)
sets a value to the Object
|
Object |
setEL(PageContext pc,
Object coll,
Collection.Key key,
Object value)
sets a value to the Object
|
Object |
setEL(PageContext pc,
Object coll,
String key,
Object value)
Deprecated.
use instead
setEL(PageContext pc, Object coll, Collection.Key key,Object value); |
Object getCollection(PageContext pc, Object coll, String key, Object defaultValue)
pc
- coll
- Collection to checkkey
- to get from CollectionObject get(PageContext pc, Object coll, String key, Object defaultValue)
get(PageContext pc, Object coll, Collection.Key key, Object defaultValue);
pc
- coll
- Collection to checkkey
- to get from CollectionObject get(PageContext pc, Object coll, Collection.Key key, Object defaultValue)
pc
- coll
- Collection to checkkey
- to get from CollectionObject getLight(PageContext pc, Object coll, String key, Object defaultValue)
pc
- coll
- Collection to checkkey
- to get from CollectionObject getCollection(PageContext pc, Object coll, String key) throws PageException
pc
- coll
- Collection to checkkey
- to get from CollectionPageException
Object get(PageContext pc, Object coll, String key) throws PageException
pc
- coll
- Collection to checkkey
- to get from CollectionPageException
Object set(PageContext pc, Object coll, String key, Object value) throws PageException
pc
- coll
- Collection to checkkey
- to get from Collectionvalue
- Value to setPageException
Object setEL(PageContext pc, Object coll, String key, Object value)
setEL(PageContext pc, Object coll, Collection.Key key,Object value);
pc
- coll
- Collection to checkkey
- to get from Collectionvalue
- Value to setObject setEL(PageContext pc, Object coll, Collection.Key key, Object value)
pc
- coll
- Collection to checkkey
- to get from Collectionvalue
- Value to setObject removeEL(Object coll, String key)
coll
- key
- Object remove(Object coll, String key) throws PageException
coll
- key
- PageException
Object callFunction(PageContext pc, Object coll, String key, Object[] args) throws PageException
pc
- coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the functionPageException
Object callFunctionWithoutNamedValues(PageContext pc, Object coll, String key, Object[] args) throws PageException
callFunctionWithoutNamedValues(PageContext pc, Object coll, Collection.Key key, Object[] args)
pc
- coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the functionPageException
Object callFunctionWithoutNamedValues(PageContext pc, Object coll, Collection.Key key, Object[] args) throws PageException
pc
- coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the functionPageException
Object callFunctionWithNamedValues(PageContext pc, Object coll, String key, Object[] args) throws PageException
callFunctionWithNamedValues(PageContext pc, Object coll, Collection.Key key, Object[] args)
pc
- coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the functionPageException
Object callFunctionWithNamedValues(PageContext pc, Object coll, Collection.Key key, Object[] args) throws PageException
pc
- coll
- Collection of the UDF Functionkey
- name of the functionargs
- arguments to call the functionPageException
Object callFunctionWithNamedValues(PageContext pc, Object coll, Collection.Key key, Struct args) throws PageException
PageException
Copyright © 2015 Lucee