|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.type.trace.TraceObjectSupport
railo.runtime.type.trace.TOObjects
railo.runtime.type.trace.TOUDF
public class TOUDF
Field Summary |
---|
Fields inherited from interface railo.runtime.type.UDF |
---|
RETURN_FORMAT_JSON, RETURN_FORMAT_PLAIN, RETURN_FORMAT_SERIALIZE, RETURN_FORMAT_WDDX, RETURN_FORMAT_XML |
Method Summary | |
---|---|
Object |
call(PageContext pageContext,
Object[] args,
boolean doIncludePath)
call user defined Funcion with parameters as Object Array |
Object |
callWithNamedValues(PageContext pageContext,
Struct values,
boolean doIncludePath)
call user defined Funcion with a hashmap of named values |
UDF |
duplicate()
|
int |
getAccess()
return the access modifier of this member |
Object |
getDefaultValue(PageContext pc,
int index)
|
Object |
getDefaultValue(PageContext pc,
int index,
Object defaultValue)
|
String |
getDescription()
|
String |
getDisplayName()
|
FunctionArgument[] |
getFunctionArguments()
return all function arguments of this UDF |
String |
getFunctionName()
|
String |
getHint()
|
int |
getIndex()
|
Struct |
getMetaData(PageContext pc)
|
boolean |
getOutput()
|
Component |
getOwnerComponent()
it is the component in whitch this udf is constructed, must not be the same as active udf |
PageSource |
getPageSource()
|
int |
getReturnFormat()
|
int |
getReturnType()
|
String |
getReturnTypeAsString()
|
Boolean |
getSecureJson()
returns null when not defined |
Object |
getValue()
return the value itself |
Boolean |
getVerifyClient()
returns null when not defined |
Object |
implementation(PageContext pageContext)
abstract method for the function Body |
Methods inherited from class railo.runtime.type.trace.TOObjects |
---|
call, callWithNamedValues, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, compareTo, compareTo, compareTo, compareTo, get, get, isInitalized, set, setEL, toDumpData |
Methods inherited from class railo.runtime.type.trace.TraceObjectSupport |
---|
equals, log, toString, toTraceObject |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface railo.runtime.dump.Dumpable |
---|
toDumpData |
Method Detail |
---|
public int getAccess()
Member
getAccess
in interface Member
public Object getValue()
Member
getValue
in interface Member
public Object implementation(PageContext pageContext) throws Throwable
UDF
implementation
in interface UDF
Throwable
public FunctionArgument[] getFunctionArguments()
UDF
getFunctionArguments
in interface UDF
public Object getDefaultValue(PageContext pc, int index) throws PageException
getDefaultValue
in interface UDF
PageException
public Object getDefaultValue(PageContext pc, int index, Object defaultValue) throws PageException
getDefaultValue
in interface UDFPlus
PageException
public String getFunctionName()
getFunctionName
in interface UDF
public boolean getOutput()
getOutput
in interface UDF
public int getReturnType()
getReturnType
in interface UDF
public int getReturnFormat()
getReturnFormat
in interface UDF
public Boolean getSecureJson()
UDF
getSecureJson
in interface UDF
public Boolean getVerifyClient()
UDF
getVerifyClient
in interface UDF
public String getReturnTypeAsString()
getReturnTypeAsString
in interface UDF
public String getDescription()
getDescription
in interface UDF
public Object callWithNamedValues(PageContext pageContext, Struct values, boolean doIncludePath) throws PageException
UDF
callWithNamedValues
in interface UDF
values
- named values
PageException
public Object call(PageContext pageContext, Object[] args, boolean doIncludePath) throws PageException
UDF
call
in interface UDF
args
- parameters for the function
PageException
public String getDisplayName()
getDisplayName
in interface UDF
public String getHint()
getHint
in interface UDF
public PageSource getPageSource()
getPageSource
in interface UDF
public int getIndex()
getIndex
in interface UDFPlus
public Struct getMetaData(PageContext pc) throws PageException
getMetaData
in interface UDF
PageException
public UDF duplicate()
duplicate
in interface UDF
public Component getOwnerComponent()
UDF
getOwnerComponent
in interface UDF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |