Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.feed
Interface RTDataFeeder

All Known Subinterfaces:
FeedConfig

public interface RTDataFeeder

Method Summary
 void addInputParameters(FeedMetaData[] param)
          Set the meta data for this Content Store.
 void addOutputParameters(FeedMetaData[] param)
          set the meta data for this Content Store.
 java.lang.String getClassName()
          Get the name of the class implementing this datafeeder For the 'standard' DataFeeder this will be null
 java.util.Map[] getData(java.util.Map params)
          Retrieve the data feed from application's feed table for a given set of parameters.
 FeedMetaData[] getInputParameters()
          Get the meta data for this Content Store.
 java.lang.String getName()
          Get the name of the underlying feed
 FeedMetaData[] getOutputParameters()
          Get the meta data for this Content Store.
 void setClassName(java.lang.String className)
          Set the name of the class implementing this datafeeder

 

Method Detail

addInputParameters

public void addInputParameters(FeedMetaData[] param)
Set the meta data for this Content Store.

addOutputParameters

public void addOutputParameters(FeedMetaData[] param)
set the meta data for this Content Store.

getClassName

public java.lang.String getClassName()
Get the name of the class implementing this datafeeder For the 'standard' DataFeeder this will be null
Returns:
name of class that implements the data feeder

getData

public java.util.Map[] getData(java.util.Map params)
                        throws PanamaException
Retrieve the data feed from application's feed table for a given set of parameters. The method will return all matching rows. Each row is presented in the returned vector as a Map (hashtable). The values contained in the returned hashtable are in the format of Attr/value. If no data is found or if there is no cache table the method will return null.
Throws:
PanamaException

getInputParameters

public FeedMetaData[] getInputParameters()
Get the meta data for this Content Store.
Returns:
an array of all input paramters

getName

public java.lang.String getName()
Get the name of the underlying feed

getOutputParameters

public FeedMetaData[] getOutputParameters()
Get the meta data for this Content Store.
Returns:
an array of all output paramters

setClassName

public void setClassName(java.lang.String className)
Set the name of the class implementing this datafeeder

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.