|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.component.MemberSupport
railo.runtime.SuperComponent
public class SuperComponent
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 |
---|
Fields inherited from interface railo.runtime.Component |
---|
ACCESS_COUNT, ACCESS_PACKAGE, ACCESS_PRIVATE, ACCESS_PUBLIC, ACCESS_REMOTE |
Fields inherited from interface railo.runtime.type.Struct |
---|
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED |
Method Summary | |
---|---|
Object |
call(PageContext pc,
Collection.Key name,
Object[] args)
calls a method of the object |
Object |
call(PageContext pc,
String name,
Object[] args)
call a method of the component with no named arguments |
Object |
callWithNamedValues(PageContext pc,
Collection.Key methodName,
Struct args)
call a method of the Object with named arguments |
Object |
callWithNamedValues(PageContext pc,
String name,
Struct args)
call a method of the component with named arguments |
Boolean |
castToBoolean(Boolean defaultValue)
cast the castable value to a boolean value |
boolean |
castToBooleanValue()
cast the castable value to a boolean value |
DateTime |
castToDateTime()
cast the castable value to a date time object |
DateTime |
castToDateTime(DateTime defaultValue)
cast the castable value to a date time object |
double |
castToDoubleValue()
cast the castable value to a double value |
double |
castToDoubleValue(double defaultValue)
cast the castable value to a double value |
String |
castToString()
cast the castable value to a string, other than the Method toString, this Method can throw a Exception |
String |
castToString(String defaultValue)
cast the castable value to a string, return the default value, when the method is not castable |
void |
clear()
clears the collection |
Object |
clone()
|
int |
compareTo(boolean b)
|
int |
compareTo(DateTime dt)
|
int |
compareTo(double d)
|
int |
compareTo(String str)
|
boolean |
contains(PageContext pc,
Collection.Key key)
|
boolean |
containsKey(Collection.Key key)
contains this key |
boolean |
containsKey(Object key)
|
boolean |
containsKey(String name)
contains this key |
boolean |
containsValue(Object value)
|
Collection |
duplicate(boolean deepCopy)
|
Set |
entrySet()
|
boolean |
equalTo(String type)
|
Object |
get(Collection.Key key)
return a value from the collection |
Object |
get(Collection.Key key,
Object defaultValue)
return a value from the collection, if key doesn't exist, dont throw a exception, reeturns null |
Object |
get(Object key)
|
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 name)
return property or getter of the ContextCollection |
Object |
get(PageContext pc,
String name,
Object defaultValue)
return property |
Object |
get(String name)
return a value from the collection |
Object |
get(String name,
Object defaultValue)
return a value from the collection, if key doesn't exist, dont throw a exception, reeturns null |
String |
getAbsName()
|
String |
getBaseAbsName()
|
String |
getCallName()
|
ComponentScope |
getComponentScope()
|
String |
getDisplayName()
|
String |
getExtends()
|
String |
getHint()
|
Class |
getJavaAccessClass(RefBoolean isNew)
returns java class to the component interface (all UDFs), this class is generated dynamic when used |
Member |
getMember(int access,
Collection.Key key,
boolean dataMember,
boolean superAccess)
|
Struct |
getMetaData(PageContext pc)
returns Meta Data to the Component |
String |
getName()
|
boolean |
getOutput()
|
Page |
getPage()
|
PageSource |
getPageSource()
|
Property[] |
getProperties(boolean onlyPeristent)
return all properties from component |
Object |
getValue()
return the value itself |
String |
getWSDLFile()
|
boolean |
instanceOf(String type)
check if Component is instance of this type |
boolean |
isBasePeristent()
|
boolean |
isEmpty()
|
boolean |
isInitalized()
|
boolean |
isValidAccess(int access)
check if value is a valid access modifier constant |
Iterator |
iterator()
|
Iterator |
keyIterator()
|
Collection.Key[] |
keys()
|
String[] |
keysAsString()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map map)
|
Object |
remove(Collection.Key key)
removes value from collection and return it when it exists, otherwise throws a exception |
Object |
remove(Object key)
|
Object |
removeEL(Collection.Key key)
removes value from collection and return it when it exists, otherwise returns null |
Object |
set(Collection.Key key,
Object value)
sets a value to the collection |
Object |
set(PageContext pc,
Collection.Key key,
Object value)
sets a property (Data Member) value of the object |
Object |
set(PageContext pc,
String name,
Object value)
sets a property (Data Member) value of the object |
Object |
set(String name,
Object value)
sets a value to the collection |
Object |
setEL(Collection.Key key,
Object value)
sets a value to the collection, if key doesn't exist, dont throw a exception, returns null |
Object |
setEL(PageContext pc,
Collection.Key name,
Object value)
sets a property (Data Member) value of the object |
Object |
setEL(PageContext pc,
String name,
Object value)
sets a property (Data Member) value of the object |
Object |
setEL(String name,
Object value)
sets a value to the collection, if key doesn't exist, dont throw a exception, returns null |
void |
setProperty(Property property)
|
int |
size()
|
long |
sizeOf()
return the size of the object |
static Collection |
superInstance(ComponentImpl comp)
|
static Member |
superMember(ComponentImpl comp)
|
DumpData |
toDumpData(PageContext pageContext,
int maxlevel,
DumpProperties dp)
method to print out information to a object as HTML |
Iterator |
valueIterator()
|
Collection |
values()
|
Methods inherited from class railo.runtime.component.MemberSupport |
---|
getAccess, setAccess, setAccess |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Methods inherited from interface railo.runtime.component.Member |
---|
getAccess |
Method Detail |
---|
public static Member superMember(ComponentImpl comp)
public static Collection superInstance(ComponentImpl comp)
public Object getValue()
Member
getValue
in interface Member
Member.getValue()
public Object call(PageContext pc, String name, Object[] args) throws PageException
Component
call
in interface Component
call
in interface Objects
pc
- PageContextname
- name of the methodargs
- Arguments for the method
PageException
ComponentImpl.call(railo.runtime.PageContext, java.lang.String, java.lang.Object[])
public Object call(PageContext pc, Collection.Key name, Object[] args) throws PageException
Objects
call
in interface Objects
name
- name of the method to callargs
- arguments to call method with
PageException
ComponentImpl.call(railo.runtime.PageContext, railo.runtime.type.Collection.Key, java.lang.Object[])
public Object callWithNamedValues(PageContext pc, String name, Struct args) throws PageException
Component
callWithNamedValues
in interface Component
callWithNamedValues
in interface Objects
pc
- PageContextname
- name of the methodargs
- Named Arguments for the method
PageException
ComponentImpl.callWithNamedValues(railo.runtime.PageContext, java.lang.String, railo.runtime.type.Struct)
public Object callWithNamedValues(PageContext pc, Collection.Key methodName, Struct args) throws PageException
Objects
callWithNamedValues
in interface Objects
pc
- PageContextmethodName
- name of the methodargs
- Named Arguments for the method
PageException
ComponentImpl.callWithNamedValues(railo.runtime.PageContext, railo.runtime.type.Collection.Key, railo.runtime.type.Struct)
public boolean castToBooleanValue() throws PageException
Castable
castToBooleanValue
in interface Castable
PageException
ComponentImpl.castToBooleanValue()
public Boolean castToBoolean(Boolean defaultValue)
Castable
castToBoolean
in interface Castable
Castable.castToBoolean(java.lang.Boolean)
public DateTime castToDateTime() throws PageException
Castable
castToDateTime
in interface Castable
PageException
ComponentImpl.castToDateTime()
public DateTime castToDateTime(DateTime defaultValue)
Castable
castToDateTime
in interface Castable
defaultValue
- returned when it is not possible to cast to a dateTime object
Castable.castToDateTime(railo.runtime.type.dt.DateTime)
public double castToDoubleValue() throws PageException
Castable
castToDoubleValue
in interface Castable
PageException
ComponentImpl.castToDoubleValue()
public double castToDoubleValue(double defaultValue)
Castable
castToDoubleValue
in interface Castable
Castable.castToDoubleValue(double)
public String castToString() throws PageException
Castable
castToString
in interface Castable
PageException
ComponentImpl.castToString()
public String castToString(String defaultValue)
Castable
castToString
in interface Castable
Castable.castToString(java.lang.String)
public void clear()
Collection
clear
in interface Map
clear
in interface Collection
ComponentImpl.clear()
public Object clone()
clone
in interface Collection
clone
in class Object
Collection.clone()
public int compareTo(boolean b) throws PageException
compareTo
in interface Castable
PageException
ComponentImpl.compareTo(boolean)
public int compareTo(DateTime dt) throws PageException
compareTo
in interface Castable
PageException
ComponentImpl.compareTo(railo.runtime.type.dt.DateTime)
public int compareTo(double d) throws PageException
compareTo
in interface Castable
PageException
ComponentImpl.compareTo(double)
public int compareTo(String str) throws PageException
compareTo
in interface Castable
PageException
ComponentImpl.compareTo(java.lang.String)
public boolean containsKey(String name)
Collection
containsKey
in interface Collection
StructSupport.containsKey(java.lang.String)
public boolean containsKey(Collection.Key key)
Collection
containsKey
in interface Collection
ComponentImpl.containsKey(railo.runtime.type.Collection.Key)
public Collection duplicate(boolean deepCopy)
duplicate
in interface Collection
duplicate
in interface Duplicable
ComponentImpl.duplicate(boolean)
public Object get(PageContext pc, Collection.Key key) throws PageException
Objects
get
in interface Objects
pc
- PageContextkey
- Name of the Property
PageException
ComponentImpl.get(railo.runtime.PageContext, railo.runtime.type.Collection.Key)
public Object get(PageContext pc, Collection.Key key, Object defaultValue)
Objects
get
in interface Objects
pc
- PageContextkey
- Name of the Property
ComponentImpl.get(railo.runtime.PageContext, railo.runtime.type.Collection.Key, java.lang.Object)
public Object get(PageContext pc, String name) throws PageException
Objects
get
in interface Objects
pc
- PageContextname
- Name of the Property
PageException
ComponentImpl.get(railo.runtime.PageContext, java.lang.String)
public Object get(PageContext pc, String name, Object defaultValue)
Objects
get
in interface Objects
pc
- PageContextname
- Name of the Property
ComponentImpl.get(railo.runtime.PageContext, java.lang.String, java.lang.Object)
public Object get(String name) throws PageException
Collection
get
in interface Collection
name
- key of the value to get
PageException
StructSupport.get(java.lang.String)
public Object get(String name, Object defaultValue)
Collection
get
in interface Collection
name
- key of the value to get
StructSupport.get(java.lang.String, java.lang.Object)
public Object get(Collection.Key key) throws PageException
Collection
get
in interface Collection
key
- key of the value to get must be lower case
PageException
ComponentImpl.get(railo.runtime.type.Collection.Key)
public Object get(Collection.Key key, Object defaultValue)
Collection
get
in interface Collection
key
- key of the value to get
ComponentImpl.get(railo.runtime.type.Collection.Key, java.lang.Object)
public String getAbsName()
getAbsName
in interface Component
ComponentImpl.getAbsName()
public String getBaseAbsName()
getBaseAbsName
in interface ComponentPro
ComponentPro.getBaseAbsName()
public boolean isBasePeristent()
isBasePeristent
in interface ComponentPro
public String getCallName()
getCallName
in interface Component
ComponentImpl.getCallName()
public String getDisplayName()
getDisplayName
in interface Component
ComponentImpl.getDisplayName()
public String getExtends()
getExtends
in interface Component
ComponentImpl.getExtends()
public String getHint()
getHint
in interface Component
ComponentImpl.getHint()
public Class getJavaAccessClass(RefBoolean isNew) throws PageException
Component
getJavaAccessClass
in interface Component
PageException
ComponentImpl.getJavaAccessClass(railo.commons.lang.types.RefBoolean)
public Struct getMetaData(PageContext pc) throws PageException
Component
getMetaData
in interface Component
PageException
ComponentImpl.getMetaData(railo.runtime.PageContext)
public String getName()
getName
in interface Component
ComponentImpl.getName()
public boolean getOutput()
getOutput
in interface Component
ComponentImpl.getOutput()
public boolean instanceOf(String type)
Component
instanceOf
in interface Component
type
- type to compare as String
ComponentImpl.instanceOf(java.lang.String)
public boolean isInitalized()
isInitalized
in interface Objects
ComponentImpl.isInitalized()
public boolean isValidAccess(int access)
Component
isValidAccess
in interface Component
ComponentImpl.isValidAccess(int)
public Iterator iterator()
iterator
in interface Iteratorable
StructSupport.iterator()
public Iterator keyIterator()
keyIterator
in interface Iteratorable
ComponentImpl.keyIterator()
public Collection.Key[] keys()
keys
in interface Collection
ComponentImpl.keys()
public String[] keysAsString()
keysAsString
in interface Collection
ComponentImpl.keysAsString()
public Object remove(Collection.Key key) throws PageException
Collection
remove
in interface Collection
key
- key of the collection
PageException
ComponentImpl.remove(railo.runtime.type.Collection.Key)
public Object removeEL(Collection.Key key)
Collection
removeEL
in interface Collection
key
- key of the collection
ComponentImpl.removeEL(railo.runtime.type.Collection.Key)
public Object set(PageContext pc, String name, Object value) throws PageException
Objects
set
in interface Objects
name
- property name to setvalue
- value to insert
PageException
ComponentImpl.set(railo.runtime.PageContext, java.lang.String, java.lang.Object)
public Object set(PageContext pc, Collection.Key key, Object value) throws PageException
Objects
set
in interface Objects
key
- property name to setvalue
- value to insert
PageException
ComponentImpl.set(railo.runtime.PageContext, railo.runtime.type.Collection.Key, java.lang.Object)
public Object set(String name, Object value) throws PageException
Collection
set
in interface Collection
name
- key of the new valuevalue
- value to set
PageException
StructSupport.set(java.lang.String, java.lang.Object)
public Object set(Collection.Key key, Object value) throws PageException
Collection
set
in interface Collection
key
- key of the new valuevalue
- value to set
PageException
ComponentImpl.set(railo.runtime.type.Collection.Key, java.lang.Object)
public Object setEL(PageContext pc, String name, Object value)
Objects
setEL
in interface Objects
name
- property name to setvalue
- value to insert
ComponentImpl.setEL(railo.runtime.PageContext, java.lang.String, java.lang.Object)
public Object setEL(PageContext pc, Collection.Key name, Object value)
Objects
setEL
in interface Objects
name
- property name to setvalue
- value to insert
ComponentImpl.setEL(railo.runtime.PageContext, railo.runtime.type.Collection.Key, java.lang.Object)
public Object setEL(String name, Object value)
Collection
setEL
in interface Collection
name
- key of the value to getvalue
- value to set
StructSupport.setEL(java.lang.String, java.lang.Object)
public Object setEL(Collection.Key key, Object value)
Collection
setEL
in interface Collection
key
- key of the value to getvalue
- value to set
ComponentImpl.setEL(railo.runtime.type.Collection.Key, java.lang.Object)
public int size()
size
in interface Map
size
in interface Collection
ComponentImpl.size()
public DumpData toDumpData(PageContext pageContext, int maxlevel, DumpProperties dp)
Dumpable
toDumpData
in interface Dumpable
railo.runtime.ComponentImpl#toDumpData(railo.runtime.PageContext, int)
public Page getPage()
getPage
in interface Component
public PageSource getPageSource()
getPageSource
in interface ComponentPro
ComponentPro.getPageSource()
public boolean containsKey(Object key)
containsKey
in interface Map
Map.containsKey(java.lang.Object)
public Set entrySet()
entrySet
in interface Map
Map.entrySet()
public Object get(Object key)
get
in interface Map
Map.get(java.lang.Object)
public boolean isEmpty()
isEmpty
in interface Map
Map.isEmpty()
public Set keySet()
keySet
in interface Map
Map.keySet()
public Object put(Object key, Object value)
put
in interface Map
java.util.Map#put(K, V)
public void putAll(Map map)
putAll
in interface Map
Map.putAll(java.util.Map)
public Object remove(Object key)
remove
in interface Map
Map.remove(java.lang.Object)
public Collection values()
values
in interface Map
Map.values()
public boolean containsValue(Object value)
containsValue
in interface Map
Map.containsValue(java.lang.Object)
public Iterator valueIterator()
valueIterator
in interface Iteratorable
public Property[] getProperties(boolean onlyPeristent)
ComponentPro
getProperties
in interface ComponentPro
onlyPeristent
- if true return only columns where attribute persistent is not set to false
railo.runtime.ComponentPro#getProperties()
public ComponentScope getComponentScope()
getComponentScope
in interface ComponentPro
ComponentPro.getComponentScope()
public boolean contains(PageContext pc, Collection.Key key)
contains
in interface ComponentPro
ComponentPro.contains(railo.runtime.PageContext, railo.runtime.type.Collection.Key)
public Member getMember(int access, Collection.Key key, boolean dataMember, boolean superAccess)
railo.runtime.ComponentPro#getMember(int, railo.runtime.type.Collection.Key, boolean, boolean)
public void setProperty(Property property) throws PageException
setProperty
in interface ComponentPro
PageException
ComponentPro.setProperty(railo.runtime.component.Property)
public long sizeOf()
Sizeable
sizeOf
in interface Sizeable
Sizeable.sizeOf()
public boolean equalTo(String type)
equalTo
in interface ComponentPro
public String getWSDLFile()
getWSDLFile
in interface ComponentPro
ComponentPro.getWSDLFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |