|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary |
| Fields inherited from interface oracle.panama.model.ModelObject |
TYPEID |
| Method Summary | |
void |
addInputParameter(FeedMetaData ip)Add a new input parameter for the external data source. |
void |
addInputParameters(FeedMetaData[] ip)Add an array of new input parameters for the external data source. |
void |
addOutputParameter(FeedMetaData tp)Add a new output parameter |
void |
addOutputParameters(FeedMetaData[] tp)Add an array of new output parameters |
void |
createFeedDefinition()Create the feed definition -- this will register the Input/Output parameters with the alert framework and create the cache table if needed. |
FeedMetaData |
createMetaData(java.lang.String name, java.lang.String type)Create a FeedMetaData instance, for use with add{Input,Output}Parameter The SQL type of the FeedMetaData should be one of the predefined types in the @see oracle.panama.feed.FeeedUtil interface |
ContentProviderInfo |
getContentProviderInfo()get the Content provider info for this DataFeeder For now, each DataFeeder has only one ContentProviderInfo. |
java.util.Map[] |
getData(java.util.Map params)Retrieve the data feed from application's feed table for a given set of parameters. |
java.lang.String |
getDataFilterHook()Get the name of the current DataFilterHook |
java.lang.String |
getDownloadHook()Get the class name of the current DownloadHook |
FeedMetaData |
getInputParameter(java.lang.String paramName)Get a named input parameter. |
FeedMetaData[] |
getInputParameters()Get all input parameters currently defined for this DataFeeder |
java.lang.String |
getName()Get the name of this DataFeeder |
FeedMetaData |
getOutputParameter(java.lang.String paramName)Get a named output parameter |
FeedMetaData[] |
getOutputParameters()Get all output parameters currently defined for this DataFeeder |
boolean |
isCachingDisabled()Query whether caching is disabled |
void |
setCachingDisabled(boolean disableFlag)Disable data caching |
void |
setData(java.util.Map data)Store data in the data cache |
void |
setDataFilterHook(java.lang.String className)Set the name of the current DataFilterHook |
void |
setDownloadHook(java.lang.String className)Set the name of the current DownloadHook |
void |
setName(java.lang.String name)Set the name of this DataFeeder |
| Methods inherited from interface oracle.panama.feed.PassThroughDataFeeder |
getClassName, setClassName |
| Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll |
| Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
| Method Detail |
public java.lang.String getName()
getName in interface PassThroughDataFeederpublic void setName(java.lang.String name)
setName in interface ModelObjectname - must be not nullpublic void addInputParameter(FeedMetaData ip)
Once the parameter is added using this function it cannot be removed from the DataFeeder, only invalidated., #createFeedMetaDatapublic void addInputParameters(FeedMetaData[] ip)
addInputParameters in interface PassThroughDataFeeder#createFeedMetaDatapublic FeedMetaData[] getInputParameters()
getInputParameters in interface PassThroughDataFeederpublic FeedMetaData getInputParameter(java.lang.String paramName)
getInputParameter in interface PassThroughDataFeederpublic void addOutputParameter(FeedMetaData tp)
#createFeedMetaDatapublic void addOutputParameters(FeedMetaData[] tp)
addOutputParameters in interface PassThroughDataFeeder#createFeedMetaDatapublic FeedMetaData[] getOutputParameters()
getOutputParameters in interface PassThroughDataFeederpublic FeedMetaData getOutputParameter(java.lang.String paramName)
getOutputParameter in interface PassThroughDataFeederpublic ContentProviderInfo getContentProviderInfo()
public boolean isCachingDisabled()
public void setCachingDisabled(boolean disableFlag)
disableFlag - true if caching should be disabled
public FeedMetaData createMetaData(java.lang.String name,
java.lang.String type)
createMetaData in interface PassThroughDataFeedername - of the new FeedMetaData
public void createFeedDefinition()
throws PanamaException
createFeedDefinition in interface PassThroughDataFeederPanamaException - if the table cannot be created
public java.util.Map[] getData(java.util.Map params)
throws PanamaException
getData in interface PassThroughDataFeederparams - the names and values of parameters to look forPanamaException - if an error was encountered in retrieving the data.
public void setData(java.util.Map data)
throws PanamaException
data - Map of parameter names -> parameter values.PanamaExceptionpublic java.lang.String getDataFilterHook()
oracle.panama.rt.hook.DataFilterHookpublic void setDataFilterHook(java.lang.String className)
oracle.panama.rt.hook.DataFilterHookpublic java.lang.String getDownloadHook()
oracle.panama.rt.hook.DownloadHookpublic void setDownloadHook(java.lang.String className)
oracle.panama.rt.hook.DownloadHook
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||