|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DataSource interface is a data provider abstraction used by DataWebBean and DataTags.
Field Summary | |
static int |
DEFAULT_RANGE_SIZE
Default size of the range use by the DataWebBean when the ViewObject range is 1. |
Method Summary | |
java.lang.String |
getApplicationId()
Return identificator for the ApplicationModule. |
ApplicationModule |
getApplicationModule()
Name of the ApplicationModule containing the ViewObject bind to this datasource. |
java.lang.String |
getAttributeLabel(AttributeDef aDef)
|
java.lang.String |
getAttributeLabel(java.lang.String sAttribute)
|
java.lang.String |
getContextFieldRendererClassName(javax.servlet.jsp.PageContext page,
javax.servlet.http.HttpSession session,
AttributeDef attrDef,
java.lang.String renderKey)
|
java.lang.String |
getDefaultDisplayRendererClassName(AttributeDef attrDef)
|
java.lang.String |
getDefaultEditRendererClassName(AttributeDef attrDef)
|
java.lang.String |
getDefaultFieldRendererClassName(AttributeDef attrDef,
java.lang.String renderKey)
|
HTMLFieldRenderer |
getDisplayFieldRenderer(javax.servlet.jsp.PageContext page,
javax.servlet.http.HttpSession session,
Row row,
AttributeDef attrDef)
Retrieves the default field renderer for a specified attribute definition (that is, the attribute metadata). |
HTMLFieldRenderer |
getDisplayFieldRenderer(javax.servlet.jsp.PageContext page,
Row row,
AttributeDef attrDef)
|
java.lang.String |
getDisplayRendererClassName(javax.servlet.jsp.PageContext page,
javax.servlet.http.HttpSession session,
AttributeDef attrDef)
|
HTMLFieldRenderer |
getEditFieldRenderer(javax.servlet.jsp.PageContext page,
javax.servlet.http.HttpSession session,
Row row,
AttributeDef attrDef)
Retrieves the default field renderer for a specified attribute definition (that is, the attribute metadata). |
HTMLFieldRenderer |
getEditFieldRenderer(javax.servlet.jsp.PageContext page,
Row row,
AttributeDef attrDef)
|
java.lang.String |
getEditRendererClassName(javax.servlet.jsp.PageContext page,
javax.servlet.http.HttpSession session,
AttributeDef attrDef)
|
java.lang.String |
getFieldRendererClassName(javax.servlet.jsp.PageContext page,
javax.servlet.http.HttpSession session,
AttributeDef attrDef,
java.lang.String renderKey)
|
LocaleContext |
getLocaleContext()
Returns the locale context |
Row |
getRowFromKey(java.lang.String sKey)
|
RowSet |
getRowSet()
Return the RowSet instance of the ViewObject bind to this datasource. |
java.lang.String |
getViewObjectName()
Return the name of the ViewObject bind to this datasource. |
boolean |
isBindingContainerDataSource()
|
boolean |
isQueryable()
Determines if the DataSource is queryable based on the ViewObject information. |
void |
setApplicationModule(java.lang.String appName,
ApplicationModule am)
Bind a datasource to a BC4J ApplicationModule and retrieve find the ViewObject. |
void |
setDisplayFieldRenderer(AttributeDef attrDef,
HTMLFieldRenderer rdr)
Assigns an instance-level display field renderer to be used in the DataWebBean |
void |
setDisplayFieldRenderer(int nIndex,
HTMLFieldRenderer rdr)
Assigns an instance-level display field renderer to be used in the DataWebBean |
void |
setEditFieldRenderer(AttributeDef attrDef,
HTMLFieldRenderer rdr)
Assigns an instance-level edit field renderer to be used in the DataWebBean |
void |
setEditFieldRenderer(int nIndex,
HTMLFieldRenderer rdr)
Assigns an instance-level edit field renderer to be used in the DataWebBean |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Pass in the request object |
boolean |
shouldDisplayAttribute(AttributeDef attrDef)
|
void |
synchronize()
Synchronizes client changes with remote application. |
Field Detail |
public static final int DEFAULT_RANGE_SIZE
Method Detail |
public java.lang.String getViewObjectName()
ViewObject
public ApplicationModule getApplicationModule()
ApplicationModule
public void setApplicationModule(java.lang.String appName, ApplicationModule am)
appName
- am
- public RowSet getRowSet()
RowSet
public java.lang.String getApplicationId()
public HTMLFieldRenderer getEditFieldRenderer(javax.servlet.jsp.PageContext page, Row row, AttributeDef attrDef)
public HTMLFieldRenderer getEditFieldRenderer(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, Row row, AttributeDef attrDef)
attrDef
- an attribute definition.
public HTMLFieldRenderer getDisplayFieldRenderer(javax.servlet.jsp.PageContext page, Row row, AttributeDef attrDef)
public HTMLFieldRenderer getDisplayFieldRenderer(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, Row row, AttributeDef attrDef)
attrDef
- an attribute definition.
public java.lang.String getContextFieldRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef, java.lang.String renderKey)
public java.lang.String getDefaultFieldRendererClassName(AttributeDef attrDef, java.lang.String renderKey)
public java.lang.String getDefaultEditRendererClassName(AttributeDef attrDef)
public java.lang.String getDefaultDisplayRendererClassName(AttributeDef attrDef)
public java.lang.String getFieldRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef, java.lang.String renderKey)
public java.lang.String getEditRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef)
public java.lang.String getDisplayRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef)
public void setDisplayFieldRenderer(AttributeDef attrDef, HTMLFieldRenderer rdr)
public void setEditFieldRenderer(AttributeDef attrDef, HTMLFieldRenderer rdr)
public void setDisplayFieldRenderer(int nIndex, HTMLFieldRenderer rdr)
public void setEditFieldRenderer(int nIndex, HTMLFieldRenderer rdr)
public boolean shouldDisplayAttribute(AttributeDef attrDef)
public java.lang.String getAttributeLabel(java.lang.String sAttribute)
public java.lang.String getAttributeLabel(AttributeDef aDef)
public Row getRowFromKey(java.lang.String sKey)
public boolean isQueryable()
public LocaleContext getLocaleContext()
public void synchronize()
public boolean isBindingContainerDataSource()
public void setRequest(javax.servlet.http.HttpServletRequest request)
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.