public interface IMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
declareExternalEntry()
Indicates that this method should be able to be invoked directly by
an AJAX invocation.
|
void |
declareExternalParameter(java.lang.String aParamName,
java.lang.String aJavaType,
java.lang.String aDefault)
Provides a mapping from parameter page property names to the (ordered)
parameters of this method, indicating the appropriate data type conversion
to be performed and a default value if the parameter page property is
omitted (or blank, for non-String parameters only).
|
void |
setParameterDeclaration(java.lang.String aDeclaration)
Supplies the (final portion of the) parameter declaration to be inserted
during
close() processing. |
static final java.lang.String VERSION
static final java.lang.String COPYRIGHT
void setParameterDeclaration(java.lang.String aDeclaration)
close()
processing. For example, during JSP processing
the first parameter is always known initially and may be supplied during
initial method generation. But if additional parameters are to be added
during method generation based on the attributes supplied on the tag, those
would be collected and the resulting declaration String passed in via
this method. The String will be inserted immediately before the first ')'
in the generated method.aDeclaration
- parameter declarations to be insertedvoid declareExternalEntry()
void declareExternalParameter(java.lang.String aParamName, java.lang.String aJavaType, java.lang.String aDefault)
Call this method once for each parameter to the method, in the order in which the parameters are specified in the setParameterDeclaration call.
aParamName
- parameter page name of corresponding valueaJavaType
- String, int, booleanaDefault
- default value if parameter page value unusableCopyright © 2018 Pegasystems Inc. All Rights Reserved.