|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Fields inherited from interface oracle.panama.model.ModelObject |
TYPEID |
| Method Summary |
| Type | Method |
|---|---|
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 ModelObjectString - the name to set for this DataFeederpublic void addInputParameter(FeedMetaData ip)
FeedMetaData - the input parameter to addOnce the parameter is added using this function it cannot be
removed from the DataFeeder, only invalidated.,
#createFeedMetaDatapublic void addInputParameters(FeedMetaData[] ip)
addInputParameters in interface PassThroughDataFeederFeedMetaData - the input parameter to add#createFeedMetaDatapublic FeedMetaData[] getInputParameters()
getInputParameters in interface PassThroughDataFeederpublic FeedMetaData getInputParameter(java.lang.String paramName)
getInputParameter in interface PassThroughDataFeedername - of input parameter to getpublic void addOutputParameter(FeedMetaData tp)
FeedMetaData - the output parameter to add#createFeedMetaDatapublic void addOutputParameters(FeedMetaData[] tp)
addOutputParameters in interface PassThroughDataFeederFeedMetaData[] - the output parameters to add#createFeedMetaDatapublic FeedMetaData[] getOutputParameters()
getOutputParameters in interface PassThroughDataFeederpublic FeedMetaData getOutputParameter(java.lang.String paramName)
getOutputParameter in interface PassThroughDataFeederString - name of output parameter to getpublic 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 PassThroughDataFeederString - name of the new FeedMetaDataString - SQL type of the new FeedMetaData, from FeedUtil
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.public java.lang.String getDataFilterHook()
oracle.panama.rt.hook.DataFilterHookpublic void setDataFilterHook(java.lang.String className)
String - className the name of the class that implements the DataFilter hookoracle.panama.rt.hook.DataFilterHookpublic java.lang.String getDownloadHook()
oracle.panama.rt.hook.DownloadHookpublic void setDownloadHook(java.lang.String className)
the - name of the class that implements the Download hookoracle.panama.rt.hook.DownloadHook
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||