|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the presentation of the Entity Objects selected by an an SQL statement.
Fields inherited from interface oracle.jbo.RowIterator |
SLOT_BEFORE_FIRST,
SLOT_BEYOND_LAST,
SLOT_DELETED,
SLOT_VALID |
Method Summary | |
AttributeDef |
addDynamicAttribute(java.lang.String attrName)
Adds a dynamic attribute to the View Object's row set. |
void |
applyViewCriteria(ViewCriteria criteria)
Applies the view criteria to this View Object. |
RowSet |
createRowSet(java.lang.String name)
Creates and names a row set for the View Object. |
ViewCriteria |
createViewCriteria()
Creates a "Query by Example" view criteria object. |
AttributeDef |
findViewLinkAccessor(ViewLink vl)
Finds the view link accessor attribute. |
java.lang.String |
getOrderByClause()
Retrieves the current ORDER BY clause of the View Object's query statement. |
java.lang.String |
getQuery()
Retrieves the View Object's query statement. |
ViewCriteria |
getViewCriteria()
Gets this View Object's view criteria. |
java.lang.String[] |
getViewLinkNames()
Retrieves the names of the View Object's View Links. |
java.lang.String |
getWhereClause()
Retrieves the current WHERE clause of the View Object's query statement. |
boolean |
isReadOnly()
Tests if the View Object is read-only. |
void |
setOrderByClause(java.lang.String expr)
Sets the ORDER BY clause of the View Object's query statement. |
void |
setWhereClause(java.lang.String cond)
Sets the WHERE clause of the View Object's query statement. |
Methods inherited from interface oracle.jbo.StructureDef |
findAttributeDef,
getAttributeCount,
getAttributeDef,
getAttributeDefs |
Methods inherited from interface oracle.jbo.ComponentObject |
getDefFullName,
getDefName,
getFullName,
remove |
Methods inherited from interface oracle.jbo.RowSetIterator |
addListener,
createDetailRowSet,
getDetailRowSets,
getRowSet,
removeListener |
Methods inherited from interface oracle.jbo.RowIterator |
createRow,
enumerateRowsInRange,
findByEntity,
findByKey,
first,
getAllRowsInRange,
getCurrentRow,
getCurrentRowIndex,
getCurrentRowSlot,
getFetchedRowCount,
getRangeIndexOf,
getRangeSize,
getRangeStart,
getRow,
getRowAtRangeIndex,
getRowCount,
getRowCountInRange,
hasNext,
hasPrevious,
insertRow,
insertRowAtRangeIndex,
isRangeAtBottom,
isRangeAtTop,
last,
next,
previous,
removeCurrentRow,
reset,
scrollRange,
scrollRangeTo,
setCurrentRow,
setCurrentRowAtRangeIndex,
setRangeSize,
setRangeStart |
Method Detail |
public AttributeDef addDynamicAttribute(java.lang.String attrName)
attrName
- the name of an attribute.public void setWhereClause(java.lang.String cond)
Bind variables can be specified using '?' as a place-holder for the value.
cond
- a WHERE clause, but excluding the 'WHERE' keyword.public java.lang.String getWhereClause()
public void setOrderByClause(java.lang.String expr)
Bind variables can be specified using '?' as a place-holder for the value.
cond
- a ORDER BY clause, but excluding the 'ORDER BY' keywords.public java.lang.String getOrderByClause()
public java.lang.String getQuery()
public boolean isReadOnly()
A view is read-only if it does not have Primary Keys or if all its entity references are reference-only.
true
if this
is read-only.public RowSet createRowSet(java.lang.String name)
name
- the name for the new RowSet
.public java.lang.String[] getViewLinkNames()
public ViewCriteria createViewCriteria()
public void applyViewCriteria(ViewCriteria criteria)
View criteria rows are ORed together, while entries in the same row are ANDed together.
criteria
- a view criteria object.public ViewCriteria getViewCriteria()
public AttributeDef findViewLinkAccessor(ViewLink vl)
vl
- the view link whose accessor is being sought.null
if not.
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |