public interface Undefined extends Scope
Collection.Key
Modifier and Type | Field and Description |
---|---|
static int |
MODE_LOCAL_OR_ARGUMENTS_ALWAYS |
static int |
MODE_LOCAL_OR_ARGUMENTS_ONLY_WHEN_EXISTS |
static int |
MODE_NO_LOCAL_AND_ARGUMENTS |
SCOPE_APPLICATION, SCOPE_ARGUMENTS, SCOPE_CALLER, SCOPE_CGI, SCOPE_CLIENT, SCOPE_CLUSTER, SCOPE_COOKIE, SCOPE_COUNT, SCOPE_FORM, SCOPE_LOCAL, SCOPE_REQUEST, SCOPE_SERVER, SCOPE_SESSION, SCOPE_UNDEFINED, SCOPE_URL, SCOPE_VAR, SCOPE_VARIABLES
TYPE_LINKED, TYPE_REGULAR, TYPE_SOFT, TYPE_SYNC, TYPE_WEAKED
Modifier and Type | Method and Description |
---|---|
void |
addQuery(Query qry)
add a collection to the undefined scope
|
Argument |
argumentsScope() |
java.lang.Object |
getCascading(Collection.Key key)
gets a key from all cascaded scopes, but not from variables scope
|
java.lang.Object |
getCascading(java.lang.String key)
Deprecated.
use instead
|
boolean |
getCheckArguments() |
java.lang.Object |
getCollection(Collection.Key key)
return value matching key, if value is from Query return a QueryColumn
|
java.lang.Object |
getCollection(java.lang.String key)
Deprecated.
use instead
|
boolean |
getLocalAlways() |
QueryStack |
getQueryStack() |
Struct |
getScope(Collection.Key key) |
java.util.List<java.lang.String> |
getScopeNames() |
Local |
localScope() |
void |
reinitialize(PageContext pc) |
void |
removeQuery()
remove a collection from the undefined scope
|
boolean |
setAllowImplicidQueryCall(boolean allowImplicidQueryCall) |
void |
setFunctionScopes(Local local,
Argument argument)
sets the functions scopes
|
int |
setMode(int mode)
sets mode of scope
|
void |
setQueryStack(QueryStack qryStack)
sets a individual query stack to the undefined scope
|
void |
setVariableScope(Variables scope)
change the variable scope
|
Variables |
variablesScope() |
getType, getTypeAsString, initialize, isInitalized, release, release
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, remove, removeEL, set, set, setEL, setEL, size
entryIterator, keyIterator, keysAsStringIterator, valueIterator
getIterator
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
call, callWithNamedValues, get, get, set, setEL
toDumpData
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
static final int MODE_NO_LOCAL_AND_ARGUMENTS
static final int MODE_LOCAL_OR_ARGUMENTS_ONLY_WHEN_EXISTS
static final int MODE_LOCAL_OR_ARGUMENTS_ALWAYS
Local localScope()
Argument argumentsScope()
Variables variablesScope()
int setMode(int mode)
mode
- new modeboolean getLocalAlways()
void setFunctionScopes(Local local, Argument argument)
local
- local scopeargument
- argument scopeQueryStack getQueryStack()
void setQueryStack(QueryStack qryStack)
qryStack
- Query stackvoid addQuery(Query qry)
qry
- Query to add to undefined scopevoid removeQuery()
java.lang.Object getCollection(java.lang.String key) throws PageException
getCollection(lucee.runtime.type.Collection.Key)
key
- PageException
java.util.List<java.lang.String> getScopeNames()
java.lang.Object getCollection(Collection.Key key) throws PageException
key
- PageException
java.lang.Object getCascading(java.lang.String key)
getCascading(lucee.runtime.type.Collection.Key)
key
- key to getjava.lang.Object getCascading(Collection.Key key)
key
- key to getvoid setVariableScope(Variables scope)
scope
- boolean getCheckArguments()
Struct getScope(Collection.Key key)
boolean setAllowImplicidQueryCall(boolean allowImplicidQueryCall)
void reinitialize(PageContext pc)