railo.runtime.type.scope
Interface Undefined

All Superinterfaces:
Castable, Cloneable, Collection, Dumpable, Iteratorable, Map, Scope, Serializable, Struct
All Known Implementing Classes:
UndefinedImpl

public interface Undefined
extends Scope

interface of the cope undefined


Nested Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
static int MODE_LOCAL_OR_ARGUMENTS_ALWAYS
           
static int MODE_LOCAL_OR_ARGUMENTS_ONLY_WHEN_EXISTS
           
static int MODE_NO_LOCAL_AND_ARGUMENTS
           
 
Fields inherited from interface railo.runtime.type.Scope
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_VARIABLES
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 void addCollection(Query qry)
          Deprecated. use instead addQuery(Query)
 void addQuery(Query qry)
          add a collection to the undefined scope
 Object getCascading(Collection.Key key)
          gets a key from all cascaded scopes, but not from variables scope
 Object getCascading(String key)
          Deprecated. use instead getCascading(railo.runtime.type.Collection.Key)
 Object getCollection(Collection.Key key)
          return value matching key, if value is from Query return a QueryColumn
 Object getCollection(String key)
          Deprecated. use instead getCollection(railo.runtime.type.Collection.Key)
 QueryStack getCollectionStack()
          Deprecated. use instead getQueryStack()
 QueryStack getQueryStack()
           
 Scope localScope()
           
 void removeCollection()
          Deprecated. removeQuery()
 void removeQuery()
          remove a collection from the undefined scope
 void setCollectionStack(QueryStack collStack)
          Deprecated. use instead setQueryStack(QueryStack)
 void setFunctionScopes(Scope local, Scope 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(Scope scope)
          change the variable scope
 
Methods inherited from interface railo.runtime.type.Scope
getType, getTypeAsString, initialize, isInitalized, release
 
Methods inherited from interface railo.runtime.type.Collection
clear, clone, containsKey, containsKey, duplicate, get, get, get, get, keys, keysAsString, remove, removeEL, set, set, setEL, setEL, size
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.type.Iteratorable
iterator, keyIterator, valueIterator
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

MODE_NO_LOCAL_AND_ARGUMENTS

static final int MODE_NO_LOCAL_AND_ARGUMENTS
See Also:
Constant Field Values

MODE_LOCAL_OR_ARGUMENTS_ONLY_WHEN_EXISTS

static final int MODE_LOCAL_OR_ARGUMENTS_ONLY_WHEN_EXISTS
See Also:
Constant Field Values

MODE_LOCAL_OR_ARGUMENTS_ALWAYS

static final int MODE_LOCAL_OR_ARGUMENTS_ALWAYS
See Also:
Constant Field Values
Method Detail

localScope

Scope localScope()
Returns:
returns the current local scope defined in the undefined scope

setMode

int setMode(int mode)
sets mode of scope

Parameters:
mode - new mode
Returns:
old mode

setFunctionScopes

void setFunctionScopes(Scope local,
                       Scope argument)
sets the functions scopes

Parameters:
local - local scope
argument - argument scope

getCollectionStack

QueryStack getCollectionStack()
Deprecated. use instead getQueryStack()

Returns:
returns actuell collection stack

getQueryStack

QueryStack getQueryStack()
Returns:
returns actuell collection stack

setCollectionStack

void setCollectionStack(QueryStack collStack)
Deprecated. use instead setQueryStack(QueryStack)

sets a individuell collection stack to the undefined scope

Parameters:
collStack - new collection stack

setQueryStack

void setQueryStack(QueryStack qryStack)
sets a individual query stack to the undefined scope

Parameters:
qryStack - Query stack

addCollection

void addCollection(Query qry)
Deprecated. use instead addQuery(Query)

add a collection to the undefined scope

Parameters:
qry - Query to add to undefined scope

addQuery

void addQuery(Query qry)
add a collection to the undefined scope

Parameters:
qry - Query to add to undefined scope

removeCollection

void removeCollection()
Deprecated. removeQuery()

remove a collection from the undefined scope


removeQuery

void removeQuery()
remove a collection from the undefined scope


getCollection

Object getCollection(String key)
                     throws PageException
Deprecated. use instead getCollection(railo.runtime.type.Collection.Key)

return value matching key, if value is from Query return a QueryColumn

Parameters:
key -
Returns:
return matched value
Throws:
PageException

getCollection

Object getCollection(Collection.Key key)
                     throws PageException
return value matching key, if value is from Query return a QueryColumn

Parameters:
key -
Returns:
return matched value
Throws:
PageException

getCascading

Object getCascading(String key)
Deprecated. use instead getCascading(railo.runtime.type.Collection.Key)

gets a key from all cascaded scopes, but not from variables scope

Parameters:
key - key to get
Returns:
matching value or null

getCascading

Object getCascading(Collection.Key key)
gets a key from all cascaded scopes, but not from variables scope

Parameters:
key - key to get
Returns:
matching value or null

setVariableScope

void setVariableScope(Scope scope)
change the variable scope

Parameters:
scope -


Copyright © 2012 Railo