| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameter
For use by portlets written to the IBM portlet API.
An action (encapsulated in the Action interface)
is associated with several parameters
(encapsulated in the Parameter
interface), and each parameter is associated
with a property (encapsulated in the Property interface).
This interface is used to provide additional information about how
a property is to be passed to/from the specific action it is associated with.
If actions are declared in a WSDL file, the runtime will construct and register the
Action and associated Parameter
objects. If a WSDL file is not used, parameters
may be programmatically constructed using PropertyFactory, followed by invoking the
setters.
Field Summary | |
---|---|
static java.lang.String | BOUND_TO_ACTION
Deprecated. Specifies that the parameter value is bound as an action parameter when the action is invoked. |
static java.lang.String | BOUND_TO_REQUEST_ATTRIBUTE
Deprecated. Specifies that the parameter value is bound as a request attribute when the action is invoked. |
static java.lang.String | BOUND_TO_REQUEST_PARAMETER
Deprecated. Specifies that the parameter value is bound as a request parameter when the action is invoked. |
static java.lang.String | BOUND_TO_SESSION
Deprecated. Specifies that the parameter value is bound as a session attribute when the action is invoked. |
Method Summary | |
---|---|
Action | getAction()
Deprecated. Returns the parent Action object. |
java.lang.String | getBoundTo()
Deprecated. Returns where the parameter is bound. |
java.lang.String | getDescription()
Deprecated. |
java.lang.String | getDescription(java.util.Locale locale)
Deprecated. Return a string containing a description of the parameter. |
Property | getProperty()
Deprecated. Returns the associated Property object. |
java.lang.String | getTitle()
Deprecated. |
java.lang.String | getTitle(java.util.Locale locale)
Deprecated. Returns a string containing a short description of the parameter. |
boolean | isPresentIfNullValue()
Deprecated. Returns a value that governs the wire-triggering behavior if a parameter is found, but its value is null. |
void | setBoundTo(java.lang.String boundTo)
Deprecated. Set where the parameter is bound. |
void | setDescription(java.lang.String descriptionKey)
Deprecated. |
void | setDescriptionKey(java.lang.String descriptionKey)
Deprecated. Set the key for the description. |
void | setPresentIfNullValue(boolean presentIfNullValue)
Deprecated. Setter for presentIfNullValue. |
void | setTitle(java.lang.String titleKey)
Deprecated. |
void | setTitleKey(java.lang.String titleKey)
Deprecated. Set the key for the title. |
Field Detail |
---|
static final java.lang.String BOUND_TO_REQUEST_ATTRIBUTE
static final java.lang.String BOUND_TO_REQUEST_PARAMETER
static final java.lang.String BOUND_TO_SESSION
static final java.lang.String BOUND_TO_ACTION
DEFAULT_PORTLET_ACTION
.
Method Detail |
---|
Property getProperty()
Action getAction()
java.lang.String getBoundTo()
String
that specifies where the parameter is bound.
The allowed values are specified by the constants in this interface.boolean isPresentIfNullValue()
java.lang.String getTitle()
String
containing a short description of the parameter.java.lang.String getTitle(java.util.Locale locale)
String
containing a short description of the parameter.java.lang.String getDescription()
String
containing a description of the parameter.java.lang.String getDescription(java.util.Locale locale)
String
containing a description of the parameter.void setBoundTo(java.lang.String boundTo) throws InvalidPropertyException
BOUND_TO_REQUEST_PARAMETER
.
void setPresentIfNullValue(boolean presentIfNullValue) throws InvalidPropertyException
isPresentIfNullValue
for a description of
how the value is used.
Parameter
or its associated Property violates
any required constraintsvoid setTitle(java.lang.String titleKey)
setTitleKey
instead.
void setTitleKey(java.lang.String titleKey)
setLocalizationInfo
method of the associated Action.
void setDescription(java.lang.String descriptionKey)
setDescriptionKey
instead.
void setDescriptionKey(java.lang.String descriptionKey)
setLocalizationInfo
method of the associated Action.
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |