Pacchetto | com.adobe.icc.editors.handlers |
Classe | public class DataDictionaryHandler |
Ereditarietà | DataDictionaryHandler EventDispatcher Object |
Implementa | IAssetHandler |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Proprietà | Definito da | ||
---|---|---|---|
assetActions : IList
The list of AssetAction objects maintained by this handler. | DataDictionaryHandler | ||
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
currentAction : AssetAction
The action that the handler is currently executing. | DataDictionaryHandler | ||
selectedAssets : Array
The array of data dictionary value objects currently selected by the user. | DataDictionaryHandler | ||
service : DataDictionaryRegistryService [statico]
The infrastructure service for handling transfer objects of type Data Dictionary. | DataDictionaryHandler |
Metodo | Definito da | ||
---|---|---|---|
Constructor. | DataDictionaryHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | EventDispatcher | ||
Called internally when this handler is handling an action of type Create. | DataDictionaryHandler | ||
Invia un evento nel flusso di eventi. | EventDispatcher | ||
Called internally when this handler is handling an action of type Edit. | DataDictionaryHandler | ||
Returns the asset type handled by this handler. | DataDictionaryHandler | ||
Called the Asset Action is delegated to the handler
| DataDictionaryHandler | ||
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | EventDispatcher | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Called by the asset manager framework giving the handlers a chance to initialize themselves. | DataDictionaryHandler | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Rimuove un listener dall'oggetto EventDispatcher. | EventDispatcher | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object | ||
Called internally when this handler is handling an action of type View. | DataDictionaryHandler | ||
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | EventDispatcher |
Metodo | Definito da | ||
---|---|---|---|
Called internally when this handler is handling an action of type Delete. | DataDictionaryHandler | ||
handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid. | DataDictionaryHandler | ||
Redispatching the asset action event to show the import Asset Popup
| DataDictionaryHandler | ||
Called internally when this handler is handling an action of type RevertToLastPublish. | DataDictionaryHandler | ||
Called internally when this handler is handling an action of type ExportPackage. | DataDictionaryHandler | ||
Called internally when this handler is handling an action of type ImportPackage. | DataDictionaryHandler | ||
Called internally when this handler is handling action of type MarkForPublish
This method modifies the state of asset to Ready to Publish . | DataDictionaryHandler | ||
Called internally when this handler is handling an action of type Publish. | DataDictionaryHandler | ||
Called internally when the user selects the button on the Revert To Last Publish Pop up . | DataDictionaryHandler |
Evento | Riepilogo | Definito da | ||
---|---|---|---|---|
[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo. | EventDispatcher | |||
assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. | DataDictionaryHandler | |||
[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo. | EventDispatcher | |||
Dispatched when an action handled by this handler requires an editor window to be launched. | DataDictionaryHandler |
Costante | Definito da | ||
---|---|---|---|
ACTION_CREATE : String = "Create" [statico]
Constant for the name of the action related to creation of an asset. | DataDictionaryHandler | ||
ACTION_DELETE : String = "Delete" [statico]
Constant for the name of the action related to deletion of an asset. | DataDictionaryHandler | ||
ACTION_EDIT : String = "Edit" [statico]
Constant for the name of the action related to editing of an asset. | DataDictionaryHandler | ||
ACTION_EXPORTPACKAGE : String = "ExportPackage" [statico]
Constant for the name of the action related to exporting dependencies of an asset. | DataDictionaryHandler | ||
ACTION_IMPORTPACKAGE : String = "ImportPackage" [statico]
Constant for the name of the action related to importing dependencies of an asset. | DataDictionaryHandler | ||
ACTION_MARKFORPUBLISH : String = "MarkForPublish" [statico]
Constant for the name of the action related to activation of an asset. | DataDictionaryHandler | ||
ACTION_PUBLISH : String = "PublishDD" [statico]
Constant for the name of the action related to markforpublish of an asset. | DataDictionaryHandler | ||
ACTION_REVERTTOLASTPUBLISH : String = "RevertToLastPublish" [statico]
Constant for the name of the action related to revert to last publish of an asset. | DataDictionaryHandler | ||
ACTION_VIEW : String = "View" [statico]
Constant for the name of the action related to viewing of an asset. | DataDictionaryHandler | ||
ASSET_TYPE : String = "DataDictionary" [statico]
Constant for the Asset Type handled by this handler. | DataDictionaryHandler |
assetActions | proprietà |
assetActions:IList
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The list of AssetAction objects maintained by this handler. This list is used by the asset manager framework to determine which action to enable. The asset manager framework looks for the value of the enabled flag in the AssetAction object to determine the same and handler updates the flags everytime the list of selected assets changes.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get assetActions():IList
public function set assetActions(value:IList):void
currentAction | proprietà |
currentAction:AssetAction
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The action that the handler is currently executing. This is useful in cases when the editor needs to know the action that the working asset is being acted upon. For instance, the editor might need to disable some of the fields if it is a view action.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get currentAction():AssetAction
public function set currentAction(value:AssetAction):void
selectedAssets | proprietà |
selectedAssets:Array
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The array of data dictionary value objects currently selected by the user. This is set by the asset manager framework everytime a user selects or deselects an item of type DataDictionary.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
service | proprietà |
public static var service:DataDictionaryRegistryService
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
The infrastructure service for handling transfer objects of type Data Dictionary.
DataDictionaryHandler | () | Funzione di costruzione |
public function DataDictionaryHandler()
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constructor.
createDataDictionary | () | metodo |
public function createDataDictionary():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Create. The default implementation creates a new data dictionary domain object, assigns it as the working asset and dispatches the launchEditor event so that the framework can display the editor window to the user. This method can be extended to override the creation behavior of this handler. For instance, if creation requires some preprocessing or some checks that need to be made, the same can be done by overriding this method.
deleteDataDictionary | () | metodo |
protected function deleteDataDictionary(showWaring:Boolean = true):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Delete. The default implementation deletes s single selected DataDictionary. A confirmation Alert dialog is shown to the user but can be curbed by setting the showWarning flag value to false. The launchEditor event is never dispatched while handling the delete action.
Parametri
showWaring:Boolean (default = true ) — Should the warning be shown before deletion
|
mx.rpc:AsyncToken — AsyncToken token
|
editDataDictionary | () | metodo |
public function editDataDictionary():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Edit. The default implementation creates a new data dictionary domain object from the selected data dictionary value object.
getAssetType | () | metodo |
public function getAssetType():String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Returns the asset type handled by this handler. This is used by the asset manager framework to route actions to appropriate handlers.
RestituisceString — the asset type handled by this handler.
|
handleAction | () | metodo |
public function handleAction(event:AssetActionEvent):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called the Asset Action is delegated to the handler
Parametri
event:AssetActionEvent — AssetActionEvent containing information about the action
|
handleDefaultAction | () | metodo |
protected function handleDefaultAction(event:AssetActionEvent):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
handles the default Action(AssetActionEvent.ACTIN_DEFAULT) such as Item double click on search results grid. If user has edit permission, then asset is opened in edit mode. otherwise if user has view peermission then asset is opened in view mode.
Parametri
event:AssetActionEvent — AssetActionEvent containing information about the action
|
handleImportManagerPopUp | () | metodo |
protected function handleImportManagerPopUp(event:AssetActionEvent):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Redispatching the asset action event to show the import Asset Popup
Parametri
event:AssetActionEvent — AssetActionEvent containing information about the import action
|
handleRevertToLastPublish | () | metodo |
protected function handleRevertToLastPublish():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type RevertToLastPublish. This method all the revert to last publish functionality and shows either alert or pop up of all the dependent assets.
initialize | () | metodo |
public function initialize():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
launchExportPopUp | () | metodo |
protected function launchExportPopUp():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type ExportPackage. This method launches the export Pop up to display all the assets to be exported .
launchImportPopUp | () | metodo |
protected function launchImportPopUp():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type ImportPackage. This method launches the import Pop up to display all the assets to be imported .
markForPublish | () | metodo |
protected function markForPublish():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling action of type MarkForPublish This method modifies the state of asset to Ready to Publish .
publish | () | metodo |
protected function publish():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type Publish. This method publishes the asset using id of that asset.
revertToLastPublish | () | metodo |
protected function revertToLastPublish(event:CloseEvent):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when the user selects the button on the Revert To Last Publish Pop up .
Parametri
event:CloseEvent — CloseEvent
|
viewDataDictionary | () | metodo |
public function viewDataDictionary():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when this handler is handling an action of type View. The default implementation creates a new data dictionary domain object from the selected data dictionary value object, assigns it as the working asset and dispatches the launchEditor event so that the framework can display the editor window to the user. This method can be extended to override the "view" behavior of this handler. For instance, if viewing action requires some preprocessing or some checks that need to be made, the same can be done by overriding this method.
assetActionsChanged | Evento |
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
proprietà AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
assetActionsChanged event is thrown by the Handler when the selected item in results viewer change and it updates the correct handler selected assets. It is redispatched by the AssetHandlerRegistry and finally handled by AssetManagerView
launchEditor | Evento |
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
proprietà AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Dispatched when an action handled by this handler requires an editor window to be launched. Create/View/Edit/Copy are the actions that require displaying the editor window to the user.
ACTION_CREATE | Costante |
public static const ACTION_CREATE:String = "Create"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to creation of an asset.
ACTION_DELETE | Costante |
public static const ACTION_DELETE:String = "Delete"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to deletion of an asset.
ACTION_EDIT | Costante |
public static const ACTION_EDIT:String = "Edit"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to editing of an asset.
ACTION_EXPORTPACKAGE | Costante |
public static const ACTION_EXPORTPACKAGE:String = "ExportPackage"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to exporting dependencies of an asset.
ACTION_IMPORTPACKAGE | Costante |
public static const ACTION_IMPORTPACKAGE:String = "ImportPackage"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to importing dependencies of an asset.
ACTION_MARKFORPUBLISH | Costante |
public static const ACTION_MARKFORPUBLISH:String = "MarkForPublish"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to activation of an asset.
ACTION_PUBLISH | Costante |
public static const ACTION_PUBLISH:String = "PublishDD"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to markforpublish of an asset.
ACTION_REVERTTOLASTPUBLISH | Costante |
public static const ACTION_REVERTTOLASTPUBLISH:String = "RevertToLastPublish"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to revert to last publish of an asset.
ACTION_VIEW | Costante |
public static const ACTION_VIEW:String = "View"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to viewing of an asset.
ASSET_TYPE | Costante |
public static const ASSET_TYPE:String = "DataDictionary"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Asset Composer 10.0 |
Versioni runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
Tue Jun 12 2018, 02:44 PM Z