|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.eclipse.persistence.sdo.DefaultValueStore
oracle.jbo.common.sdo.SDOValueStore
public class SDOValueStore
Nested Class Summary | |
---|---|
class |
SDOValueStore.RowSetList Wrapper class for RowSet attribute (1toM property) |
Field Summary | |
---|---|
static long |
SERVICE_MONITOR_SLEEP_INTERVAL the default sleep interval for the service monitor thread to sleep. |
static long |
SERVICE_SESSION_INACTIVE_AGE constant the default age (in miliseconds) for a service session to be considered inactive. |
Constructor Summary | |
---|---|
SDOValueStore(Row viewrow, commonj.sdo.DataObject dataobject) constructor |
|
SDOValueStore(Row viewrow, commonj.sdo.DataObject dataobject, FindCriteria findCriteria) constructor |
Method Summary | |
---|---|
static boolean |
afterCompletion(java.lang.String transactionId) internal use during transaction synchronization's afterCompletion(); It will set serviceScope flag to false for all SDOValueStore of the transaction |
void |
deepLoad() |
void |
deepLoad(boolean afterPostChanges) method to load all children and grandchildren. |
static void |
deepLoad(org.eclipse.persistence.sdo.SDODataObject sdoObject, boolean afterPostChanges) Helper method to materizlize the whole dataobject tree. |
boolean |
equals(java.lang.Object obj) |
protected void |
finalize() called by GC. |
java.lang.Object |
getDeclaredProperty(int propertyIndex) SDO ValueStore interface |
java.lang.String |
getReturnMode() |
Row |
getRowValue() Get the row value |
ViewAttributeDefImpl |
getViewAttributeDef(java.lang.String propertyName) |
boolean |
isDeepLoaded() method to indicate if this SDOValueStore is deeploaded or not. |
boolean |
isDirty() the dirty flag (meaning the row value is detached from DBTransaction and there are updated properties) |
boolean |
isDisconnectMode() |
boolean |
isInitialState() getter method for initialState property |
boolean |
isReadOnlyProperty(commonj.sdo.Property property) Check if the property is a readonly property |
boolean |
isRowFinderAttributeNonUpdatable(commonj.sdo.Property property) Check if the property is a readonly property due to a non-updatable rowfinder attribute |
boolean |
isServiceScope() |
boolean |
isSetDeclaredProperty(int propertyIndex) SDO ValueStore interface isSet() method implementation |
boolean |
isToExpandAllChildren() |
boolean |
isToNavigateManyChild() |
void |
leaveService() called during afterCompletion() to clean up service scope related flags. |
void |
navigated(NavigationEvent event) Invoked when the current-row designation changes. |
void |
postProcess(commonj.sdo.Property property, java.lang.Object propertyValue, commonj.sdo.DataObject dataObject) |
boolean |
propertyValueComeFromViewRowImpl(commonj.sdo.Property property) Check whether a property value is different from the attribute value from the ViewRowImpl or not. |
void |
rangeRefreshed(RangeRefreshEvent event) Invoked when the range changes. |
void |
rangeScrolled(ScrollEvent event) Invoked when the range is scrolled. |
static void |
recordSDOValueStore(java.lang.String sessionId, SDOValueStore store) add the SDOValueStore into sSDOValueStoreMap. |
static void |
recycleSession() recycle all inactive service sessions. |
static void |
refershAfterPostChanges(java.lang.String transactionId) deepload after postchanges() |
protected void |
refreshDataProperties() |
protected static void |
refreshDataProperties(org.eclipse.persistence.sdo.SDODataObject dataobject) retrieve scalar attribute values from viewrow and convert them to sdo property values |
void |
refreshRefreshableAttributes() refresh the refreshable attributes from the view row. |
static void |
registerADFConfig(oracle.adf.share.ADFConfig adfConfig) static weak referenced map to figure out all running applications within the same VM. |
void |
reJoinService(ServiceCookieHandler newCookieHandler, ApplicationModule appModule) Helper method to set SDOValueStore's appModel and cookieHandler matching current service's. |
static void |
releaseSDOValueStore(commonj.sdo.DataObject source) |
static void |
releaseSDOValueStore(java.lang.String sessionId, SDOValueStore store) |
static void |
requestRefreshAttribute(java.lang.String sessionId, SDOValueStore store) Add the source sdovaluestore to the request list that needs to refresh refreshable attributes at the end of transaction. |
void |
rowDeleted(DeleteEvent event) Invoked when a row has been deleted. |
void |
rowInserted(InsertEvent event) Invoked when a row has been inserted. |
void |
rowUpdated(UpdateEvent event) Invoked when an attribute of the row has been changed. |
void |
setDataTypeProperties(java.util.List<java.lang.String> propertyNameList, java.util.List propertyValues) Set attribute values by calling viewrow.setAttributeValues() |
void |
setDeclaredProperty(int propertyIndex, java.lang.Object value) SDO ValueStore public interface setDeclaredProperty() method implemenation |
void |
setDeclaredProperty(commonj.sdo.Property property, java.lang.Object value, boolean ignoreValueStore) |
void |
setDisconnectMode(boolean newdisconnectMode) accessors for disconnectMode |
void |
setFindCriteria(FindCriteria findCriteria) |
void |
setInitialState(boolean newinitialState) setter method for initialState property |
void |
setQueryParamValues(java.lang.Object[] paramValues) |
void |
setReturnMode(java.lang.String returnMode) |
void |
setServiceScope(boolean newserviceScope) setter method for service scope flag. |
void |
setToExpandAllChildren(boolean expand) |
void |
setToNavigateManyChild(boolean toNavigateManyChild) |
void |
setTypePropertyValues(java.lang.Object[] typePropertyValues) ValueStore public interface implementation |
protected static boolean |
unremovableSessionCookie(java.lang.String sessionId) record how many applications that this SessionCookie already is not a valid SessionCookie. |
void |
unsetDeclaredProperty(int propertyIndex) ValueStore public interface implementation |
Methods inherited from class org.eclipse.persistence.sdo.DefaultValueStore |
---|
copy, getOpenContentProperty, getOpenContentValues, getTypePropertiesIsSetStatus, getTypePropertyValues, initialize, isSetOpenContentProperty, setManyProperty, setOpenContentProperty, setOpenContentValues, setTypePropertiesIsSetStatus, unsetOpenContentProperty |
Methods inherited from class java.lang.Object |
---|
clone, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long SERVICE_SESSION_INACTIVE_AGE
public static final long SERVICE_MONITOR_SLEEP_INTERVAL
Constructor Detail |
---|
public SDOValueStore(Row viewrow, commonj.sdo.DataObject dataobject)
viewrow
- Row instance that SDOValueStore bases ondataobject
- SDODataObjectpublic SDOValueStore(Row viewrow, commonj.sdo.DataObject dataobject, FindCriteria findCriteria)
viewrow
-dataobject
-findCriteria
- FindCriteriaMethod Detail |
---|
public void deepLoad()
public void deepLoad(boolean afterPostChanges)
public static void deepLoad(org.eclipse.persistence.sdo.SDODataObject sdoObject, boolean afterPostChanges)
sdoObject
- materialized dataobject.afterPostChanges
- indicates whether deeploading occurs after postChangespublic boolean isDeepLoaded()
public void setQueryParamValues(java.lang.Object[] paramValues)
protected static void refreshDataProperties(org.eclipse.persistence.sdo.SDODataObject dataobject)
protected void refreshDataProperties()
public void refreshRefreshableAttributes()
public static void recordSDOValueStore(java.lang.String sessionId, SDOValueStore store)
sessionId
- JTA transaction id, it is also the service session idstore
- the SDOValueStorepublic static void releaseSDOValueStore(java.lang.String sessionId, SDOValueStore store)
public static void releaseSDOValueStore(commonj.sdo.DataObject source)
public static void requestRefreshAttribute(java.lang.String sessionId, SDOValueStore store)
sessionId
- transaction idstore
- sdo valuestorepublic void leaveService()
public static void registerADFConfig(oracle.adf.share.ADFConfig adfConfig)
protected static boolean unremovableSessionCookie(java.lang.String sessionId)
public static void recycleSession()
public static void refershAfterPostChanges(java.lang.String transactionId)
public static boolean afterCompletion(java.lang.String transactionId)
transactionId
-public void setFindCriteria(FindCriteria findCriteria)
public Row getRowValue()
public ViewAttributeDefImpl getViewAttributeDef(java.lang.String propertyName)
public boolean isDirty()
public java.lang.Object getDeclaredProperty(int propertyIndex)
getDeclaredProperty
in interface org.eclipse.persistence.sdo.ValueStore
getDeclaredProperty
in class org.eclipse.persistence.sdo.DefaultValueStore
propertyIndex
-public void setDeclaredProperty(int propertyIndex, java.lang.Object value)
setDeclaredProperty
in interface org.eclipse.persistence.sdo.ValueStore
setDeclaredProperty
in class org.eclipse.persistence.sdo.DefaultValueStore
propertyIndex
-value
-public void setDeclaredProperty(commonj.sdo.Property property, java.lang.Object value, boolean ignoreValueStore)
public boolean isSetDeclaredProperty(int propertyIndex)
isSetDeclaredProperty
in interface org.eclipse.persistence.sdo.ValueStore
isSetDeclaredProperty
in class org.eclipse.persistence.sdo.DefaultValueStore
propertyIndex
-public void unsetDeclaredProperty(int propertyIndex)
unsetDeclaredProperty
in interface org.eclipse.persistence.sdo.ValueStore
unsetDeclaredProperty
in class org.eclipse.persistence.sdo.DefaultValueStore
propertyIndex
-public void setTypePropertyValues(java.lang.Object[] typePropertyValues)
setTypePropertyValues
in class org.eclipse.persistence.sdo.DefaultValueStore
typePropertyValues
-protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public void reJoinService(ServiceCookieHandler newCookieHandler, ApplicationModule appModule)
newCookieHandler
- current service cookie handlerappModule
- the current new application modulepublic boolean isReadOnlyProperty(commonj.sdo.Property property)
property
-true
if it is a readonly property. Otherwise, false
public boolean isRowFinderAttributeNonUpdatable(commonj.sdo.Property property)
property
-true
if it is a non-updatable row-finder property. Otherwise, false
public boolean propertyValueComeFromViewRowImpl(commonj.sdo.Property property)
property
-true
if the property value is the same as the attribute value of the ViewRowImpl. Otherwise, false
public void setDataTypeProperties(java.util.List<java.lang.String> propertyNameList, java.util.List propertyValues)
propertyStringList
- List of String types that contains the names of target propertiespropertyValues
- the values of the properties to set to.public void setInitialState(boolean newinitialState)
public boolean isInitialState()
public void setDisconnectMode(boolean newdisconnectMode)
public boolean isDisconnectMode()
public void setServiceScope(boolean newserviceScope)
newserviceScope
- the new value of service scope flag: true/falsepublic boolean isServiceScope()
public boolean equals(java.lang.Object obj)
equals
in class org.eclipse.persistence.sdo.DefaultValueStore
public void rangeRefreshed(RangeRefreshEvent event)
RowSetListener
rangeRefreshed
in interface RowSetListener
event
- a description of the new ranges.public void rangeScrolled(ScrollEvent event)
RowSetListener
rangeScrolled
in interface RowSetListener
event
- a description of the new range.public void rowInserted(InsertEvent event)
RowSetListener
rowInserted
in interface RowSetListener
event
- a description of the new Row object.public void rowDeleted(DeleteEvent event)
RowSetListener
rowDeleted
in interface RowSetListener
event
- a description of the deleted Row object.public void rowUpdated(UpdateEvent event)
RowSetListener
rowUpdated
in interface RowSetListener
event
- a description of the modified Row object.public void postProcess(commonj.sdo.Property property, java.lang.Object propertyValue, commonj.sdo.DataObject dataObject)
public void navigated(NavigationEvent event)
RowSetListener
navigated
in interface RowNavigationListener
navigated
in interface RowSetListener
event
- a description of the new and previous current rows.public void setToExpandAllChildren(boolean expand)
public boolean isToExpandAllChildren()
public void setToNavigateManyChild(boolean toNavigateManyChild)
public boolean isToNavigateManyChild()
public void setReturnMode(java.lang.String returnMode)
public java.lang.String getReturnMode()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |