|
|||||||||
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 PassThroughDataFeeder
public void setName(java.lang.String name)
setName
in interface ModelObject
String
- 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.
,
#createFeedMetaData
public void addInputParameters(FeedMetaData[] ip)
addInputParameters
in interface PassThroughDataFeeder
FeedMetaData
- the input parameter to add#createFeedMetaData
public FeedMetaData[] getInputParameters()
getInputParameters
in interface PassThroughDataFeeder
public FeedMetaData getInputParameter(java.lang.String paramName)
getInputParameter
in interface PassThroughDataFeeder
name
- of input parameter to getpublic void addOutputParameter(FeedMetaData tp)
FeedMetaData
- the output parameter to add#createFeedMetaData
public void addOutputParameters(FeedMetaData[] tp)
addOutputParameters
in interface PassThroughDataFeeder
FeedMetaData[]
- the output parameters to add#createFeedMetaData
public FeedMetaData[] getOutputParameters()
getOutputParameters
in interface PassThroughDataFeeder
public FeedMetaData getOutputParameter(java.lang.String paramName)
getOutputParameter
in interface PassThroughDataFeeder
String
- name of output parameter to getpublic 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
String
- name of the new FeedMetaDataString
- SQL type of the new FeedMetaData, from FeedUtilpublic 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.public java.lang.String getDataFilterHook()
oracle.panama.rt.hook.DataFilterHook
public void setDataFilterHook(java.lang.String className)
String
- className the name of the class that implements the DataFilter hookoracle.panama.rt.hook.DataFilterHook
public java.lang.String getDownloadHook()
oracle.panama.rt.hook.DownloadHook
public 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 |