|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
flex.messaging.services.ServiceAdapter
flex.data.adapters.JavaAdapter
flex.data.adapters.ASObjectAdapter
public class ASObjectAdapter
Adapter for managing transient in-memory ASObjects that are created and consumed only by Flash clients. This adapter provides no backing store.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class flex.data.adapters.JavaAdapter |
|---|
JavaAdapter.FillMethod, JavaAdapter.GetMethod, JavaAdapter.QueryMethod |
| Field Summary |
|---|
| Fields inherited from class flex.data.adapters.JavaAdapter |
|---|
LOG_CATEGORY |
| Fields inherited from interface flex.data.adapters.JavaAdapterConstants |
|---|
AUTO_REFRESH_ELEMENT, CONFLICT_MODE_DEFAULT, CONFLICT_MODE_DELETE_ATTR, CONFLICT_MODE_UPDATE_ATTR, COUNT_ELEMENT, FILL_CONTAINS_METHOD_ELEMENT, FILL_ELEMENT, GET_ELEMENT, METHOD_NAME_ELEMENT, ORDERED_ELEMENT, PARAM_TYPES_ELEMENT, SECURITY_CONSTRAINT_ELEMENT, SECURITY_REF_ATTR, SECURITY_RUN_AS_ELEMENT, SYNC_ELEMENT |
| Constructor Summary | |
|---|---|
ASObjectAdapter()
Constructs an unmanaged ASObjectAdapter. |
|
ASObjectAdapter(boolean enableManagement)
Constructs an ASObjectAdapter with the indicated management. |
|
| Method Summary | |
|---|---|
boolean |
fillNeedsAutoRefresh(Object args)
All ASObject queries need to be auto refreshed |
Object |
getAdapterState()
Return an object, usually a Collection, representing any shared state for the adapter. |
String |
getDeleteConflictMode()
Returns the delete-conflict-mode property of the ASObjectAdapter. |
String |
getUpdateConflictMode()
Returns the update-conflict-mode property of the ASObjectAdapter. |
void |
initialize(String id,
ConfigMap properties)
Initializes the JavaAdapter with the properties. |
void |
setAdapterState(Object adapterState)
Set an object, usually a Collection, to represent shared state for the adapter. |
void |
setDeleteConflictMode(String deleteConflictModeString)
Sets the delete-conflict-mode property of the ASObjectAdapter. |
void |
setUpdateConflictMode(String updateConflictModeString)
Sets the update-conflict-mode property of the ASObjectAdapter. |
void |
start()
Starts the adapter. |
| Methods inherited from class flex.data.adapters.JavaAdapter |
|---|
addCountMethod, addCountMethod, addFillMethod, addFillMethod, addFillMethod, allowSend, allowSubscribe, getCountMethods, getFillMethods, getGetMethod, getSecurityConstraintManager, getSyncMethod, invoke, setDestination, setGetMethod, setSecurityConstraintManager, setSyncMethod, stop |
| Methods inherited from class flex.messaging.services.ServiceAdapter |
|---|
getDestination, handlesSubscriptions, manage |
| Methods inherited from class flex.management.ManageableComponent |
|---|
getControl, getId, getParent, isManaged, isStarted, isValid, setControl, setId, setManaged, setParent |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASObjectAdapter()
ASObjectAdapter.
public ASObjectAdapter(boolean enableManagement)
ASObjectAdapter with the indicated management.
enableManagement - true if the AsObjecttAdapter
is manageable; otherwise false.| Method Detail |
|---|
public void initialize(String id,
ConfigMap properties)
JavaAdapterJavaAdapter with the properties.
initialize in interface FlexConfigurableinitialize in class JavaAdapterid - Id of the ManageableComponent.properties - Properties for the JavaAdapter.public void start()
JavaAdapter
start in interface FlexComponentstart in class JavaAdapterpublic String getDeleteConflictMode()
delete-conflict-mode property of the ASObjectAdapter.
delete-conflict-mode property of the ASObjectAdapter.public void setDeleteConflictMode(String deleteConflictModeString)
delete-conflict-mode property of the ASObjectAdapter.
Conflict modes determine whether to check for conflicts at all and if so
whether to check on changed properties only or whether to verify that the
client had correct data for the entire object. Valid values for
delete-conflict-mode are NONE and OBJECT.
deleteConflictModeString - public String getUpdateConflictMode()
update-conflict-mode property of the ASObjectAdapter.
update-conflict-mode property of the ASObjectAdapter.public void setUpdateConflictMode(String updateConflictModeString)
update-conflict-mode property of the ASObjectAdapter.
Conflict modes determine whether to check for conflicts at all and if so
whether to check on changed properties only or whether to verify that the
client had correct data for the entire object. Valid values for
update-conflict-mode are NONE, PROPERTY,
and OBJECT.
deleteConflictModeString - public Object getAdapterState()
ServiceAdapter
getAdapterState in class ServiceAdapterpublic void setAdapterState(Object adapterState)
ServiceAdapter
setAdapterState in class ServiceAdapterpublic boolean fillNeedsAutoRefresh(Object args)
fillNeedsAutoRefresh in class JavaAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/data/adapters/ASObjectAdapter.html