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...
com.adobe.icc.services.layout 

ILayoutService  - AS3 Asset Composer

Packagecom.adobe.icc.services.layout
Interfacepublic interface ILayoutService extends IEventDispatcher

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Defines a service for Layout (a.k.a. Form) management.



Méthodes publiques
 MéthodeDéfini par
  
activateForm(formId:String, updateDependencies:Boolean = false):com.adobe.icc.token:IAsyncToken
Activates a form template
ILayoutService
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement.
IEventDispatcher
  
Creates a copy of an existing form.
ILayoutService
  
Creates a new form template record
ILayoutService
  
For creating a test version of a form template.
ILayoutService
  
Allows deleting of a form.
ILayoutService
 Inherited
Distribue un événement dans le flux d’événements.
IEventDispatcher
  
Determines if the specified form exists.
ILayoutService
  
Returns a list of available form templates.
ILayoutService
  
Retrieves a list of letters that are dependent on the specified form (i.e.
ILayoutService
  
Retrieves a form given its unique identifier.
ILayoutService
  
Retrieves a form given its unique identifier and date on which the form was published.
ILayoutService
 Inherited
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement.
IEventDispatcher
  
Mark as ready to publish the Layout identified by the given formID.
ILayoutService
  
Publish the Layout identified by the given formID.
ILayoutService
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Supprime un écouteur de l’objet EventDispatcher.
IEventDispatcher
  
Revert the Layout identified by the given formID.
ILayoutService
  
Allows updating a form template with state test
ILayoutService
 Inherited
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié.
IEventDispatcher
Détails de la méthode

activateForm

()méthode
public function activateForm(formId:String, updateDependencies:Boolean = false):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Activates a form template

Paramètres

formId:String — The ID (GUID) of the form to activate
 
updateDependencies:Boolean (default = false) — Whether to replace/use this new activated version in the dependencies

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — the updated Form

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

copyForm

()méthode 
public function copyForm(oldFormID:String, newForm:Form):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Creates a copy of an existing form.

Paramètres

oldFormID:String — Identifier of the Form to be copied
 
newForm:Form — may optionally specify a new test data file but original XDP form cannot be altered

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — New form object (the copy).

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

createForm

()méthode 
public function createForm(form:Form):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Creates a new form template record

Paramètres

form:Form — New form object

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — The new Form object

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

createTestForm

()méthode 
public function createTestForm(formID:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

For creating a test version of a form template.

Paramètres

formID:String — The ID (GUID) of an existing Form to duplicate as a test version

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — The new Form object

Valeur émise
Error
 
Error
 
Error
 
Error

deleteForm

()méthode 
public function deleteForm(formId:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Allows deleting of a form. If the form referenced by formId has the state test it is physically deleted otherwise if the state is active it is being set to state archive.

Paramètres

formId:String — The ID (GUID) of the form to delete

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — Return without any value if delete was successful

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

formExists

()méthode 
public function formExists(name:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Determines if the specified form exists.

Paramètres

name:String — Version-independent name of the form.

Valeur renvoyée
com.adobe.icc.token:IAsyncTokenBoolean which is true if the form exists; false if not.

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

getAllForms

()méthode 
public function getAllForms(query:Query = null):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Returns a list of available form templates.

Paramètres

query:Query (default = null) — Query specifying the statements for filtering search results.

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — An ArrayCollection containing Form objects

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

getDependentLetters

()méthode 
public function getDependentLetters(formId:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a list of letters that are dependent on the specified form (i.e. that use the specified form as their layout).

Paramètres

formId:String — The unique identifer of the form whose dependent letters are sought.

Valeur renvoyée
com.adobe.icc.token:IAsyncTokenArrayCollection of Letter objects that are dependent on the specified form.

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

getForm

()méthode 
public function getForm(formId:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a form given its unique identifier.

Paramètres

formId:String — The unique identifier of the form to retrieve (i.e. it's GUID).

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — The result event's result data will be a Form object for the specified form, if the ID was valid.

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

getFormByVersion

()méthode 
public function getFormByVersion(formId:String, date:Date):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

Retrieves a form given its unique identifier and date on which the form was published.

Paramètres

formId:String — The unique identifier of the form to retrieve (i.e. it's GUID).
 
date:Date — The date on which the letter was published.

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — The result event's result data will be a Form object for the specified form, if the ID was valid.

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

markReadyToPublish

()méthode 
public function markReadyToPublish(formId:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

Mark as ready to publish the Layout identified by the given formID.

Paramètres

formId:String — Id of the Form

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — Form object marked for publish

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

publishForm

()méthode 
public function publishForm(formId:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

Publish the Layout identified by the given formID.

Paramètres

formId:String — Id of the Form

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — Published Form object

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

revertToLastPublish

()méthode 
public function revertToLastPublish(formId:String):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 10
Versions du moteur d’exécution: AIR (unsupported), Flash Player 10.2

Revert the Layout identified by the given formID.

Paramètres

formId:String — Id of the Form

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — Reverted Form object

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.

updateForm

()méthode 
public function updateForm(form:Form):com.adobe.icc.token:IAsyncToken

Version du langage: ActionScript 3.0
Version du produit: Bloc de création Asset Composer 9.5
Versions du moteur d’exécution: AIR (unsupported), Flash Player 9, Flash Player 10

Allows updating a form template with state test

Paramètres

form:Form — Updated form object

Valeur renvoyée
com.adobe.icc.token:IAsyncToken — Updated form object

Valeur émise
Error — Throws ICCException with the appropriate error message and error code, if there was an error processing the request on the server.




[ 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.