|
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 PassThroughDataFeeder
public void setName(java.lang.String name)
setName
in interface ModelObject
name
- 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.
, #createFeedMetaData
public void addInputParameters(FeedMetaData[] ip)
addInputParameters
in interface PassThroughDataFeeder
#createFeedMetaData
public FeedMetaData[] getInputParameters()
getInputParameters
in interface PassThroughDataFeeder
public FeedMetaData getInputParameter(java.lang.String paramName)
getInputParameter
in interface PassThroughDataFeeder
public void addOutputParameter(FeedMetaData tp)
#createFeedMetaData
public void addOutputParameters(FeedMetaData[] tp)
addOutputParameters
in interface PassThroughDataFeeder
#createFeedMetaData
public FeedMetaData[] getOutputParameters()
getOutputParameters
in interface PassThroughDataFeeder
public FeedMetaData getOutputParameter(java.lang.String paramName)
getOutputParameter
in interface PassThroughDataFeeder
public ContentProviderInfo getContentProviderInfo()
public boolean isCachingDisabled()
public void setCachingDisabled(boolean disableFlag)
disableFlag
- true if caching should be disabledpublic FeedMetaData createMetaData(java.lang.String name, java.lang.String type)
createMetaData
in interface PassThroughDataFeeder
name
- of the new FeedMetaDatapublic void createFeedDefinition() throws PanamaException
createFeedDefinition
in interface PassThroughDataFeeder
PanamaException
- if the table cannot be createdpublic java.util.Map[] getData(java.util.Map params) throws PanamaException
getData
in interface PassThroughDataFeeder
params
- 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.PanamaException
public java.lang.String getDataFilterHook()
oracle.panama.rt.hook.DataFilterHook
public void setDataFilterHook(java.lang.String className)
oracle.panama.rt.hook.DataFilterHook
public java.lang.String getDownloadHook()
oracle.panama.rt.hook.DownloadHook
public 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 |