|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IActionParameter
An IActionParameter
represents one input or output in an IActionSequence. The
IActionParameter is made up of a name or key, and a value.
Field Summary | |
---|---|
static int |
PROMPT_ALLOWED
This parameter allows prompting |
static int |
PROMPT_NEEDED
This parameter needs to be prompted for a value |
static int |
PROMPT_NEVER
This parameter does not allow prompting |
static int |
PROMPT_PENDING
A component has already specified a prompt for this parameter |
static String |
TYPE_CONTENT
Parameter type indicating streamable content. |
static String |
TYPE_DATE
Parameter type of Date |
static String |
TYPE_DECIMAL
Parameter type of BigDecimal |
static String |
TYPE_INTEGER
Parameter type of int |
static String |
TYPE_LIST
Parameter type of List. |
static String |
TYPE_OBJECT
Parameter type indicating any type of Object |
static String |
TYPE_RESULT_SET
Parameter type of IPentahoResultSet |
static String |
TYPE_STRING
Parameter type of String |
Method Summary | |
---|---|
void |
dispose()
See if we need to do any cleanup here |
String |
getName()
Get the name, or the key for this ActionParameter. |
int |
getPromptStatus()
Returns the prompt status for this parameter. |
String |
getSelectionDisplayName()
The display name to use when building a prompt. |
String |
getSelectionNameForValue(String value)
When building a parameter prompt page, what is the name of the prompt |
Map |
getSelectionNameMap()
Deprecated. Unused in the platform |
List |
getSelectionValues()
Deprecated. Unused in the platform |
String |
getStringValue()
Get the value for this ActionParameter as type String. |
String |
getType()
Return the value type as one of the constants available in this class. |
Object |
getValue()
Get the value for this ActionParameter as a generic Java Object. |
List |
getValueAsList()
Get the value for this ActionParameter as a java.util.List. |
IPentahoResultSet |
getValueAsResultSet()
Get the value for this ActionParameter as a IPentahoResultSet |
List |
getVariables()
|
boolean |
hasDefaultValue()
Check if this ActionParameter has a default value set. |
boolean |
hasSelections()
|
boolean |
hasValue()
Check to se if a value has been set for this parameter. |
boolean |
isDefaultValue()
Check to see if the value returned from thisActionParameter is indeed the default value instead of a value that was set. |
boolean |
isNull()
Check to see if the value (includes the default value) is null. |
void |
setParamSelections(List selValues,
Map selNames,
String displayname)
Deprecated. Unused in the platform |
boolean |
setPromptStatus(int status)
Sets the prompt status for this parameter. |
void |
setValue(Object value)
Sets the value object for this ActionParameter. |
Field Detail |
---|
static final String TYPE_STRING
static final String TYPE_INTEGER
int
static final String TYPE_LIST
static final String TYPE_CONTENT
static final String TYPE_DATE
static final String TYPE_RESULT_SET
static final String TYPE_DECIMAL
static final String TYPE_OBJECT
static final int PROMPT_ALLOWED
static final int PROMPT_NEEDED
static final int PROMPT_NEVER
static final int PROMPT_PENDING
Method Detail |
---|
String getName()
String getStringValue()
Object getValue()
List getValueAsList()
IPentahoResultSet getValueAsResultSet()
String getType()
void setValue(Object value)
value
- the value Object to be set.List getVariables()
boolean hasDefaultValue()
boolean hasValue()
boolean isDefaultValue()
boolean isNull()
void dispose()
int getPromptStatus()
PROMPT_ALLOWED
,
PROMPT_NEVER
,
PROMPT_NEEDED
,
PROMPT_PENDING
boolean setPromptStatus(int status)
status
- The status to set.
PROMPT_ALLOWED
,
PROMPT_NEVER
,
PROMPT_NEEDED
,
PROMPT_PENDING
boolean hasSelections()
String getSelectionDisplayName()
String getSelectionNameForValue(String value)
value
-
@Deprecated Map getSelectionNameMap()
@Deprecated List getSelectionValues()
@Deprecated void setParamSelections(List selValues, Map selNames, String displayname)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |