ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.data.mxml 

ManagedRemoteService  - AS3 ADEP Data Services

Packagemx.data.mxml
Classpublic dynamic class ManagedRemoteService
InheritanceManagedRemoteService Inheritance ManagedRemoteService Inheritance AbstractService Inheritance Proxy
Implements IMXMLObject

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Runtime Versions: Flash Player 10.1, AIR 2.0

The ManagedRemoteService class provides the top-level client-side functionality for the ADEP Data Services Managed Remoting. This is an MXML-specific subclass of mx.data.ManagedRemoteService that allows binding to the properties of a ManagedRemoteService instance.

Note: The destination property must be set before using a ManagedRemoteService object.

MXML SyntaxexpandedHide MXML Syntax

The <mx:ManagedRemoteService> tag accepts the following tag attributes:

  <mx:ManagedRemoteService
   Properties
   id="No default."
   destination="No default."
   channelSet=No default"
   concurrency="multiple"
   convertParametersHandler="No Default"
   convertResultHandler="No Default"
   requestTimeout="-1"
   showBusyCursor="false"
   throwItemPendingErrors="true"
   verifyEntityClasses="true"
 
   Events
   conflict="No default."
   fault="No default."
   invoke="No default."
   message="No default."
   result="No default."
 />
 

Related API Elements



Public Properties
 PropertyDefined By
 InheritedchannelSet : ChannelSet
Provides access to the ChannelSet used by the service.
AbstractService
 Inheritedconcurrency : String
Value that indicates how to handle multiple calls to the same service.
ManagedRemoteService
 InheritedconvertParametersHandler : Function
An optional function, primarily intended for framework developers who need to install a function to get called with the parameters passed to each remote object invocation.
ManagedRemoteService
 InheritedconvertResultHandler : Function
An optional function, primarily intended for framework developers who need to install a hook to process the results of an operation before notifying the result handlers.
ManagedRemoteService
 Inheriteddestination : String
[override] Provides access to the destination for the MessageAgent.
ManagedRemoteService
 Inheritedmanagers : Array
[override] Not supportted by Managed Remoting.
ManagedRemoteService
 Inheritedoperations : Object
The Operations array is usually only set by the MXML compiler if you create a service using an MXML tag.
AbstractService
 InheritedrequestTimeout : int
Provides access to the request timeout in seconds for sent messages.
AbstractService
 InheritedshowBusyCursor : Boolean
If true, a busy cursor is displayed while a service is executing.
ManagedRemoteService
 InheritedthrowItemPendingErrors : Boolean
Set this property to false if you want to suppress item pending errors when lazily fetched or unpaged data is accessed.
ManagedRemoteService
 InheritedverifyEntityClasses : Boolean
If true, verify that all managed entities are present.
ManagedRemoteService
Public Methods
 MethodDefined By
  
Constructs an instance of the ManagedRemoteService with the specified destination.
ManagedRemoteService
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[override] Add an event listener to the service.
ManagedRemoteService
 Inherited
Indicates if there are pending changes for this particular object.
ManagedRemoteService
 Inherited
Disconnects the service's network connection and removes any pending request responders.
AbstractService
 Inherited
[override] Returns an Operation of the given name.
ManagedRemoteService
 Inherited
Called to initialize the service.
AbstractService
 Inherited
Force initialization of the Managed Remote Service.
ManagedRemoteService
 Inherited
[override] Log the user out of the destination for the service and releases all managed collections and items.
ManagedRemoteService
 Inherited
releaseCollection(view:ListCollectionView, clear:Boolean = false, copyStillManagedItems:Boolean = true):void
Releases the specified collection from management by the underlying DataService.
ManagedRemoteService
 Inherited
releaseItem(item:IManaged, dontClearStillManagedItems:Boolean = true, copyStillManagedItems:Boolean = true):IManaged
Releases the specified item from management by the underlying DataService.
ManagedRemoteService
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[override] Remove specified listener from the service.
ManagedRemoteService
 Inherited
This will undo any changes to the specified item and remove those changes from the cache.
ManagedRemoteService
 Inherited
setCredentials(username:String, password:String, charset:String = null):void
[override] Sets the credentials for the destination accessed by the service when using Managed Remoting on the server side.
ManagedRemoteService
 Inherited
setPageSizeForOperation(operationName:String, pageSize:int):void
Set the pageSize for the specified named operation.
ManagedRemoteService
 Inherited
setRemoteCredentials(remoteUsername:String, remotePassword:String, charset:String = null):void
[override] Sets the credentials for the third party of this Managed Remoting destination.
ManagedRemoteService
 Inherited
Represents an instance of MangedRemoteService as a String, describing important properties such as the destination id and the set of channels assigned.
ManagedRemoteService
Events
 Event Summary Defined By
 InheritedThe DataConflictEvent.CONFLICT event is dispatched when a conflict is detected between pending local changes and changes submitted by another client, or when changes submitted by this client conflict with those in the remote destination.ManagedRemoteService
 InheritedThe DataServiceFaultEvent.FAULT event is dispatched when a service call fails due to an error.ManagedRemoteService
 InheritedThe invoke event is dispatched when a service Operation is invoked so long as an Error is not thrown before the Channel attempts to send the message.AbstractService
 InheritedThe MessageEvent.MESSAGE event is dispatched when the remote destination pushes a notification of a data operation.ManagedRemoteService
 InheritedThe ResultEvent.RESULT event is dispatched when a service call successfully returns.ManagedRemoteService
Constructor Detail

ManagedRemoteService

()Constructor
public function ManagedRemoteService(dest:String = null)

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Data Services for Java EE 4.5
Runtime Versions: Flash Player 10.1, AIR 2.0

Constructs an instance of the ManagedRemoteService with the specified destination. The destination must be a reference to a destination configured in the services-config.xml file.

Parameters
dest:String (default = null) — String that contains the name of the remote destination this service will connect to.