Package | com.adobe.icc.editors.handlers |
Classe | public class DataDictionaryHandler |
Héritage | DataDictionaryHandler EventDispatcher Object |
Implémente | IAssetHandler |
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 |
Propriété | Défini par | ||
---|---|---|---|
assetActions : IList
The list of AssetAction objects maintained by this handler. | DataDictionaryHandler | ||
constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | 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 [statique]
The infrastructure service for handling transfer objects of type Data Dictionary. | DataDictionaryHandler |
Méthode | Défini par | ||
---|---|---|---|
Constructor. | DataDictionaryHandler | ||
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. | EventDispatcher | ||
Called internally when this handler is handling an action of type Create. | DataDictionaryHandler | ||
Distribue un événement dans le flux d’événements. | 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 | ||
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement. | EventDispatcher | ||
Indique si la propriété spécifiée d’un objet est définie. | Object | ||
Called by the asset manager framework giving the handlers a chance to initialize themselves. | DataDictionaryHandler | ||
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 | ||
Indique si la propriété spécifiée existe et est énumérable. | Object | ||
Supprime un écouteur de l’objet EventDispatcher. | EventDispatcher | ||
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | Object | ||
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | ||
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | Object | ||
Renvoie la valeur primitive de l’objet spécifié. | Object | ||
Called internally when this handler is handling an action of type View. | DataDictionaryHandler | ||
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é. | EventDispatcher |
Méthode | Défini par | ||
---|---|---|---|
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 |
Evénement | Synthèse | Défini par | ||
---|---|---|---|---|
[Evénement de diffusion] Distribué lorsque l’application Flash Player obtient le focus du système d’exploitation et devient active. | 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 | |||
[Evénement de diffusion] Distribué lorsque l’application Flash Player ou AIR perd le focus du système d’exploitation et devient inactive. | EventDispatcher | |||
Dispatched when an action handled by this handler requires an editor window to be launched. | DataDictionaryHandler |
Constante | Défini par | ||
---|---|---|---|
ACTION_CREATE : String = "Create" [statique]
Constant for the name of the action related to creation of an asset. | DataDictionaryHandler | ||
ACTION_DELETE : String = "Delete" [statique]
Constant for the name of the action related to deletion of an asset. | DataDictionaryHandler | ||
ACTION_EDIT : String = "Edit" [statique]
Constant for the name of the action related to editing of an asset. | DataDictionaryHandler | ||
ACTION_EXPORTPACKAGE : String = "ExportPackage" [statique]
Constant for the name of the action related to exporting dependencies of an asset. | DataDictionaryHandler | ||
ACTION_IMPORTPACKAGE : String = "ImportPackage" [statique]
Constant for the name of the action related to importing dependencies of an asset. | DataDictionaryHandler | ||
ACTION_MARKFORPUBLISH : String = "MarkForPublish" [statique]
Constant for the name of the action related to activation of an asset. | DataDictionaryHandler | ||
ACTION_PUBLISH : String = "PublishDD" [statique]
Constant for the name of the action related to markforpublish of an asset. | DataDictionaryHandler | ||
ACTION_REVERTTOLASTPUBLISH : String = "RevertToLastPublish" [statique]
Constant for the name of the action related to revert to last publish of an asset. | DataDictionaryHandler | ||
ACTION_VIEW : String = "View" [statique]
Constant for the name of the action related to viewing of an asset. | DataDictionaryHandler | ||
ASSET_TYPE : String = "DataDictionary" [statique]
Constant for the Asset Type handled by this handler. | DataDictionaryHandler |
assetActions | propriété |
assetActions:IList
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange
.
Implémentation
public function get assetActions():IList
public function set assetActions(value:IList):void
currentAction | propriété |
currentAction:AssetAction
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange
.
Implémentation
public function get currentAction():AssetAction
public function set currentAction(value:AssetAction):void
selectedAssets | propriété |
selectedAssets:Array
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange
.
Implémentation
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
service | propriété |
public static var service:DataDictionaryRegistryService
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
The infrastructure service for handling transfer objects of type Data Dictionary.
DataDictionaryHandler | () | Constructeur |
public function DataDictionaryHandler()
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constructor.
createDataDictionary | () | méthode |
public function createDataDictionary():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
protected function deleteDataDictionary(showWaring:Boolean = true):mx.rpc:AsyncToken
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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.
Paramètres
showWaring:Boolean (default = true ) — Should the warning be shown before deletion
|
mx.rpc:AsyncToken — AsyncToken token
|
editDataDictionary | () | méthode |
public function editDataDictionary():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
public function getAssetType():String
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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.
Valeur renvoyéeString — the asset type handled by this handler.
|
handleAction | () | méthode |
public function handleAction(event:AssetActionEvent):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Called the Asset Action is delegated to the handler
Paramètres
event:AssetActionEvent — AssetActionEvent containing information about the action
|
handleDefaultAction | () | méthode |
protected function handleDefaultAction(event:AssetActionEvent):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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.
Paramètres
event:AssetActionEvent — AssetActionEvent containing information about the action
|
handleImportManagerPopUp | () | méthode |
protected function handleImportManagerPopUp(event:AssetActionEvent):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Redispatching the asset action event to show the import Asset Popup
Paramètres
event:AssetActionEvent — AssetActionEvent containing information about the import action
|
handleRevertToLastPublish | () | méthode |
protected function handleRevertToLastPublish():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
public function initialize():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
launchExportPopUp | () | méthode |
protected function launchExportPopUp():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
protected function launchImportPopUp():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
protected function markForPublish():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
protected function publish():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | () | méthode |
protected function revertToLastPublish(event:CloseEvent):void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Called internally when the user selects the button on the Revert To Last Publish Pop up .
Paramètres
event:CloseEvent — CloseEvent
|
viewDataDictionary | () | méthode |
public function viewDataDictionary():void
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | 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 | Evénement |
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
propriété AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
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 |
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 | Evénement |
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
propriété AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
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 |
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 | Constante |
public static const ACTION_CREATE:String = "Create"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to creation of an asset.
ACTION_DELETE | Constante |
public static const ACTION_DELETE:String = "Delete"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to deletion of an asset.
ACTION_EDIT | Constante |
public static const ACTION_EDIT:String = "Edit"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to editing of an asset.
ACTION_EXPORTPACKAGE | Constante |
public static const ACTION_EXPORTPACKAGE:String = "ExportPackage"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to exporting dependencies of an asset.
ACTION_IMPORTPACKAGE | Constante |
public static const ACTION_IMPORTPACKAGE:String = "ImportPackage"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to importing dependencies of an asset.
ACTION_MARKFORPUBLISH | Constante |
public static const ACTION_MARKFORPUBLISH:String = "MarkForPublish"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to activation of an asset.
ACTION_PUBLISH | Constante |
public static const ACTION_PUBLISH:String = "PublishDD"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to markforpublish of an asset.
ACTION_REVERTTOLASTPUBLISH | Constante |
public static const ACTION_REVERTTOLASTPUBLISH:String = "RevertToLastPublish"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to revert to last publish of an asset.
ACTION_VIEW | Constante |
public static const ACTION_VIEW:String = "View"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the name of the action related to viewing of an asset.
ASSET_TYPE | Constante |
public static const ASSET_TYPE:String = "DataDictionary"
Version du langage: | ActionScript 3.0 |
Version du produit: | Bloc de création Asset Composer 10.0 |
Versions du moteur d’exécution: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
Tue Jun 12 2018, 09:30 AM Z