railo.runtime.type
Interface Scope

All Superinterfaces:
Castable, Cloneable, Collection, Dumpable, Iteratorable, Map, Serializable, Struct
All Known Subinterfaces:
Application, Argument, ArgumentPro, Caller, CGI, Client, ClientPlus, Cluster, ComponentScope, Cookie, Form, Local, LocalPro, MemoryScope, Request, Server, Session, SessionPlus, SharedScope, StorageScope, Threads, Undefined, URL, URLForm, Variables
All Known Implementing Classes:
ApplicationImpl, ArgumentImpl, ArgumentThreadImpl, CallerImpl, CGIImpl, ClientCache, ClientCookie, ClientDatasource, ClientFile, ClientMemory, ClusterNotSupported, ClusterWrap, ComponentScopeShadow, ComponentScopeThis, CookieImpl, FormImpl, JSession, LocalImpl, LocalNotSupportedScope, RequestImpl, ScopeSupport, ServerImpl, SessionCache, SessionCookie, SessionDatasource, SessionFile, SessionMemory, StorageScopeCache, StorageScopeCookie, StorageScopeDatasource, StorageScopeFile, StorageScopeImpl, StorageScopeMemory, ThreadsImpl, UndefinedImpl, UrlFormImpl, URLImpl, VariablesAsSession, VariablesImpl

public interface Scope
extends Struct

abstract class for all cold fusion scopes


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 SCOPE_APPLICATION
          Scope Application
static int SCOPE_ARGUMENTS
          Scope Arguments
static int SCOPE_CALLER
          Scope Caller
static int SCOPE_CGI
          Scope CGI
static int SCOPE_CLIENT
          Scope Client
static int SCOPE_CLUSTER
           
static int SCOPE_COOKIE
          Scope Cookie
static int SCOPE_COUNT
           
static int SCOPE_FORM
          Scope Form
static int SCOPE_LOCAL
          Scope Local
static int SCOPE_REQUEST
          Scope Request
static int SCOPE_SERVER
          Scope Server
static int SCOPE_SESSION
          Scope Session
static int SCOPE_UNDEFINED
          Scope Undefined
static int SCOPE_URL
          Scope URL
static int SCOPE_VARIABLES
          Scope Variables
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 int getType()
           
 String getTypeAsString()
           
 void initialize(PageContext pc)
          Initalize Scope
 boolean isInitalized()
          return if the scope is Initialiesd
 void release()
          release scope for reuse
 
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

SCOPE_UNDEFINED

static final int SCOPE_UNDEFINED
Scope Undefined

See Also:
Constant Field Values

SCOPE_VARIABLES

static final int SCOPE_VARIABLES
Scope Variables

See Also:
Constant Field Values

SCOPE_REQUEST

static final int SCOPE_REQUEST
Scope Request

See Also:
Constant Field Values

SCOPE_URL

static final int SCOPE_URL
Scope URL

See Also:
Constant Field Values

SCOPE_FORM

static final int SCOPE_FORM
Scope Form

See Also:
Constant Field Values

SCOPE_CLIENT

static final int SCOPE_CLIENT
Scope Client

See Also:
Constant Field Values

SCOPE_COOKIE

static final int SCOPE_COOKIE
Scope Cookie

See Also:
Constant Field Values

SCOPE_SESSION

static final int SCOPE_SESSION
Scope Session

See Also:
Constant Field Values

SCOPE_APPLICATION

static final int SCOPE_APPLICATION
Scope Application

See Also:
Constant Field Values

SCOPE_ARGUMENTS

static final int SCOPE_ARGUMENTS
Scope Arguments

See Also:
Constant Field Values

SCOPE_CGI

static final int SCOPE_CGI
Scope CGI

See Also:
Constant Field Values

SCOPE_SERVER

static final int SCOPE_SERVER
Scope Server

See Also:
Constant Field Values

SCOPE_LOCAL

static final int SCOPE_LOCAL
Scope Local

See Also:
Constant Field Values

SCOPE_CALLER

static final int SCOPE_CALLER
Scope Caller

See Also:
Constant Field Values

SCOPE_CLUSTER

static final int SCOPE_CLUSTER
See Also:
Constant Field Values

SCOPE_COUNT

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

isInitalized

boolean isInitalized()
return if the scope is Initialiesd

Returns:
scope is init

initialize

void initialize(PageContext pc)
Initalize Scope

Parameters:
pc - Page Context

release

void release()
release scope for reuse


getType

int getType()
Returns:
return the scope type (SCOPE_SERVER, SCOPE_SESSION usw.)

getTypeAsString

String getTypeAsString()
Returns:
return the scope type as a String (server,session usw.)


Copyright © 2012 Railo