railo.runtime.type
Interface Objects
- All Superinterfaces:
- Castable, Dumpable, Serializable
- All Known Subinterfaces:
- Component, ComponentAccess, ComponentPro, ComponentScope
- All Known Implementing Classes:
- CatchBlock, CFCProxy, COMObject, ComponentAccessProxy, ComponentImpl, ComponentProProxy, ComponentScopeShadow, ComponentScopeThis, ComponentWrap, DebugQueryColumn, JavaObject, JavaProxy, ObjectStruct, QueryCacheQuery, QueryColumnImpl, QueryImpl, RPCClient, SimpleQuery, SuperComponent, TOArray, TOObjects, TOQuery, TOStruct, TOUDF
public interface Objects
- extends Dumpable, Castable
Hold a native or wild object, to use id inside railo runtime
Method Summary |
Object |
call(PageContext pc,
Collection.Key methodName,
Object[] arguments)
calls a method of the object |
Object |
call(PageContext pc,
String methodName,
Object[] arguments)
Deprecated. use instead call(PageContext, railo.runtime.type.Collection.Key, Object[])
|
Object |
callWithNamedValues(PageContext pc,
Collection.Key methodName,
Struct args)
call a method of the Object with named arguments |
Object |
callWithNamedValues(PageContext pc,
String methodName,
Struct args)
Deprecated. use instead callWithNamedValues(PageContext, railo.runtime.type.Collection.Key, Struct)
|
Object |
get(PageContext pc,
Collection.Key key)
return property or getter of the ContextCollection |
Object |
get(PageContext pc,
Collection.Key key,
Object defaultValue)
return property |
Object |
get(PageContext pc,
String key)
Deprecated. use instead get(PageContext, railo.runtime.type.Collection.Key)
|
Object |
get(PageContext pc,
String key,
Object defaultValue)
Deprecated. use instead get(PageContext, railo.runtime.type.Collection.Key, Object)
|
boolean |
isInitalized()
|
Object |
set(PageContext pc,
Collection.Key propertyName,
Object value)
sets a property (Data Member) value of the object |
Object |
set(PageContext pc,
String propertyName,
Object value)
Deprecated. use instead set(PageContext, railo.runtime.type.Collection.Key, Object)
|
Object |
setEL(PageContext pc,
Collection.Key propertyName,
Object value)
sets a property (Data Member) value of the object |
Object |
setEL(PageContext pc,
String propertyName,
Object value)
Deprecated. use instead setEL(PageContext, railo.runtime.type.Collection.Key, Object)
|
Methods inherited from interface railo.runtime.op.Castable |
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo |
get
Object get(PageContext pc,
String key,
Object defaultValue)
- Deprecated. use instead
get(PageContext, railo.runtime.type.Collection.Key, Object)
- return property
- Parameters:
pc
- PageContextkey
- Name of the Property
- Returns:
- return value of the Property
get
Object get(PageContext pc,
Collection.Key key,
Object defaultValue)
- return property
- Parameters:
pc
- PageContextkey
- Name of the Property
- Returns:
- return value of the Property
get
Object get(PageContext pc,
String key)
throws PageException
- Deprecated. use instead
get(PageContext, railo.runtime.type.Collection.Key)
- return property or getter of the ContextCollection
- Parameters:
pc
- PageContextkey
- Name of the Property
- Returns:
- return value of the Property
- Throws:
PageException
get
Object get(PageContext pc,
Collection.Key key)
throws PageException
- return property or getter of the ContextCollection
- Parameters:
pc
- PageContextkey
- Name of the Property
- Returns:
- return value of the Property
- Throws:
PageException
set
Object set(PageContext pc,
String propertyName,
Object value)
throws PageException
- Deprecated. use instead
set(PageContext, railo.runtime.type.Collection.Key, Object)
- sets a property (Data Member) value of the object
- Parameters:
pc
- propertyName
- property name to setvalue
- value to insert
- Returns:
- value set to property
- Throws:
PageException
set
Object set(PageContext pc,
Collection.Key propertyName,
Object value)
throws PageException
- sets a property (Data Member) value of the object
- Parameters:
pc
- propertyName
- property name to setvalue
- value to insert
- Returns:
- value set to property
- Throws:
PageException
setEL
Object setEL(PageContext pc,
String propertyName,
Object value)
- Deprecated. use instead
setEL(PageContext, railo.runtime.type.Collection.Key, Object)
- sets a property (Data Member) value of the object
- Parameters:
pc
- propertyName
- property name to setvalue
- value to insert
- Returns:
- value set to property
setEL
Object setEL(PageContext pc,
Collection.Key propertyName,
Object value)
- sets a property (Data Member) value of the object
- Parameters:
pc
- propertyName
- property name to setvalue
- value to insert
- Returns:
- value set to property
call
Object call(PageContext pc,
String methodName,
Object[] arguments)
throws PageException
- Deprecated. use instead
call(PageContext, railo.runtime.type.Collection.Key, Object[])
- calls a method of the object
- Parameters:
pc
- methodName
- name of the method to callarguments
- arguments to call method with
- Returns:
- return value of the method
- Throws:
PageException
call
Object call(PageContext pc,
Collection.Key methodName,
Object[] arguments)
throws PageException
- calls a method of the object
- Parameters:
pc
- methodName
- name of the method to callarguments
- arguments to call method with
- Returns:
- return value of the method
- Throws:
PageException
callWithNamedValues
Object callWithNamedValues(PageContext pc,
String methodName,
Struct args)
throws PageException
- Deprecated. use instead
callWithNamedValues(PageContext, railo.runtime.type.Collection.Key, Struct)
- call a method of the Object with named arguments
- Parameters:
pc
- PageContextmethodName
- name of the methodargs
- Named Arguments for the method
- Returns:
- return result of the method
- Throws:
PageException
callWithNamedValues
Object callWithNamedValues(PageContext pc,
Collection.Key methodName,
Struct args)
throws PageException
- call a method of the Object with named arguments
- Parameters:
pc
- PageContextmethodName
- name of the methodargs
- Named Arguments for the method
- Returns:
- return result of the method
- Throws:
PageException
isInitalized
boolean isInitalized()
- Returns:
- returns if embeded Object is init
Copyright © 2012 Railo