|
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.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector
oracle.jbo.ViewCriteria
oracle.jbo.common.ViewCriteriaImpl
public class ViewCriteriaImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.jbo.ViewCriteria |
|---|
ViewCriteria.NestedViewCriteriaRow |
| Field Summary |
|---|
| Fields inherited from class oracle.jbo.ViewCriteria |
|---|
BASE_QUERY_ALIAS_BASE, CRITERIA_MODE_CACHE, CRITERIA_MODE_QUERY, FIND_MODE, FIND_MODE_ITERATOR, listeners, mProperties, mSavedState, mVariableManager, NESTED_QUERY_ALIAS_BASE, NULL_VALUE, ROOT_VC_NAME, TEMP_VARIABLE |
| Fields inherited from class java.util.Vector |
|---|
capacityIncrement, elementCount, elementData |
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
XML_STATEMENT |
| 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.ViewCriteriaComponent |
|---|
VC_CONJ_AND, VC_CONJ_NOT, VC_CONJ_OR, VC_CONJ_UNION, VC_UPPER_COL_DEFAULT, VC_UPPER_COL_FALSE, VC_UPPER_COL_TRUE |
| Constructor Summary | |
|---|---|
ViewCriteriaImpl(DefinitionManager defMgr,
StructureDef structureDef)
|
|
ViewCriteriaImpl(DefinitionManager defMgr,
StructureDef structureDef,
VariableManager voVariableManager)
|
|
ViewCriteriaImpl(DefinitionManager defMgr,
ViewCriteria parent,
java.lang.String structDefFullName)
|
|
| Method Summary | |
|---|---|
void |
addValidator(JboValidatorInterface validator)
|
void |
copyFrom(ViewCriteria vc)
For internal use only. |
ViewCriteria |
createCriteria()
|
ViewCriteriaRow |
createViewCriteriaRow()
Creates a new ViewCriteriaRow for this ViewCriteria. |
ViewCriteriaUsage |
createViewCriteriaUsage()
Creates a View Criteria reference to an existing view criteria |
VariableValueManager |
getContextualVariableManager()
For internal use only. |
DefinitionManager |
getDefManager()
|
java.lang.String |
getDefXMLElementTag()
|
java.lang.String |
getDefXMLNameSpace()
|
java.lang.String |
getFullName()
This method returns the Persistence reference of the object. |
java.util.Hashtable |
getLocalAndResourceProperties()
Used by the marshaller to get all the properties and resources (on the server side only) that are defined in this view criteria. |
DefPersistable |
getOrigObject()
|
java.util.ArrayList |
getValidators()
|
protected VariableManager |
getVoVariableManager()
For internal use only. |
java.lang.String |
getXMLElementTag()
Returns a piece of static info for the type of object this is invoked upon. |
void |
initUniqueVCName()
|
boolean |
isNew()
This method returns if this object is previously persisted. |
void |
loadXMLContents(DefElement xmlElement)
|
void |
removeValidator(JboValidatorInterface validator)
|
void |
setNew(boolean b)
This method marks the as previously persisted. |
void |
setOrigObject(DefPersistable oldObj)
|
void |
setTempVariableManagerVC(ViewCriteria vc)
|
void |
validate()
Performs view criteria item required and selectively required validation |
void |
validate(java.util.HashMap whereParams)
Validate the view criteria. |
void |
validateRow(ViewCriteriaRow row,
java.util.HashMap whereParams)
|
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage |
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method |
void |
writeObject(DefWriter jos)
Objects should write their persistence output in this method |
| Methods inherited from class java.util.Vector |
|---|
capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, isEmpty, lastElement, lastIndexOf, lastIndexOf, setSize, size, subList, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.jbo.mom.xml.DefPersistable |
|---|
isDirty, setDirty |
| Methods inherited from interface oracle.jbo.rules.ValidationManager |
|---|
getName, getResourceBundleDef |
| Methods inherited from interface java.util.List |
|---|
iterator, listIterator, listIterator |
| Constructor Detail |
|---|
public ViewCriteriaImpl(DefinitionManager defMgr,
StructureDef structureDef)
public ViewCriteriaImpl(DefinitionManager defMgr,
StructureDef structureDef,
VariableManager voVariableManager)
public ViewCriteriaImpl(DefinitionManager defMgr,
ViewCriteria parent,
java.lang.String structDefFullName)
| Method Detail |
|---|
public void initUniqueVCName()
public void copyFrom(ViewCriteria vc)
ViewCriteria
copyFrom in class ViewCriteriavc - the view criteria that needs to be copiedpublic ViewCriteria createCriteria()
createCriteria in class ViewCriteriaViewCriteria.add(Object) needs
to be invoked to make the returned instance a nested view criteriapublic ViewCriteriaRow createViewCriteriaRow()
ViewCriteria
createViewCriteriaRow in class ViewCriteriaViewCriteriaRow, an array for WHERE clause criteria.ViewCriteriaRowpublic ViewCriteriaUsage createViewCriteriaUsage()
ViewCriteria
createViewCriteriaUsage in class ViewCriteriaViewCriteriaUsaga instance that contains the
the information needed to resolve the view criteriaViewCriteriaUsagepublic DefinitionManager getDefManager()
protected VariableManager getVoVariableManager()
ViewCriteria
getVoVariableManager in class ViewCriteriapublic boolean isNew()
DefPersistable
isNew in interface DefPersistablepublic void setNew(boolean b)
DefPersistable
setNew in interface DefPersistableb - If true the Object is marked as new object.public DefPersistable getOrigObject()
getOrigObject in interface DefPersistablepublic void setOrigObject(DefPersistable oldObj)
setOrigObject in interface DefPersistablepublic java.lang.String getFullName()
DefPersistable
getFullName in interface DefPersistablegetFullName in interface ValidationManagerpublic java.util.Hashtable getLocalAndResourceProperties()
getLocalAndResourceProperties in class ViewCriteriapublic void writeObject(DefWriter jos)
PersistentDefinition
writeObject in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeContents(DefWriter jos)
PersistentDefinition
writeContents in interface PersistentDefinitionjos - the Output storage for persistencepublic void writeChildren(DefWriter jos)
PersistentDefinition
writeChildren in interface PersistentDefinitionjos - the Output storage for persistencepublic void loadXMLContents(DefElement xmlElement)
public java.lang.String getXMLElementTag()
PersistentDefinition
getXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLElementTag()
getDefXMLElementTag in interface PersistentDefinitionpublic java.lang.String getDefXMLNameSpace()
getDefXMLNameSpace in interface PersistentDefinitionpublic void addValidator(JboValidatorInterface validator)
addValidator in interface ValidationManagerpublic void removeValidator(JboValidatorInterface validator)
public java.util.ArrayList getValidators()
getValidators in interface ValidationManagerpublic void validate()
ViewCriteria
validate in class ViewCriteriapublic void validate(java.util.HashMap whereParams)
validate in class ViewCriteriawhereParams - A Map of
public void validateRow(ViewCriteriaRow row,
java.util.HashMap whereParams)
public void setTempVariableManagerVC(ViewCriteria vc)
public VariableValueManager getContextualVariableManager()
ViewCriteria
getContextualVariableManager in class ViewCriteria
|
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 | ||||||||