|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RetrievePromptsInfo
RetrievePromptsInfo interface is used to retrieve the PromptsInfo objects necessary for a successful document refresh.
The PromptInfo objects are returned inside the DocumentInformation object retrieved by the
ReportEngine.getDocumentInformation Web Service call.
You can enter a value from the List of Values depending on the properties of the prompt.
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 fillInfo = RetrieveMustFillInfo.Factory.newInstance();
RetrievePromptsInfo promptInfo = RetrievePromptsInfo.Factory.newInstance();
fillInfo.setRetrievePromptsInfo(promptInfo);
Action[] actions = new Action[1];
// Add a Refresh action to the Action array.
actions[0] = Refresh.Factory.newInstance();
// Obtain a DocumentInformation object from the ReportEngine.
DocumentInformation boDocInfo = boRepEng.getDocumentInformation(strDocid,fillInfo,actions,null,null);
String reference = boDocInfo.getDocumentReference();
if (boDocInfo.getMustFillPrompts())
{
PromptInfo[] boPromptInfo = boDocInfo.getPromptInfoArray();
}
RetrieveView,
RetrieveData,
PromptInfo,
Action,
FillPrompts,
FillPrompt,
PromptValue,
RangePromptValue,
ReportEngine,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
RetrievePromptsInfo.Factory
A class with methods for creating instances of the RetrievePromptsInfo type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
DataSourceParameterValue |
addNewDataSourceParameterValues()
Appends and returns a new empty value as the last DataSourceParameterValues element |
LOVBatch |
addNewLOVBatch()
Appends and returns a new empty LOVBatch element |
LOVSearch |
addNewLOVSearch()
Appends and returns a new empty LOVSearch element |
LOVSort |
addNewLOVSort()
Appends and returns a new empty "LOVSort" element |
org.apache.xmlbeans.XmlString |
addNewSelectPrompts()
Appends and returns a new empty value as the last SelectPrompts element |
void |
addSelectPrompts(java.lang.String selectPrompts)
Appends the value as the last SelectPrompts element. |
DataSourceParameterValue[] |
getDataSourceParameterValuesArray()
Internal Use Only. |
DataSourceParameterValue |
getDataSourceParameterValuesArray(int i)
Internal Use Only. |
LOVBatch |
getLOVBatch()
Internal Use Only. |
LOVSearch |
getLOVSearch()
Internal Use Only. |
LOVSort |
getLOVSort()
Internal Use Only. |
PromptLOVRetrievalMode.Enum |
getPromptLOVRetrievalMode()
Internal Use Only. |
boolean |
getRefreshReturnedLOVs()
Internal Use Only. |
boolean |
getReturnLOVOnMustFillPrompts()
Internal Use Only. |
java.lang.String[] |
getSelectPromptsArray()
Internal Use Only. |
java.lang.String |
getSelectPromptsArray(int i)
Internal Use Only. |
DataSourceParameterValue |
insertNewDataSourceParameterValues(int i)
Inserts and returns a new empty value as the ith DataSourceParameterValues element |
org.apache.xmlbeans.XmlString |
insertNewSelectPrompts(int i)
Inserts and returns a new empty value as the ith SelectPrompts element |
void |
insertSelectPrompts(int i,
java.lang.String selectPrompts)
Inserts the value as the ith SelectPrompts element. |
boolean |
isNilDataSourceParameterValuesArray(int i)
Checks if the DataSourceParameterValues element is nil at the specified index position. |
boolean |
isNilLOVBatch()
Tests for nil "LOVBatch" element |
boolean |
isNilLOVSearch()
Checks if the LOVSearch element is nil. |
boolean |
isNilLOVSort()
Checks if the LOVSort element is nil. |
boolean |
isNilSelectPromptsArray(int i)
Checks if the SelectPrompts element is nil. |
boolean |
isSetLOVBatch()
True if has "LOVBatch" element |
boolean |
isSetLOVSearch()
Checks if the LOVSearch element is set. |
boolean |
isSetLOVSort()
Checks if the LOVSort element is set. |
void |
removeDataSourceParameterValues(int i)
Removes the DataSourceParameterValues element at the specified index position. |
void |
removeSelectPrompts(int i)
Removes the SelectPrompts element at the specified index position. |
void |
setDataSourceParameterValuesArray(DataSourceParameterValue[] dataSourceParameterValuesArray)
Sets the array of DataSourceParameterValues element. |
void |
setDataSourceParameterValuesArray(int i,
DataSourceParameterValue dataSourceParameterValues)
Sets the DataSourceParameterValues element at the specified index position. |
void |
setLOVBatch(LOVBatch lovBatch)
Sets an LOVBatch object to specify which batch/chunk of the List Of Values(LOV) you want to retrieve. |
void |
setLOVSearch(LOVSearch lovSearch)
Sets the LOVSearch object to specify how you want to filter List Of Values(LOV). |
void |
setLOVSort(LOVSort lovSort)
Sets the LOVSort object to specify how you want to sort List Of Values(LOV) you are going to retrieve. |
void |
setNilDataSourceParameterValuesArray(int i)
Sets the DataSourceParameterValues element to nil at the specified index position. |
void |
setNilLOVBatch()
Sets the LOVBatch element to nil. |
void |
setNilLOVSearch()
Sets the LOVSearch element to nil. |
void |
setNilLOVSort()
Nils the "LOVSort" element |
void |
setNilSelectPromptsArray(int i)
Sets the SelectPrompts element to nil at the specified index position. |
void |
setPromptLOVRetrievalMode(PromptLOVRetrievalMode.Enum promptLOVRetrievalMode)
Restricts the way List Of Values for Prompts are retrieved. |
void |
setRefreshReturnedLOVs(boolean refreshReturnedLOVs)
Set to true if selected List Of Values(LOV) are refreshed before being returned in the DocumentInformation object. |
void |
setReturnLOVOnMustFillPrompts(boolean returnLOVOnMustFillPrompts)
Set to true to improve performance by retrieving only necessary prompt information. |
void |
setSelectPromptsArray(int i,
java.lang.String selectPrompts)
Sets the ID of a single prompt to be retrieved. |
void |
setSelectPromptsArray(java.lang.String[] selectPromptsArray)
Sets the list of prompt IDs to be retrieved. |
int |
sizeOfDataSourceParameterValuesArray()
Returns the size of the DataSourceParameterValues array. |
int |
sizeOfSelectPromptsArray()
Returns the size of the SelectPrompt array. |
void |
unsetLOVBatch()
Unsets the LOVBatch element. |
void |
unsetLOVSearch()
Unsets the LOVSearch element. |
void |
unsetLOVSort()
Unsets the "LOVSort" element |
PromptLOVRetrievalMode |
xgetPromptLOVRetrievalMode()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetRefreshReturnedLOVs()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetReturnLOVOnMustFillPrompts()
Internal Use Only. |
org.apache.xmlbeans.XmlString[] |
xgetSelectPromptsArray()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetSelectPromptsArray(int i)
Internal Use Only. |
void |
xsetPromptLOVRetrievalMode(PromptLOVRetrievalMode promptLOVRetrievalMode)
Internal Use Only. |
void |
xsetRefreshReturnedLOVs(org.apache.xmlbeans.XmlBoolean refreshReturnedLOVs)
Internal Use Only. |
void |
xsetReturnLOVOnMustFillPrompts(org.apache.xmlbeans.XmlBoolean returnLOVOnMustFillPrompts)
Internal Use Only. |
void |
xsetSelectPromptsArray(int i,
org.apache.xmlbeans.XmlString selectPrompts)
Internal Use Only. |
void |
xsetSelectPromptsArray(org.apache.xmlbeans.XmlString[] selectPromptsArray)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
java.lang.String[] getSelectPromptsArray()
Internal Use Only.
java.lang.String getSelectPromptsArray(int i)
Internal Use Only.
org.apache.xmlbeans.XmlString[] xgetSelectPromptsArray()
Internal Use Only.
org.apache.xmlbeans.XmlString xgetSelectPromptsArray(int i)
Internal Use Only.
boolean isNilSelectPromptsArray(int i)
i - the index of the SelectPrompt element
true if the SelectPrompt element is nil, otherwise falseint sizeOfSelectPromptsArray()
void setSelectPromptsArray(java.lang.String[] selectPromptsArray)
selectPromptsArray - - the list of prompt IDs to be returned.
void setSelectPromptsArray(int i,
java.lang.String selectPrompts)
i - - The index of the prompt to be retrieved.selectPrompts - - a single prompt ID to be retrieved.void xsetSelectPromptsArray(org.apache.xmlbeans.XmlString[] selectPromptsArray)
Internal Use Only.
void xsetSelectPromptsArray(int i,
org.apache.xmlbeans.XmlString selectPrompts)
Internal Use Only.
void setNilSelectPromptsArray(int i)
i - the index of the SelectPrompt element
void insertSelectPrompts(int i,
java.lang.String selectPrompts)
i - the index of the SelectPrompt element.selectPrompts - the String value of the selected prompt.void addSelectPrompts(java.lang.String selectPrompts)
selectPrompts - the String value of the selected prompt.org.apache.xmlbeans.XmlString insertNewSelectPrompts(int i)
i - the index of the SelectPrompt element
org.apache.xmlbeans.XmlString addNewSelectPrompts()
void removeSelectPrompts(int i)
i - the index of the SelectPrompt elementLOVSearch getLOVSearch()
Internal Use Only.
boolean isNilLOVSearch()
true if the LOVSearch element is nil, otherwise falseboolean isSetLOVSearch()
true if the LOVSearch element is set, otherwise falsevoid setLOVSearch(LOVSearch lovSearch)
lovSearch - - an object containing LOVSearch criteria.LOVSearchLOVSearch addNewLOVSearch()
void setNilLOVSearch()
void unsetLOVSearch()
LOVSort getLOVSort()
Internal Use Only.
boolean isNilLOVSort()
true if the LOVSort element is nil, otherwise falseboolean isSetLOVSort()
true if the LOVSort element is set, otherwise falsevoid setLOVSort(LOVSort lovSort)
lovSort - - an object containing LOVSort parameters.LOVSortLOVSort addNewLOVSort()
void setNilLOVSort()
void unsetLOVSort()
LOVBatch getLOVBatch()
Internal Use Only.
boolean isNilLOVBatch()
true if the LOVBatch element is nil, otherwise falseboolean isSetLOVBatch()
true if the LOVBatch element is set, otherwise falsevoid setLOVBatch(LOVBatch lovBatch)
lovBatch - - an object containing LOVBatch parameters.LOVBatchLOVBatch addNewLOVBatch()
void setNilLOVBatch()
void unsetLOVBatch()
DataSourceParameterValue[] getDataSourceParameterValuesArray()
Internal Use Only.
DataSourceParameterValue getDataSourceParameterValuesArray(int i)
Internal Use Only.
boolean isNilDataSourceParameterValuesArray(int i)
i - the index of the DataSourceParameterValues element
true if the DataSourceParameterValues element is nil, otherwise falseint sizeOfDataSourceParameterValuesArray()
void setDataSourceParameterValuesArray(DataSourceParameterValue[] dataSourceParameterValuesArray)
dataSourceParameterValuesArray - The array of DataSourceParameterValue
void setDataSourceParameterValuesArray(int i,
DataSourceParameterValue dataSourceParameterValues)
i - the index of the DataSourceParameterValue elementdataSourceParameterValues - The DataSourceParameterValue instancevoid setNilDataSourceParameterValuesArray(int i)
i - the index of the DataSourceParameterValue elementDataSourceParameterValue insertNewDataSourceParameterValues(int i)
i - the index of the DataSourceParameterValue element
DataSourceParameterValue addNewDataSourceParameterValues()
void removeDataSourceParameterValues(int i)
i - the index of the DataSourceParameterValue elementPromptLOVRetrievalMode.Enum getPromptLOVRetrievalMode()
Internal Use Only.
PromptLOVRetrievalMode xgetPromptLOVRetrievalMode()
Internal Use Only.
void setPromptLOVRetrievalMode(PromptLOVRetrievalMode.Enum promptLOVRetrievalMode)
String astrSelectedPrompts = new String[1];
astrSelectedPrompts[0] = docInfo.getPromptInfo(0).getID();
RetrievePromptsInfo objRetrievePromptsInfo = new RetrievePromptsInfo();
objRetrievePromptsInfo.setPromptLOVRetrievalMode(PromptLOVRetrievalMode.SELECTED);
objRetrievePromptsInfo.setRefreshReturnedLOVs(false);
objRetrievePromptsInfo.setSelectPrompts(astrSelectedPrompts);
RetrieveMustFillInfo objRetrieveMustFillInfo = new RetrieveMustFillInfo();
objRetrieveMustFillInfo.setRetrievePromptsInfo(objRetrievePromptsInfo);
promptLOVRetrievalMode - - set to the desired retrieval mode.PromptLOVRetrievalModevoid xsetPromptLOVRetrievalMode(PromptLOVRetrievalMode promptLOVRetrievalMode)
Internal Use Only.
boolean getRefreshReturnedLOVs()
Internal Use Only.
org.apache.xmlbeans.XmlBoolean xgetRefreshReturnedLOVs()
Internal Use Only.
void setRefreshReturnedLOVs(boolean refreshReturnedLOVs)
refreshReturnedLOVs - - true if selected List Of Values(LOV) will be refreshed.void xsetRefreshReturnedLOVs(org.apache.xmlbeans.XmlBoolean refreshReturnedLOVs)
Internal Use Only.
boolean getReturnLOVOnMustFillPrompts()
Internal Use Only.
org.apache.xmlbeans.XmlBoolean xgetReturnLOVOnMustFillPrompts()
Internal Use Only.
void setReturnLOVOnMustFillPrompts(boolean returnLOVOnMustFillPrompts)
returnLOVOnMustFillPrompts - - set to true for improved performance.void xsetReturnLOVOnMustFillPrompts(org.apache.xmlbeans.XmlBoolean returnLOVOnMustFillPrompts)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||