|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.common.PropertiesHelper oracle.jbo.common.RowSetHelper oracle.jbo.server.ViewRowSetImpl oracle.jbo.server.ejb.facade.CmrAccessorViewRowSet
public class CmrAccessorViewRowSet
Field Summary |
---|
Fields inherited from class oracle.jbo.common.RowSetHelper |
---|
listeners, mMgmtListeners, mName |
Fields inherited from class oracle.jbo.common.PropertiesHelper |
---|
mProperties |
Fields inherited from interface oracle.jbo.RowSet |
---|
COPY_OPT_ALL_ROWS, COPY_OPT_LIMIT_RANGE, FORWARD_ONLY, RANGE_PAGING, RANGE_PAGING_AUTO_POST, RANGE_PAGING_INCR, SCROLLABLE |
Fields inherited from interface oracle.jbo.RowIterator |
---|
ITER_MODE_LAST_PAGE_FULL, ITER_MODE_LAST_PAGE_PARTIAL, SLOT_BEFORE_FIRST, SLOT_BEYOND_LAST, SLOT_DELETED, SLOT_VALID |
Fields inherited from interface oracle.jbo.XMLInterface |
---|
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE |
Constructor Summary | |
---|---|
protected |
CmrAccessorViewRowSet(ViewObjectImpl vo,
Row masterRow,
boolean isDefaultRS)
|
Method Summary | |
---|---|
java.lang.String |
getElementTagName()
|
java.lang.String |
getFullName()
|
java.lang.Object[] |
getParameters(boolean nullValueFlag,
Row[] masterRows)
|
protected boolean |
initQueryCollection(int forceFlag,
RowFilter rowFilter)
Sets up QueryCollection for the view row set. |
void |
readXML(Element elem,
int depthCount)
|
void |
readXML(Element elem,
int depthCount,
XSLStylesheet xslt)
|
void |
writeAsXml(XmlOutput out,
Node node,
Criteria rules)
|
Node |
writeXML(int depthCount,
long options)
Renders data in a canonical XML-format. |
Node |
writeXML(int depthCount,
long options,
XSLStylesheet xslt)
|
Node |
writeXML(long options,
java.util.HashMap voAttrRules)
Renders data in a canonical XML-format. |
Node |
writeXML(long options,
java.util.HashMap map,
XSLStylesheet xslt)
|
Methods inherited from class oracle.jbo.common.RowSetHelper |
---|
fireMgmtIteratorClosed, fireMgmtIteratorReset, fireNavigationEvent, fireRangeRefreshed, fireRangeScrolled, fireRowDeleted, fireRowInserted, fireRowUpdated, getListeners, getListenersList, getManagementListenersList, getName, hasListeners, hasManagementListeners, setName, updateNamedWhereParamValues |
Methods inherited from class oracle.jbo.common.PropertiesHelper |
---|
closeObject, getImageLoc, getProperty, isReadOnly, refreshProperties, refreshProperty, setProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.RowSet |
---|
getName |
Methods inherited from interface oracle.jbo.Properties |
---|
getProperty, refreshProperty |
Methods inherited from interface oracle.jbo.XMLInterface |
---|
readXML, readXML, writeXML, writeXML, writeXML, writeXML |
Constructor Detail |
---|
protected CmrAccessorViewRowSet(ViewObjectImpl vo, Row masterRow, boolean isDefaultRS)
Method Detail |
---|
protected boolean initQueryCollection(int forceFlag, RowFilter rowFilter)
ViewRowSetImpl
QueryCollection
for the view row set.
initQueryCollection
in class ViewRowSetImpl
forceFlag
- indicates whether to force-create the query collection or not.
If this flag is 0, we try to find an existing
in the query collection list (of the View Object).
If it is 1, we force a new QC, except if the VO's
max-fetch-size = 0 in which case we look for existing.
If -1, we force a new QC, regardless of the VO's max-fetch-size.rowFilter
- filter to initialize the query collection.
public java.lang.Object[] getParameters(boolean nullValueFlag, Row[] masterRows)
getParameters
in class ViewRowSetImpl
public java.lang.String getFullName()
public final Node writeXML(long options, java.util.HashMap voAttrRules)
XMLInterface
ViewObjectImpl
and
ViewRowImpl
implement this method to render
data in XML.
Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.
The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:
EntityImpl
. The voAttrMap parameter represents in a hashmap, the mapping between a given ViewObject's definition type and the corresponding Attributes/accessors to render. A null entry in the hashmap means, render all attributes and accessors of that viewobject type.
writeXML
in interface XMLInterface
options
- a set of bit flags that will control the writeXMLvoAttrRules
- HashMap containing Definition names of ViewObjects and an
array of AttributeDef to render for a ViewObject of that definition type.public Node writeXML(int depthCount, long options)
XMLInterface
ViewObjectImpl
and
ViewRowImpl
implement this method to render
data in XML.
Use this method whenever data is required in XML format, either to present a UI (after converting XML data into some HTTP format using a stylesheet) or to pass the data as payload for messages via JMS.
The depthcount parameter represents to what level the rendering should recurse. A depthcount of zero (0) means do not traverse any View Links while rendering. One (1) means traverse the View Links on this object but no View Links thereafter, and so on.
The options parameter represents a set of bit flags that will control the writeXML behavior. The following bit flags have been defined:
EntityImpl
.
writeXML
in interface XMLInterface
depthCount
- represents to what level the rendering should recurse.options
- a set of bit flags that will control the writeXML
behavior.public Node writeXML(long options, java.util.HashMap map, XSLStylesheet xslt)
writeXML
in interface XMLInterface
public Node writeXML(int depthCount, long options, XSLStylesheet xslt)
writeXML
in interface XMLInterface
public void readXML(Element elem, int depthCount, XSLStylesheet xslt)
readXML
in interface XMLInterface
public java.lang.String getElementTagName()
getElementTagName
in interface XmlSerializable
public void writeAsXml(XmlOutput out, Node node, Criteria rules)
writeAsXml
in interface XmlSerializable
public void readXML(Element elem, int depthCount)
readXML
in interface XMLInterface
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.4.0) E10653-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |