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,
Collection.Key key,
Object defaultValue)
return a property from the given Object, when property doesn't exists return null
|
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)
Deprecated.
use instead
|
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,
Collection.Key key) |
Object |
remove(Object coll,
String key)
Deprecated.
|
Object |
removeEL(Object coll,
Collection.Key key) |
Object |
removeEL(Object coll,
String key)
Deprecated.
|
Object |
set(PageContext pc,
Object coll,
Collection.Key key,
Object value) |
Object |
set(PageContext pc,
Object coll,
String key,
Object value)
Deprecated.
use instead
set(PageContext pc, Object coll, Collection.Key key,Object value) |
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 CollectiongetCollection(PageContext, Object, lucee.runtime.type.Collection.Key, Object)
Object getCollection(PageContext pc, Object coll, Collection.Key key, Object defaultValue)
pc
- coll
- Collection to checkkey
- to get from Collection@Deprecated Object 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
@Deprecated Object set(PageContext pc, Object coll, String key, Object value) throws PageException
set(PageContext pc, Object coll, Collection.Key key,Object value)
pc
- coll
- Collection to checkkey
- to get from Collectionvalue
- Value to setPageException
Object set(PageContext pc, Object coll, Collection.Key key, Object value) throws PageException
PageException
@Deprecated 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 set@Deprecated Object removeEL(Object coll, String key)
coll
- key
- Object removeEL(Object coll, Collection.Key key)
@Deprecated Object remove(Object coll, String key) throws PageException
coll
- key
- PageException
Object remove(Object coll, Collection.Key key) throws PageException
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
@Deprecated 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
@Deprecated 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 © 2019. All rights reserved.