|
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 |
java.lang.Object oracle.jbo.html.DataSourceImpl
Field Summary |
Fields inherited from interface oracle.jbo.html.DataSource |
DEFAULT_RANGE_SIZE |
Constructor Summary | |
DataSourceImpl(javax.servlet.http.HttpServletRequest request,
java.lang.String viewObjectName)
|
|
DataSourceImpl(java.lang.String viewObjectName)
|
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)
|
static java.lang.String |
getAttributeLabel(RowSet rs,
AttributeDef aDef)
Deprecated. Deprecated since 9.0.3. Instead, use JboUtil.getAttributeLabel(RowSet rs, AttributeDef attrDef). |
java.lang.String |
getAttributeLabel(java.lang.String sAttribute)
|
protected HTMLFieldRenderer[][] |
getAttributeRenderers()
|
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)
Convenient method with the pageContext without the session to be use by tags |
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 view object has any queryable fields |
protected void |
setApplicationId(java.lang.String sId)
|
void |
setApplicationModule(java.lang.String appName,
ApplicationModule amInstance)
Bind a datasource to a BC4J ApplicationModule and retrieve find the ViewObject. |
void |
setApplicationModule(java.lang.String appName,
ApplicationModule amInstance,
java.lang.String rsName,
boolean createRowset)
|
protected void |
setAttributeRenderers(java.lang.String sRenderersAttributeName,
HTMLFieldRenderer[][] attributeRenderers)
|
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 |
setFieldRenderer(int nIndex,
HTMLFieldRenderer rdr,
java.lang.String renderKey)
|
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Pass in the request object |
protected void |
setRowSet(RowSet rset)
|
boolean |
shouldDisplayAttribute(AttributeDef attrDef)
|
void |
synchronize()
Synchronizes client changes with remote application. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataSourceImpl(java.lang.String viewObjectName)
public DataSourceImpl(javax.servlet.http.HttpServletRequest request, java.lang.String viewObjectName)
Method Detail |
public boolean isBindingContainerDataSource()
isBindingContainerDataSource
in interface DataSource
public void setRequest(javax.servlet.http.HttpServletRequest request)
DataSource
setRequest
in interface DataSource
public java.lang.String getViewObjectName()
DataSource
getViewObjectName
in interface DataSource
ViewObject
public void setApplicationModule(java.lang.String appName, ApplicationModule amInstance)
DataSource
setApplicationModule
in interface DataSource
appName
- amInstance
- protected void setRowSet(RowSet rset)
public void setApplicationModule(java.lang.String appName, ApplicationModule amInstance, java.lang.String rsName, boolean createRowset)
protected void setAttributeRenderers(java.lang.String sRenderersAttributeName, HTMLFieldRenderer[][] attributeRenderers)
protected HTMLFieldRenderer[][] getAttributeRenderers()
public java.lang.String getApplicationId()
getApplicationId
in interface DataSource
protected void setApplicationId(java.lang.String sId)
public ApplicationModule getApplicationModule()
DataSource
getApplicationModule
in interface DataSource
ApplicationModule
public RowSet getRowSet()
DataSource
getRowSet
in interface DataSource
RowSet
public LocaleContext getLocaleContext()
DataSource
getLocaleContext
in interface DataSource
public java.lang.String getContextFieldRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef, java.lang.String renderKey)
getContextFieldRendererClassName
in interface DataSource
public java.lang.String getFieldRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef, java.lang.String renderKey)
getFieldRendererClassName
in interface DataSource
public java.lang.String getEditRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef)
getEditRendererClassName
in interface DataSource
public java.lang.String getDisplayRendererClassName(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, AttributeDef attrDef)
getDisplayRendererClassName
in interface DataSource
public java.lang.String getDefaultFieldRendererClassName(AttributeDef attrDef, java.lang.String renderKey)
getDefaultFieldRendererClassName
in interface DataSource
public java.lang.String getDefaultEditRendererClassName(AttributeDef attrDef)
getDefaultEditRendererClassName
in interface DataSource
public java.lang.String getDefaultDisplayRendererClassName(AttributeDef attrDef)
getDefaultDisplayRendererClassName
in interface DataSource
public HTMLFieldRenderer getEditFieldRenderer(javax.servlet.jsp.PageContext page, Row row, AttributeDef attrDef)
getEditFieldRenderer
in interface DataSource
public HTMLFieldRenderer getEditFieldRenderer(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, Row row, AttributeDef attrDef)
getEditFieldRenderer
in interface DataSource
attrDef
- an attribute definition.
public HTMLFieldRenderer getDisplayFieldRenderer(javax.servlet.jsp.PageContext page, Row row, AttributeDef attrDef)
getDisplayFieldRenderer
in interface DataSource
public HTMLFieldRenderer getDisplayFieldRenderer(javax.servlet.jsp.PageContext page, javax.servlet.http.HttpSession session, Row row, AttributeDef attrDef)
getDisplayFieldRenderer
in interface DataSource
attrDef
- an attribute definition.
public void setFieldRenderer(int nIndex, HTMLFieldRenderer rdr, java.lang.String renderKey)
public void setDisplayFieldRenderer(AttributeDef attrDef, HTMLFieldRenderer rdr)
setDisplayFieldRenderer
in interface DataSource
public void setEditFieldRenderer(AttributeDef attrDef, HTMLFieldRenderer rdr)
setEditFieldRenderer
in interface DataSource
public void setDisplayFieldRenderer(int nIndex, HTMLFieldRenderer rdr)
setDisplayFieldRenderer
in interface DataSource
public void setEditFieldRenderer(int nIndex, HTMLFieldRenderer rdr)
setEditFieldRenderer
in interface DataSource
public boolean shouldDisplayAttribute(AttributeDef attrDef)
shouldDisplayAttribute
in interface DataSource
public java.lang.String getAttributeLabel(java.lang.String sAttribute)
getAttributeLabel
in interface DataSource
public java.lang.String getAttributeLabel(AttributeDef aDef)
getAttributeLabel
in interface DataSource
public static final java.lang.String getAttributeLabel(RowSet rs, AttributeDef aDef)
public Row getRowFromKey(java.lang.String sKey)
getRowFromKey
in interface DataSource
public boolean isQueryable()
isQueryable
in interface DataSource
public void synchronize()
DataSource
synchronize
in interface DataSource
|
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.