|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.businessobjects.dsws.reportengine.PromptInfo
The PromptInfo class is used to resolve the prompting that may
appear during query refresh.
Depending on the properties of the prompt, values can be entered
from the List Of Values, manually, or both.
Prompts can have more than one value.
Prompts must be filled each time a document is refreshed.
Example: Retrieve the list of prompts used by the document.
RetrieveMustFillInfo boMustFill = new RetrieveMustFillInfo();
RetrievePromptsInfo promptInfo = new RetrievePromptsInfo();
boMustFill.setRetrievePromptsInfo(promptInfo);
DocumentInformation boDocInfo = boRepEng.getDocumentInformation( strBODocuid, boMustFill, null, null, null);
if (docInfo.isMustFillPrompts()==true)
{
PromptInfo[] boPromptInfo = boDocInfo.getPromptInfo();
}
RetrieveView,
RetrieveData,
PromptInfo,
Action,
FillPrompts,
FillPrompt,
PromptValue,
RangePromptValue,
ReportEngine,
DocumentInformation,
Serialized Form| Constructor Summary | |
PromptInfo()
Instantiate a new blank PromptInfo object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Internal Use Only. |
org.apache.axis.message.MessageElement[] |
get_any()
Internal Use Only. |
java.lang.String[] |
getDataProviderIDs()
Returns an array of data provider IDs. |
java.lang.String |
getDataProviderIDs(int i)
Returns the data provider ID at the specified index position. |
PromptValue[] |
getDefaultValues()
Returns an array containing the default values for this prompt. |
PromptValue |
getDefaultValues(int i)
Returns one of the default values for this prompt. |
java.lang.String |
getDescription()
Returns a description of the prompt. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only. |
java.lang.String |
getID()
Returns the prompt ID. |
LOV |
getLOV()
Returns the List Of Values associated with this prompt. |
LovDisplayType |
getLovDisplayType()
Get the display type of the LOVs. |
PromptValue |
getMaxValue()
Returns the maximum value possible for this prompt. |
PromptValue |
getMinValue()
Returns the minimum value possible for this prompt. |
java.lang.String |
getName()
Returns the name of the prompt. |
PromptValue[] |
getPreviousValues()
Returns an array containing values selected on the last document refresh. |
PromptValue |
getPreviousValues(int i)
Returns one of value selected on the last document refresh. |
PromptInfo[] |
getPromptToBeFilled()
Get the prompt that is to be filled. |
PromptInfo |
getPromptToBeFilled(int i)
Get the prompt of the specified index that is to be filled. |
PromptType |
getPromptType()
Returns the type of values the prompt takes. |
java.lang.String[] |
getPromptValueFormat()
Returns an array of strings containing possible formats for the prompt value. |
java.lang.String |
getPromptValueFormat(int i)
Returns a possible format for the prompt value. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Internal Use Only. |
int |
hashCode()
Internal Use Only. |
boolean |
isAllowDiscreteValue()
Returns "true", if this prompt is allowed to take one or more DiscretePromptValue objects. |
boolean |
isAllowMultiValues()
Returns "true", if this prompt is allowed multiple values. |
boolean |
isAllowNonLeafValues()
Returns true if the value is at root level, otherwise false. |
boolean |
isAllowRangeValue()
Returns "true", if this prompt is allowed to take one or more RangePromptValue objects. |
boolean |
isConstrained()
Returns "true", if the user fills a prompt with a value from a List Of Values. |
boolean |
isHasLOV()
Returns "true", if this prompt has an associated List Of Values. |
boolean |
isRequireAnswers()
Returns "true", if the prompt has to be filled. |
void |
set_any(org.apache.axis.message.MessageElement[] _any)
Internal Use Only. |
void |
setAllowDiscreteValue(boolean allowDiscreteValue)
Internal Use Only. |
void |
setAllowMultiValues(boolean allowMultiValues)
Internal Use Only. |
void |
setAllowNonLeafValues(boolean allowNonLeafValues)
Internal Use Only. |
void |
setAllowRangeValue(boolean allowRangeValue)
Internal Use Only. |
void |
setConstrained(boolean constrained)
Internal Use Only. |
void |
setDataProviderIDs(int i,
java.lang.String value)
Sets the data provider ID at the specified index position. |
void |
setDataProviderIDs(java.lang.String[] dataProviderIDs)
Sets an array of data provider IDs. |
void |
setDefaultValues(int i,
PromptValue value)
Internal Use Only. |
void |
setDefaultValues(PromptValue[] defaultValues)
Internal Use Only. |
void |
setDescription(java.lang.String description)
Internal Use Only. |
void |
setHasLOV(boolean hasLOV)
Internal Use Only. |
void |
setID(java.lang.String ID)
Internal Use Only. |
void |
setLOV(LOV LOV)
Internal Use Only. |
void |
setLovDisplayType(LovDisplayType lovDisplayType)
Set the display type (for example, hierarchical) for a LOV. |
void |
setMaxValue(PromptValue maxValue)
Internal Use Only. |
void |
setMinValue(PromptValue minValue)
Internal Use Only. |
void |
setName(java.lang.String name)
Internal Use Only. |
void |
setPreviousValues(int i,
PromptValue value)
Internal Use Only. |
void |
setPreviousValues(PromptValue[] previousValues)
Internal Use Only. |
void |
setPromptToBeFilled(int i,
PromptInfo value)
Set the prompt of the specified index that is to be filled. |
void |
setPromptToBeFilled(PromptInfo[] promptToBeFilled)
Set the prompt that is to be filled. |
void |
setPromptType(PromptType promptType)
Internal Use Only. |
void |
setPromptValueFormat(int i,
java.lang.String value)
Internal Use Only. |
void |
setPromptValueFormat(java.lang.String[] promptValueFormat)
Internal Use Only. |
void |
setRequireAnswers(boolean requireAnswers)
Internal Use Only. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PromptInfo()
| Method Detail |
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
Internal Use Only.
public PromptValue[] getDefaultValues()
public void setDefaultValues(PromptValue[] defaultValues)
Internal Use Only.
public PromptValue getDefaultValues(int i)
i - The index of the PromptValue to be retrieved.
public void setDefaultValues(int i,
PromptValue value)
Internal Use Only.
public PromptValue[] getPreviousValues()
public void setPreviousValues(PromptValue[] previousValues)
Internal Use Only.
public PromptValue getPreviousValues(int i)
i - The index of the PromptValue to be retrieved.
public void setPreviousValues(int i,
PromptValue value)
Internal Use Only.
public java.lang.String[] getPromptValueFormat()
public void setPromptValueFormat(java.lang.String[] promptValueFormat)
Internal Use Only.
public java.lang.String getPromptValueFormat(int i)
i - The index of the PromptValue format to be retrieved.
public void setPromptValueFormat(int i,
java.lang.String value)
Internal Use Only.
public PromptValue getMinValue()
public void setMinValue(PromptValue minValue)
Internal Use Only.
public PromptValue getMaxValue()
public void setMaxValue(PromptValue maxValue)
Internal Use Only.
public LOV getLOV()
LOV,
RetrievePromptsInfopublic void setLOV(LOV LOV)
Internal Use Only.
public java.lang.String[] getDataProviderIDs()
Returns an array of data provider IDs.
public void setDataProviderIDs(java.lang.String[] dataProviderIDs)
Sets an array of data provider IDs.
dataProviderIDs - The array of data provider IDs.public java.lang.String getDataProviderIDs(int i)
Returns the data provider ID at the specified index position.
i - The index position.
public void setDataProviderIDs(int i,
java.lang.String value)
Sets the data provider ID at the specified index position.
i - The index position.value - The data provider ID.public PromptInfo[] getPromptToBeFilled()
public void setPromptToBeFilled(PromptInfo[] promptToBeFilled)
public PromptInfo getPromptToBeFilled(int i)
public void setPromptToBeFilled(int i,
PromptInfo value)
public LovDisplayType getLovDisplayType()
public void setLovDisplayType(LovDisplayType lovDisplayType)
public org.apache.axis.message.MessageElement[] get_any()
Internal Use Only.
public void set_any(org.apache.axis.message.MessageElement[] _any)
Internal Use Only.
public java.lang.String getName()
public void setName(java.lang.String name)
Internal Use Only.
public java.lang.String getID()
FillPrompt,
FillPrompts,
RetrievePromptsInfo,
LOVpublic void setID(java.lang.String ID)
Internal Use Only.
public boolean isConstrained()
LOVpublic void setConstrained(boolean constrained)
Internal Use Only.
public boolean isRequireAnswers()
public void setRequireAnswers(boolean requireAnswers)
Internal Use Only.
public boolean isHasLOV()
LOVpublic void setHasLOV(boolean hasLOV)
Internal Use Only.
public boolean isAllowMultiValues()
public void setAllowMultiValues(boolean allowMultiValues)
Internal Use Only.
public boolean isAllowDiscreteValue()
DiscretePromptValuepublic void setAllowDiscreteValue(boolean allowDiscreteValue)
Internal Use Only.
public boolean isAllowRangeValue()
RangePromptValuepublic void setAllowRangeValue(boolean allowRangeValue)
Internal Use Only.
public PromptType getPromptType()
PromptTypepublic void setPromptType(PromptType promptType)
Internal Use Only.
public boolean isAllowNonLeafValues()
public void setAllowNonLeafValues(boolean allowNonLeafValues)
Internal Use Only.
public boolean equals(java.lang.Object obj)
Internal Use Only.
public int hashCode()
Internal Use Only.
public static org.apache.axis.description.TypeDesc getTypeDesc()
Internal Use Only.
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only.
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Internal Use Only.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||