Paket | com.adobe.solutions.exm.authoring.domain.method |
Gränssnitt | public interface IFunctionProvider extends IEventDispatcher |
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Fires an asynchronous operation for retrieving the list of all available function-families. | IFunctionProvider | ||
Fires an asynchronous operation for retrieving the list of all local functions belonging to the given family. | IFunctionProvider | ||
Fires an asynchronous operation for retrieving the list of all remote functions (services) belonging to the given family. | IFunctionProvider | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
Händelse | Sammanfattning | Definieras med | ||
---|---|---|---|---|
Dispatched when the provider encounters an error retrieving the list of function families. | IFunctionProvider | |||
Dispatched when the provider successfully retrieves the list of available function families. | IFunctionProvider | |||
Dispatched when the provider encounters an error retrieving a list of functions. | IFunctionProvider | |||
Dispatched when the provider successfully retrieves a list of functions. | IFunctionProvider |
listFunctionFamilies | () | metod |
public function listFunctionFamilies():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of all available function-families. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfuly, an event with name "functionFamilyProviderEvent" of type FunctionFamilyProviderEvent. The 'families' property of the event will be a reference to the list of available function families (IFunctionFamily instances).
- If the operation errors out, an event with name "functionFamilyProviderError" of type ErrorEvent. The 'error' property of the event will contain the actual error thrown by the operation.
listLocalFunctions | () | metod |
public function listLocalFunctions(familyId:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of all local functions belonging to the given family. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfuly, an event with name "functionProviderEvent" of type FunctionProviderEvent. The 'functions' property of the event will be a reference to the list of local functions (IFunction instances) belonging to the given family. The 'requestId' property of the event will be the same as the value returned by this method, which is a unique string that calling code can use for correlating calls to this method with events dispatched later.
- If the operation errors out, an event with name "functionProviderError" of type RequestAwareErrorEvent. The 'requestId' property of the event will be the same as the value returned by this method, while the 'error' property will contain the actual error thrown by the operation.
Parametrar
familyId:String — The ID of the family for which local functions are being listed. Can be null, in which
case all local functions will be returned.
|
String — A unique request ID which calling code can use for correlating invocations of this method
with events dispatched later.
|
listServices | () | metod |
public function listServices(familyId:String):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Fires an asynchronous operation for retrieving the list of all remote functions (services) belonging to the given family. Returns immediately and causes the current object to later dispatch one of the following events:
- If the operation completes successfuly, an event with name "functionProviderEvent" of type FunctionProviderEvent. The 'functions' property of the event will be a reference to the list of remote functions (IFunction instances) belonging to the given family. The 'requestId' property of the event will be the same as the value returned by this method, which is a unique string that calling code can use for correlating calls to this method with events dispatched later.
- If the operation errors out, an event with name "functionProviderError" of type RequestAwareErrorEvent. The 'requestId' property of the event will be the same as the value returned by this method, while the 'error' property will contain the actual error thrown by the operation.
Parametrar
familyId:String — The ID of the family for which remote functions are being listed. Can be null, in which
case all remote functions will be returned.
|
String — A unique request ID which calling code can use for correlating invocations of this method
with events dispatched later.
|
functionFamilyProviderError | Händelse |
com.adobe.solutions.exm.authoring.domain.ErrorEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving the list of function families.
functionFamilyProviderEvent | Händelse |
com.adobe.solutions.exm.authoring.domain.method.FunctionFamilyProviderEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves the list of available function families.
functionProviderError | Händelse |
com.adobe.solutions.exm.authoring.domain.RequestAwareErrorEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider encounters an error retrieving a list of functions.
functionProviderEvent | Händelse |
com.adobe.solutions.exm.authoring.domain.method.FunctionProviderEvent
Språkversion: | ActionScript 3.0 |
Produktversion: | Expression Manager Building Block 10 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 10.2 |
Dispatched when the provider successfully retrieves a list of functions.
Tue Jun 12 2018, 01:40 PM Z