|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| 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.EntityRowSetImpl
public class EntityRowSetImpl
EntityRowSetImpl represents the ResultSet of an association.
| Field Summary | |
|---|---|
static byte |
ENTITYROWSET_INCONSISTENT |
static byte |
ENTITYROWSET_NEW_AND_MODIFIED |
static byte |
ENTITYROWSET_UNINITIALIZED |
static byte |
mDefaultMode |
| 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 |
EntityRowSetImpl(ViewObjectImpl vo, java.lang.String name, AssociationDefImpl assocDesc, java.lang.Object[] paramValues)Constructs a EntityRowSetImpl for a ViewRowSetImpl. |
| Method Summary | |
|---|---|
boolean |
add(java.lang.Object o) |
boolean |
addAll(java.util.Collection c) |
void |
clear() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection c) |
Row[] |
findByEntity(int eRowHandle, int maxNumOfRows)Finds and returns View rows that use the Entity row, identified by the Entity row handle, eRowHandle. |
Row[] |
findByKey(Key key, int maxNumOfRows)Finds and returns View rows that match the specified key. |
Row[] |
findByKey(Key key, int maxNumOfRows, boolean skipWhere) |
Row[] |
findInCacheByKey(Key key, int maxNumOfRows) |
java.lang.String |
getElementTagName() |
java.lang.String |
getFullName() |
java.util.Hashtable |
getProperties()Returns all Properties |
boolean |
isAssociationConsistent()Returns the association-consistent flag for this row set. |
boolean |
isEmpty() |
java.util.Iterator |
iterator() |
void |
readXML(Element elem, int depthCount) |
void |
readXML(Element elem, int depthCount, XSLStylesheet xslt) |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection c) |
boolean |
retainAll(java.util.Collection c) |
void |
setAssociationConsistent(boolean isConsistent)Sets the association-consistent flag for this row set. |
int |
size() |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] a) |
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 java.util.Set |
|---|
equals, hashCode |
| 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 |
| Field Detail |
|---|
public static final byte ENTITYROWSET_UNINITIALIZED
public static final byte ENTITYROWSET_INCONSISTENT
public static final byte ENTITYROWSET_NEW_AND_MODIFIED
public static byte mDefaultMode
| Constructor Detail |
|---|
protected EntityRowSetImpl(ViewObjectImpl vo,
java.lang.String name,
AssociationDefImpl assocDesc,
java.lang.Object[] paramValues)
vo - the ViewObjectImplassocDesc - the associationparamValues - parameters| Method Detail |
|---|
public java.util.Hashtable getProperties()
getProperties in interface PropertiesgetProperties in class ViewRowSetImplpublic void setAssociationConsistent(boolean isConsistent)
ViewRowSetImplSee ViewObjectImpl.setAssociationConsistent for details.
setAssociationConsistent in interface RowSetsetAssociationConsistent in class ViewRowSetImplisConsistent - indicates whether association-consistency should be on or not.ViewObjectImpl.setAssociationConsistent(boolean)public boolean isAssociationConsistent()
ViewRowSetImplSee ViewObjectImpl.isAssociationConsistent for details.
isAssociationConsistent in interface RowSetisAssociationConsistent in class ViewRowSetImplViewObjectImpl.isAssociationConsistent()public int size()
size in interface java.util.Collectionsize in interface java.util.Setpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.Setpublic boolean contains(java.lang.Object o)
contains in interface java.util.Collectioncontains in interface java.util.Setpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.Setpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.Setpublic java.lang.Object[] toArray(java.lang.Object[] a)
toArray in interface java.util.CollectiontoArray in interface java.util.Setpublic boolean add(java.lang.Object o)
add in interface java.util.Collectionadd in interface java.util.Setpublic boolean remove(java.lang.Object o)
remove in interface java.util.Collectionremove in interface java.util.Setpublic boolean containsAll(java.util.Collection c)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.Setpublic boolean addAll(java.util.Collection c)
addAll in interface java.util.CollectionaddAll in interface java.util.Setpublic boolean retainAll(java.util.Collection c)
retainAll in interface java.util.CollectionretainAll in interface java.util.Setpublic boolean removeAll(java.util.Collection c)
removeAll in interface java.util.CollectionremoveAll in interface java.util.Setpublic void clear()
clear in interface java.util.Collectionclear in interface java.util.Set
public Row[] findInCacheByKey(Key key,
int maxNumOfRows)
findInCacheByKey in class ViewRowSetImpl
public Row[] findByKey(Key key,
int maxNumOfRows)
ViewRowSetImplSee for details.RowIterator.findByKey(oracle.jbo.Key, int)
findByKey in interface RowIteratorfindByKey in class ViewRowSetImplkey - the key to match.maxNumOfRows - the maximum size of the array to return, or -1 to return all rows.
public Row[] findByKey(Key key,
int maxNumOfRows,
boolean skipWhere)
findByKey in class ViewRowSetImpl
public Row[] findByEntity(int eRowHandle,
int maxNumOfRows)
RowIteratoreRowHandle.findByEntity in interface RowIteratorfindByEntity in class ViewRowSetImpleRowHandle - the Entity row handle.maxNumOfRows - the maximum size of the row array to return, or -1 to return all rows.public java.lang.String getFullName()
public final Node writeXML(long options,
java.util.HashMap voAttrRules)
XMLInterfaceViewObjectImpl 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 XMLInterfaceoptions - 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)
XMLInterfaceViewObjectImpl 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 XMLInterfacedepthCount - 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 XMLInterfacepublic 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.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||