Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
com.adobe.dct.service 

DataDictionaryUtilService  - AS3 Data Dictionary

Pacchettocom.adobe.dct.service
Interfacciapublic interface DataDictionaryUtilService

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

The interface for DataDictionaryUtilService



Metodi pubblici
 MetodoDefinito da
  
createDDInstanceFromXml(dataDictionaryName:String, xml:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Creates the data dictionary instance(DDI)corresponding to a Data Dictionary using an input XML.
DataDictionaryUtilService
  
exportDataDictionaryAsFML(dataDictionaryId:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Exports a data dictionary into a fiber model which can be imported back to obtain the data dictionary.
DataDictionaryUtilService
  
getDataDictionaryFromFML(dataDictionaryName:String, fml:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Obsoleto da LCDCT 10: Da utilizzare getDataDictionaryFromFML2
Generates a data dictionary from the input fiber model
DataDictionaryUtilService
  
getDataDictionaryFromFML2(dataDictionaryName:String, fml:String, entityName:String, serviceName:String, operationName:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Generates a data dictionary from the input fiber model
DataDictionaryUtilService
  
getDataDictionaryFromXSD(dataDictionaryName:String, xmlSchema:String, elementName:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Generates a data dictionary from the passed XML Schema
DataDictionaryUtilService
  
getDDIFromRemotingService(dataDictionaryId:String, remotingServiceOperationParams:Array, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
This API uses the LCDS Remoting Service details from the Data Dictionary and connects to the same for making a LCDS Remoting invocation.
DataDictionaryUtilService
  
getSampleXMLDataForDD(dataDictionaryId:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Generates sample XML data which can be used for creating a data dictionary instance
DataDictionaryUtilService
  
hasCommonCollectionHierarchy(dataDictionaryId:String, listHavingListOfDDEDisplayNames:IList, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
This verifies whether the collection elements are used in appropriate hierarchy.
DataDictionaryUtilService
  
serializeDDItoXML(dataDictionaryInstance:DataDictionaryInstance, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Generates a XML data representing the input Data Dictionary Instance
DataDictionaryUtilService
Descrizione dei metodi

createDDInstanceFromXml

()metodo
public function createDDInstanceFromXml(dataDictionaryName:String, xml:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

Creates the data dictionary instance(DDI)corresponding to a Data Dictionary using an input XML.

Parametri

dataDictionaryName:String — the name of Data Dictionary for which the DDI is to be created
 
xml:String — the xml input compliant to the XML Schema bindings in Data Dictionary. The DDI is created from the data inside this XML.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken = The DataDictionaryInstance corresponding to input XML.

exportDataDictionaryAsFML

()metodo 
public function exportDataDictionaryAsFML(dataDictionaryId:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

Exports a data dictionary into a fiber model which can be imported back to obtain the data dictionary.

Parametri

dataDictionaryId:String — the Id of Data Dictionary for which FML is to exported.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken- the fiber model/fml corresponding to Data Dictionary as String)

getDataDictionaryFromFML

()metodo 
public function getDataDictionaryFromFML(dataDictionaryName:String, fml:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken
Obsoleto da LCDCT 10: Da utilizzare getDataDictionaryFromFML2

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

Generates a data dictionary from the input fiber model

Parametri

dataDictionaryName:String — name by which the data dictionary is to be generated.
 
fml:String — Fiber Model for creating data dictionary.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - DataDictionary created from Fiber Model\LiveCycle Data Model

getDataDictionaryFromFML2

()metodo 
public function getDataDictionaryFromFML2(dataDictionaryName:String, fml:String, entityName:String, serviceName:String, operationName:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

Generates a data dictionary from the input fiber model

Parametri

dataDictionaryName:String — name by which the data dictionary is to be generated.
 
fml:String — Fiber Model for creating data dictionary.
 
entityName:String — the root ntity to be picked from FML for creating data dictionary
 
serviceName:String — - is used to select the Service if there are more then one services defined in the FML.
 
operationName:String — - is used to select the Operation if there are more then one operations available in the selected Service..
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - DataDictionary created from Fiber Model (LiveCycle Data Model)

getDataDictionaryFromXSD

()metodo 
public function getDataDictionaryFromXSD(dataDictionaryName:String, xmlSchema:String, elementName:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

Generates a data dictionary from the passed XML Schema

Parametri

dataDictionaryName:String — name by which the data dictionary is to be generated.
 
xmlSchema:String — XSD/XML Schema for creating data dictionary.
 
elementName:String — the top level element to be picked from XSD for creating data dictionary.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - DataDictionary created from XML Schema

getDDIFromRemotingService

()metodo 
public function getDDIFromRemotingService(dataDictionaryId:String, remotingServiceOperationParams:Array, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

This API uses the LCDS Remoting Service details from the Data Dictionary and connects to the same for making a LCDS Remoting invocation. The POJO obtained from the invocation is then used to create a Data Dictionary Instance.

Parametri

dataDictionaryId:String — - Data Dictionary Id for which the Data Dictionary Instance is to be retrieved.
 
remotingServiceOperationParams:Array — - These parameters are passed to the LCDS Remoting operation.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - the DataDictionaryInstance corresponding to the remoting Service operation parameters

getSampleXMLDataForDD

()metodo 
public function getSampleXMLDataForDD(dataDictionaryId:String, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

Generates sample XML data which can be used for creating a data dictionary instance

Parametri

dataDictionaryId:String — the Id of Data Dictionary for which Sample XML is to exported.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - sample XML data as String

hasCommonCollectionHierarchy

()metodo 
public function hasCommonCollectionHierarchy(dataDictionaryId:String, listHavingListOfDDEDisplayNames:IList, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 10
Versioni runtime: AIR (unsupported), Flash Player 10.2

This verifies whether the collection elements are used in appropriate hierarchy. Two important rules are applied in order to verify the hierarchy. First Rule : All collection elements at the same level have a common collection hierarchy. Second Rule: The collection elements used at a higher level(Level = n) should be at higher depth than the deepest element of all its previous lower levels (0 <= Level < n). The deepest element is the element farthest from root Data Dictionary Element in the Data Dictionary hierarchy.

Parametri

dataDictionaryId:String — the ID of Data Dictionary for which the elements are to be validated.
 
listHavingListOfDDEDisplayNames:IList — list containing lists of DDE display names (at different levels)
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - a boolean representing whether the collection elements are used in appropriate hierarchy

serializeDDItoXML

()metodo 
public function serializeDDItoXML(dataDictionaryInstance:DataDictionaryInstance, clientHandler:Function = null, errorHandler:Function = null):mx.rpc:AsyncToken

Versione linguaggio: ActionScript 3.0
Versione prodotto: Blocco costitutivo Data Dictionary 9.5
Versioni runtime: AIR (unsupported), Flash Player 10.2

Generates a XML data representing the input Data Dictionary Instance

Parametri

dataDictionaryInstance:DataDictionaryInstance — the Data Dictionary Instance corresponding to which the XML is to be generated.
 
clientHandler:Function (default = null) — This method is called by the service when the asynchronous request completes and the return value has been received.
 
errorHandler:Function (default = null) — This method is called by a service when the asynchronous request completes and an error has been received.

Restituisce
mx.rpc:AsyncToken — AsyncToken - the serialized DataDictionaryInstance corresponding to XML




[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.