ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.livecycle.rca.service 

ServiceDelegate  - AS3 Review, Commenting, and Approval

Packagecom.adobe.livecycle.rca.service
Classpublic class ServiceDelegate
InheritanceServiceDelegate Inheritance Object
Subclasses CombineMultipleDocuments, ReviewCommentingAndApprovalService, ReviewCommentingAndApprovalUtil
Deprecated since Review, Commenting, and Approval 10New Review, Commenting, and Approval APIs do not use a service delegates.

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Base class for all service delegate classes.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Protected Properties
 PropertyDefined By
  className : String
[read-only] Retrieves the class name of the service.
ServiceDelegate
Public Methods
 MethodDefined By
  
Constructor.
ServiceDelegate
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Protected Methods
 MethodDefined By
  
Retrieves a DefaultResponder for the given token.
ServiceDelegate
  
Default fault handler for the asynchronous operation.
ServiceDelegate
  
Default result handler for the asynchronous operation.
ServiceDelegate
Property Detail

className

property
className:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Retrieves the class name of the service.



Implementation
    protected function get className():String
Constructor Detail

ServiceDelegate

()Constructor
public function ServiceDelegate()

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Constructor.

Method Detail

getDefaultResponder

()method
protected function getDefaultResponder(token:com.adobe.livecycle.rca.token:RCAToken):DefaultResponder

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Retrieves a DefaultResponder for the given token. If it is successful, the success handlers for the token are called. If it fails, the fault handlers are called.

Parameters

token:com.adobe.livecycle.rca.token:RCAToken — The token to get a responder for.

Returns
DefaultResponder — A responder for the specified token's success and fault handlers.

handleFaultEvent

()method 
protected function handleFaultEvent(token:com.adobe.livecycle.rca.token:RCAToken, event:FaultEvent):void

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Default fault handler for the asynchronous operation. Calls all of the token's fault handlers with the given event.

Parameters

token:com.adobe.livecycle.rca.token:RCAToken — The token associated with the operation.
 
event:FaultEvent — The result of the operation. That is, the fault.

handleResultEvent

()method 
protected function handleResultEvent(token:com.adobe.livecycle.rca.token:RCAToken, event:ResultEvent):void

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Default result handler for the asynchronous operation. Calls all of the token's success handlers using the given event.

Parameters

token:com.adobe.livecycle.rca.token:RCAToken — The token associated with the operation.
 
event:ResultEvent — The result of the operation.