|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataProviderInfo
The DataProviderInfo contains information about the query(s) used to build the report.A WebIntelligence report may have more than one data provider.
Example: Retrieve a documents DataProviders.
RetrieveData retBOData = RetrieveData.Factory.newInstance();
RetrieveDataProvidersInfo retBoDP = RetrieveDataProvidersInfo.Factory.newInstance();
retBOData.setRetrieveDataProvidersInfo(retBoDP);
DocumentInformation boDocInfo = boRepEng.getDocumentInformation(strDocid, null, null, null, retBOData);
DataProviderInfo[] docDataProviders = boDocInfo.getDataProviderInfoArray();
RetrieveView,
RetrieveData,
RetrieveDataProvidersInfo,
ReportEngine,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
DataProviderInfo.Factory
A class with methods for creating instances of the DataProviderInfo type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
java.lang.String |
getID()
Returns the ID of the DataProvider. |
java.lang.String |
getName()
Return the name of the DataProvider. |
boolean |
getRefreshable()
Returns true, if the data provider is refreshable. |
java.util.Calendar |
getRefreshDate()
Return the last time this DataProvider was refreshed. |
int |
getRefreshDuration()
Return the time take for the last refresh of this DataProvider. |
void |
setID(java.lang.String id)
Internal Use Only. |
void |
setName(java.lang.String name)
Internal Use Only. |
void |
setRefreshable(boolean refreshable)
Internal Use Only. |
void |
setRefreshDate(java.util.Calendar refreshDate)
Internal Use Only. |
void |
setRefreshDuration(int refreshDuration)
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetID()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetName()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetRefreshable()
Internal Use Only. |
org.apache.xmlbeans.XmlDateTime |
xgetRefreshDate()
Internal Use Only. |
org.apache.xmlbeans.XmlInt |
xgetRefreshDuration()
Internal Use Only. |
void |
xsetID(org.apache.xmlbeans.XmlString id)
Internal Use Only. |
void |
xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only. |
void |
xsetRefreshable(org.apache.xmlbeans.XmlBoolean refreshable)
Internal Use Only. |
void |
xsetRefreshDate(org.apache.xmlbeans.XmlDateTime refreshDate)
Internal Use Only. |
void |
xsetRefreshDuration(org.apache.xmlbeans.XmlInt refreshDuration)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
java.lang.String getID()
Returns the ID of the DataProvider.
org.apache.xmlbeans.XmlString xgetID()
Internal Use Only.
void setID(java.lang.String id)
Internal Use Only.
void xsetID(org.apache.xmlbeans.XmlString id)
Internal Use Only.
java.lang.String getName()
org.apache.xmlbeans.XmlString xgetName()
Internal Use Only.
void setName(java.lang.String name)
Internal Use Only.
void xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only.
java.util.Calendar getRefreshDate()
org.apache.xmlbeans.XmlDateTime xgetRefreshDate()
Internal Use Only.
void setRefreshDate(java.util.Calendar refreshDate)
Internal Use Only.
void xsetRefreshDate(org.apache.xmlbeans.XmlDateTime refreshDate)
Internal Use Only.
int getRefreshDuration()
org.apache.xmlbeans.XmlInt xgetRefreshDuration()
Internal Use Only.
void setRefreshDuration(int refreshDuration)
Internal Use Only.
void xsetRefreshDuration(org.apache.xmlbeans.XmlInt refreshDuration)
Internal Use Only.
boolean getRefreshable()
Returns true, if the data provider is refreshable.
Example: Check whether the data provider is refreshable
RetrieveDataProvidersInfo objRetrieveDataProvidersInfo = RetrieveDataProvidersInfo.Factory.newInstance();
RetrieveData retBOData = RetrieveData.Factory.newInstance();
retBOData.setRetrieveDataProvidersInfo(objRetrieveDataProvidersInfo);
DocumentInformation boDocInfo = objReportEngine.getDocumentInformation(docid, null, null, null, retBOData);
DataProviderInfo[] dps = boDocInfo.getDataProviderInfoArray();
DataProviderInfo dp = dps[0];
out.println(dp.getRefreshable());
org.apache.xmlbeans.XmlBoolean xgetRefreshable()
Internal Use Only.
void setRefreshable(boolean refreshable)
Internal Use Only.
void xsetRefreshable(org.apache.xmlbeans.XmlBoolean refreshable)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||