Package | ga.util |
Interface | public interface IConnectionService |
Implémenteurs | Wrapper, WrapperHostBase |
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Méthode | Défini par | ||
---|---|---|---|
The connection was closed. | IConnectionService | ||
The connection was made, if success=false, the connection attempt failed
| IConnectionService | ||
Return the form's Active data, either from the Guide or the PDF. | IConnectionService | ||
Return the form's data
| IConnectionService | ||
Return the guides draft data including state information (Data is retrieved from the PDF if PDF is active. | IConnectionService | ||
Returns a field's value as an Object
| IConnectionService | ||
Return the requested property. | IConnectionService | ||
Set the data into the form - returns false if failed. | IConnectionService | ||
Sets a field's value, returns success true or false
| IConnectionService | ||
Set the property, returns false if the operation failed
| IConnectionService | ||
Performs the submit action based on the value of the Submit From
option in the Guide Design perspective within Adobe Digital Enterprise Platform Document Services - Workbench 10.0. | IConnectionService | ||
Submits the data to the server - return true if the submit was performed
- returns false if validations fail
| IConnectionService |
connectionClosed | () | méthode |
public function connectionClosed():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
The connection was closed.
connectionOpened | () | méthode |
public function connectionOpened(success:Boolean):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
The connection was made, if success=false, the connection attempt failed
Paramètres
success:Boolean — the status of the open request
|
getActiveData | () | méthode |
public function getActiveData(callback:Function = null):String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Return the form's Active data, either from the Guide or the PDF. PDF requires a callback.
Paramètres
callback:Function (default = null ) — the function to be called when an asynchronous operation is required to retrieve the data, as when the PDF is active.
|
String — String
|
getData | () | méthode |
getDraftData | () | méthode |
public function getDraftData(callback:Function = null):String
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Return the guides draft data including state information (Data is retrieved from the PDF if PDF is active. PDF requires a callback).
Paramètres
callback:Function (default = null ) — the function to be called when an asynchronous operation is required to retrieve the data, as when the PDF is active.
|
String — String
|
getFieldValue | () | méthode |
public function getFieldValue(som:String):Object
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Returns a field's value as an Object
Paramètres
som:String — the identifier of the field to retrieve the data from. eg. "EntityRoot.Client[1].Address.City" or for xfa - #som("form1.subform[1].Address.City")
|
Object — Object
|
getProperty | () | méthode |
public function getProperty(property:String):Object
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Return the requested property. Sypported properties are: showSubmitButton = "true"|"false"
Paramètres
property:String — the name of the property to retieve a value from
|
Object — Object
|
setData | () | méthode |
public function setData(data:String):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Set the data into the form - returns false if failed. Throws an exception if the data is not valid XML.
Paramètres
data:String — the content to be used as the current data
|
setFieldValue | () | méthode |
public function setFieldValue(som:String, value:Object):Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Sets a field's value, returns success true or false
Paramètres
som:String — the identifier of the field to retrieve the data from. eg. "EntityRoot.Client[1].Address.City" or for xfa - #som("form1.subform[1].Address.City")
| |
value:Object — the value to assign to the targeted item
|
Boolean — Boolean
|
setProperty | () | méthode |
public function setProperty(property:String, value:Object):Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Set the property, returns false if the operation failed
Paramètres
property:String — the name of the property to retieve a value from
| |
value:Object — the value to set the provided property with. Object types must match
|
Boolean — Boolean
|
submitData | () | méthode |
public function submitData():Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Performs the submit action based on the value of the Submit From option in the Guide Design perspective within Adobe Digital Enterprise Platform Document Services - Workbench 10.0. This method returns true if the submission performs successfully.
SubmitFrom option | Behavior |
---|---|
Guide | Submits the Guide data to the Document Server. |
Displays the PDF rendition of the Guide. A user then clicks the appropriate submit button on the PDF form. | |
Printed Form | Displays the PDF rendition of the Guide. A user then prints the PDF and submits the form manually. |
Hosted Application | The submit button does not display on the last panel of the Guide. This option transfer control of the Guide submission to the hosting application. In this case, a user clicks a button within the hosting application, for example the Complete button within Adobe Digital Enterprise Platform Document Services - Workspace 10.0, to submit the Guide data. |
Boolean — Boolean
|
submitDataWithCB | () | méthode |
public function submitDataWithCB(callback:Function):Boolean
Version du langage: | ActionScript 3.0 |
Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 SP2 |
Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Submits the data to the server - return true if the submit was performed - returns false if validations fail
Paramètres
callback:Function — the function to be called when the submit is an asynchronous operation (default)
|
Boolean — Boolean
|
Tue Jun 12 2018, 09:30 AM Z