Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
coldfusion.service 

BasicService  - AS3 CF

Packagecoldfusion.service
Classepublic class BasicService
HéritageBasicService Inheritance InternalConfig Inheritance Object
Implémente IEventDispatcher, IMXMLObject
Sous-classes Chart, Document, Image, Ldap, Mail, Pdf, Pop

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

The base class for all the proxy classes that interact with the different ColdFusion services, such as, image or pdf.



Propriétés publiques
 PropriétéDéfini par
  action : String
Action string for the service.
BasicService
 InheritedcfContextRoot : String
Context root of the ColdFusion server.
InternalConfig
 InheritedcfPort : int
Port where the ColdFusion server is running.
InternalConfig
 InheritedcfServer : String
Name or IP address of the ColdFusion server.
InternalConfig
 Inheritedconstructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet.
Object
 Inheriteddestination : String
Specifies the destination for the remoting call.
InternalConfig
 InheritedsecureHttp : Boolean
Boolean value that specifies if secure HTTP is used: yes: uses secure HTTP no: does not use secure HTTP
InternalConfig
 InheritedservicePassword : String
Password to access ColdFusion services.
InternalConfig
 InheritedserviceUserName : String
Username to access ColdFusion services.
InternalConfig
Méthodes publiques
 MéthodeDéfini par
  
The constructor that accepts the source CFC on the ColdFusion-side of the service.
BasicService
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
BasicService
  
Dispatches an event into the event flow.
BasicService
  
Returns the RemoteObject instance used by the proxy classes to make the remote object call.
BasicService
  
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
BasicService
 Inherited
Indique si la propriété spécifiée d’un objet est définie.
Object
 Inherited
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre.
Object
 Inherited
Indique si la propriété spécifiée existe et est énumérable.
Object
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
BasicService
 Inherited
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle.
Object
 Inherited
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur.
Object
 Inherited
Renvoie la représentation sous forme de chaîne de l’objet spécifié.
Object
 Inherited
Renvoie la valeur primitive de l’objet spécifié.
Object
  
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
BasicService
Evénements
 Evénement Synthèse Défini par
  Dispatched when a ColdFusion service call fails.BasicService
  Dispatched when a ColdFusion service call returns successfully.BasicService
Détails de la propriété

action

propriété
public var action:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Action string for the service.

Détails du constructeur

BasicService

()Constructeur
public function BasicService(source:String)

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

The constructor that accepts the source CFC on the ColdFusion-side of the service.

Paramètres
source:String
Détails de la méthode

addEventListener

()méthode
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.

Paramètres

type:String — The type of event.
 
listener:Function — The listener function that processes the event.
 
useCapture:Boolean (default = false) — Determines whether the listener works in the capture phase or the target and bubbling phases:
  • If useCapture is set to true, the listener processes the event only during the capture phase and not in the target or bubbling phase.
  • If useCapture is false, the listener processes the event only during the target or bubbling phase.
 
priority:int (default = 0) — The priority level of the event listener. The priority is designated by a signed 32-bit integer.
 
useWeakReference:Boolean (default = false) — Determines whether the reference to the listener is strong or weak.

dispatchEvent

()méthode 
public function dispatchEvent(evt:Event):Boolean

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Dispatches an event into the event flow.

Paramètres

evt:Event — The Event object that is dispatched into the event flow. If the event is being redispatched, a clone of the event is created automatically.

Valeur renvoyée
Boolean — A value of true if the event was successfully dispatched. A value of false indicates failure or that preventDefault() was called on the event.

getRemoteObject

()méthode 
public function getRemoteObject():RemoteObject

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Returns the RemoteObject instance used by the proxy classes to make the remote object call.

Valeur renvoyée
RemoteObject

hasEventListener

()méthode 
public function hasEventListener(type:String):Boolean

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Checks whether the EventDispatcher object has any listeners registered for a specific type of event. This allows you to determine where an EventDispatcher object has altered handling of an event type in the event flow hierarchy. To determine whether a specific event type actually triggers an event listener, use willTrigger().

Paramètres

type:String — The type of event.

Valeur renvoyée
Boolean — A value of true if a listener of the specified type is registered; false otherwise.

removeEventListener

()méthode 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Removes a listener from the EventDispatcher object.

Paramètres

type:String — The type of event.
 
listener:Function — The listener object to remove.
 
useCapture:Boolean (default = false) — Specifies whether the listener was registered for the capture phase or the target and bubbling phases.

willTrigger

()méthode 
public function willTrigger(type:String):Boolean

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.

Paramètres

type:String — The type of event.

Valeur renvoyée
Boolean — A value of true if a listener of the specified type will be triggered; false otherwise.
Détails de l’événement

fault

Evénement
Type d’objet d’événement: coldfusion.service.events.ColdFusionServiceFaultEvent
propriété ColdFusionServiceFaultEvent.type = coldfusion.service.events.ColdFusionServiceFaultEvent.FAULT

Dispatched when a ColdFusion service call fails.

Defines the value of the Type property of a ColdFusionServiceFaultEvent object.

result

Evénement  
Type d’objet d’événement: coldfusion.service.events.ColdFusionServiceResultEvent
propriété ColdFusionServiceResultEvent.type = coldfusion.service.events.ColdFusionServiceResultEvent.RESULT

Dispatched when a ColdFusion service call returns successfully.

The RESULT event type.




[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.