railo.runtime.type
Interface Objects

All Superinterfaces:
Castable, Dumpable, java.io.Serializable
All Known Subinterfaces:
Component

public interface Objects
extends Dumpable, Castable

Hold a native or wild object, to use id inside railo runtime


Method Summary
 java.lang.Object call(PageContext pc, Collection.Key methodName, java.lang.Object[] arguments)
          calls a method of the object
 java.lang.Object call(PageContext pc, java.lang.String methodName, java.lang.Object[] arguments)
          Deprecated. use instead call(PageContext, railo.runtime.type.Collection.Key, Object[])
 java.lang.Object callWithNamedValues(PageContext pc, Collection.Key methodName, Struct args)
          call a method of the Object with named arguments
 java.lang.Object callWithNamedValues(PageContext pc, java.lang.String methodName, Struct args)
          Deprecated. use instead callWithNamedValues(PageContext, railo.runtime.type.Collection.Key, Struct)
 java.lang.Object get(PageContext pc, Collection.Key key)
          return property or getter of the ContextCollection
 java.lang.Object get(PageContext pc, Collection.Key key, java.lang.Object defaultValue)
          return property
 java.lang.Object get(PageContext pc, java.lang.String key)
          Deprecated. use instead get(PageContext, railo.runtime.type.Collection.Key)
 java.lang.Object get(PageContext pc, java.lang.String key, java.lang.Object defaultValue)
          Deprecated. use instead get(PageContext, railo.runtime.type.Collection.Key, Object)
 boolean isInitalized()
           
 java.lang.Object set(PageContext pc, Collection.Key propertyName, java.lang.Object value)
          sets a property (Data Member) value of the object
 java.lang.Object set(PageContext pc, java.lang.String propertyName, java.lang.Object value)
          Deprecated. use instead set(PageContext, railo.runtime.type.Collection.Key, Object)
 java.lang.Object setEL(PageContext pc, Collection.Key propertyName, java.lang.Object value)
          sets a property (Data Member) value of the object
 java.lang.Object setEL(PageContext pc, java.lang.String propertyName, java.lang.Object value)
          Deprecated. use instead setEL(PageContext, railo.runtime.type.Collection.Key, Object)
 
Methods inherited from interface railo.runtime.dump.Dumpable
toDumpData
 
Methods inherited from interface railo.runtime.op.Castable
castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo
 

Method Detail

get

public java.lang.Object get(PageContext pc,
                            java.lang.String key,
                            java.lang.Object defaultValue)
Deprecated. use instead get(PageContext, railo.runtime.type.Collection.Key, Object)

return property

Parameters:
pc - PageContext
key - Name of the Property
Returns:
return value of the Property

get

public java.lang.Object get(PageContext pc,
                            Collection.Key key,
                            java.lang.Object defaultValue)
return property

Parameters:
pc - PageContext
key - Name of the Property
Returns:
return value of the Property

get

public java.lang.Object get(PageContext pc,
                            java.lang.String key)
                     throws PageException
Deprecated. use instead get(PageContext, railo.runtime.type.Collection.Key)

return property or getter of the ContextCollection

Parameters:
pc - PageContext
key - Name of the Property
Returns:
return value of the Property
Throws:
PageException

get

public java.lang.Object get(PageContext pc,
                            Collection.Key key)
                     throws PageException
return property or getter of the ContextCollection

Parameters:
pc - PageContext
key - Name of the Property
Returns:
return value of the Property
Throws:
PageException

set

public java.lang.Object set(PageContext pc,
                            java.lang.String propertyName,
                            java.lang.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 set
value - value to insert
Returns:
value set to property
Throws:
PageException

set

public java.lang.Object set(PageContext pc,
                            Collection.Key propertyName,
                            java.lang.Object value)
                     throws PageException
sets a property (Data Member) value of the object

Parameters:
pc -
propertyName - property name to set
value - value to insert
Returns:
value set to property
Throws:
PageException

setEL

public java.lang.Object setEL(PageContext pc,
                              java.lang.String propertyName,
                              java.lang.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 set
value - value to insert
Returns:
value set to property

setEL

public java.lang.Object setEL(PageContext pc,
                              Collection.Key propertyName,
                              java.lang.Object value)
sets a property (Data Member) value of the object

Parameters:
pc -
propertyName - property name to set
value - value to insert
Returns:
value set to property

call

public java.lang.Object call(PageContext pc,
                             java.lang.String methodName,
                             java.lang.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 call
arguments - arguments to call method with
Returns:
return value of the method
Throws:
PageException

call

public java.lang.Object call(PageContext pc,
                             Collection.Key methodName,
                             java.lang.Object[] arguments)
                      throws PageException
calls a method of the object

Parameters:
pc -
methodName - name of the method to call
arguments - arguments to call method with
Returns:
return value of the method
Throws:
PageException

callWithNamedValues

public java.lang.Object callWithNamedValues(PageContext pc,
                                            java.lang.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 - PageContext
methodName - name of the method
args - Named Arguments for the method
Returns:
return result of the method
Throws:
PageException

callWithNamedValues

public java.lang.Object callWithNamedValues(PageContext pc,
                                            Collection.Key methodName,
                                            Struct args)
                                     throws PageException
call a method of the Object with named arguments

Parameters:
pc - PageContext
methodName - name of the method
args - Named Arguments for the method
Returns:
return result of the method
Throws:
PageException

isInitalized

public boolean isInitalized()
Returns:
returns if embeded Object is init