Pacote | com.adobe.icc.editors.handlers |
Classe | public class DataDictionaryHandler |
Herança | DataDictionaryHandler EventDispatcher Object |
Implementações | IAssetHandler |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Propriedade | Definido por | ||
---|---|---|---|
assetActions : IList
The list of AssetAction objects maintained by this handler. | DataDictionaryHandler | ||
constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | 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 [estático]
The infrastructure service for handling transfer objects of type Data Dictionary. | DataDictionaryHandler |
Método | Definido por | ||
---|---|---|---|
Constructor. | DataDictionaryHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | EventDispatcher | ||
Called internally when this handler is handling an action of type Create. | DataDictionaryHandler | ||
Envia um evento para o fluxo de eventos. | 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 o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Called by the asset manager framework giving the handlers a chance to initialize themselves. | DataDictionaryHandler | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Remove um ouvinte do objeto EventDispatcher. | EventDispatcher | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object | ||
Called internally when this handler is handling an action of type View. | DataDictionaryHandler | ||
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher |
Método | Definido por | ||
---|---|---|---|
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 | Resumo | Definido por | ||
---|---|---|---|---|
[transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR ganha o foco do sistema operacional e está se tornando inativo. | 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 | |||
[transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR perde o foco do sistema operacional e está se tornando inativo. | EventDispatcher | |||
Dispatched when an action handled by this handler requires an editor window to be launched. | DataDictionaryHandler |
Constante | Definido por | ||
---|---|---|---|
ACTION_CREATE : String = "Create" [estático]
Constant for the name of the action related to creation of an asset. | DataDictionaryHandler | ||
ACTION_DELETE : String = "Delete" [estático]
Constant for the name of the action related to deletion of an asset. | DataDictionaryHandler | ||
ACTION_EDIT : String = "Edit" [estático]
Constant for the name of the action related to editing of an asset. | DataDictionaryHandler | ||
ACTION_EXPORTPACKAGE : String = "ExportPackage" [estático]
Constant for the name of the action related to exporting dependencies of an asset. | DataDictionaryHandler | ||
ACTION_IMPORTPACKAGE : String = "ImportPackage" [estático]
Constant for the name of the action related to importing dependencies of an asset. | DataDictionaryHandler | ||
ACTION_MARKFORPUBLISH : String = "MarkForPublish" [estático]
Constant for the name of the action related to activation of an asset. | DataDictionaryHandler | ||
ACTION_PUBLISH : String = "PublishDD" [estático]
Constant for the name of the action related to markforpublish of an asset. | DataDictionaryHandler | ||
ACTION_REVERTTOLASTPUBLISH : String = "RevertToLastPublish" [estático]
Constant for the name of the action related to revert to last publish of an asset. | DataDictionaryHandler | ||
ACTION_VIEW : String = "View" [estático]
Constant for the name of the action related to viewing of an asset. | DataDictionaryHandler | ||
ASSET_TYPE : String = "DataDictionary" [estático]
Constant for the Asset Type handled by this handler. | DataDictionaryHandler |
assetActions | propriedade |
assetActions:IList
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange
.
Implementação
public function get assetActions():IList
public function set assetActions(value:IList):void
currentAction | propriedade |
currentAction:AssetAction
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange
.
Implementação
public function get currentAction():AssetAction
public function set currentAction(value:AssetAction):void
selectedAssets | propriedade |
selectedAssets:Array
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange
.
Implementação
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
service | propriedade |
public static var service:DataDictionaryRegistryService
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
The infrastructure service for handling transfer objects of type Data Dictionary.
DataDictionaryHandler | () | Construtor |
public function DataDictionaryHandler()
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Constructor.
createDataDictionary | () | método |
public function createDataDictionary():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
protected function deleteDataDictionary(showWaring:Boolean = true):mx.rpc:AsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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.
Parâmetros
showWaring:Boolean (default = true ) — Should the warning be shown before deletion
|
mx.rpc:AsyncToken — AsyncToken token
|
editDataDictionary | () | método |
public function editDataDictionary():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
public function getAssetType():String
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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.
RetornaString — the asset type handled by this handler.
|
handleAction | () | método |
public function handleAction(event:AssetActionEvent):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Called the Asset Action is delegated to the handler
Parâmetros
event:AssetActionEvent — AssetActionEvent containing information about the action
|
handleDefaultAction | () | método |
protected function handleDefaultAction(event:AssetActionEvent):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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.
Parâmetros
event:AssetActionEvent — AssetActionEvent containing information about the action
|
handleImportManagerPopUp | () | método |
protected function handleImportManagerPopUp(event:AssetActionEvent):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Redispatching the asset action event to show the import Asset Popup
Parâmetros
event:AssetActionEvent — AssetActionEvent containing information about the import action
|
handleRevertToLastPublish | () | método |
protected function handleRevertToLastPublish():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
public function initialize():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Called by the asset manager framework giving the handlers a chance to initialize themselves.
launchExportPopUp | () | método |
protected function launchExportPopUp():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
protected function launchImportPopUp():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
protected function markForPublish():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
protected function publish():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | () | método |
protected function revertToLastPublish(event:CloseEvent):void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Called internally when the user selects the button on the Revert To Last Publish Pop up .
Parâmetros
event:CloseEvent — CloseEvent
|
viewDataDictionary | () | método |
public function viewDataDictionary():void
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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
propriedade AssetActionsChangeEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionsChangeEvent
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10 |
Versões de 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
propriedade AssetActionEvent.type =
com.adobe.livecycle.assetmanager.client.event.AssetActionEvent
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10 |
Versões de 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 | Constante |
public static const ACTION_CREATE:String = "Create"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de 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 | Constante |
public static const ACTION_VIEW:String = "View"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | 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"
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Asset Composer Building Block 10.0 |
Versões de runtime: | AIR (unsupported), Flash Player 10.2 |
Constant for the Asset Type handled by this handler.
Wed Jun 13 2018, 11:10 AM Z