套件 | com.adobe.livecycle.assetmanager.client.handler |
類別 | public class PermissionBasedAssetHandler |
繼承 | PermissionBasedAssetHandler EventDispatcher Object |
實作 | IAssetHandler |
已不建議使用: Deprecated
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
assetActions : IList
Specifies the list of actions that are associated with the asset that is handled by this handler. | PermissionBasedAssetHandler | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
selectedAssets : Array
Specifies the array of currently selected assets. | PermissionBasedAssetHandler | ||
target : IAssetHandler
Specifies the target asset handler that is wrapped by this instance. | PermissionBasedAssetHandler | ||
userPermissions : IList [靜態]
Specifies a list of permissions that is associated with the current logged-in user. | PermissionBasedAssetHandler | ||
userPermissionsPrefixMap : Object [靜態]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | PermissionBasedAssetHandler |
公用方法
方法 | 定義自 | ||
---|---|---|---|
PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Constructor. | PermissionBasedAssetHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Returns the asset type associated with the asset. | PermissionBasedAssetHandler | ||
Called when a user clicks an action associated with an asset type. | PermissionBasedAssetHandler | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Initializes the handler. | PermissionBasedAssetHandler | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
屬性詳細資訊
assetActions | 屬性 |
assetActions:IList
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the list of actions that are associated with the asset that is handled by this handler.
實作
public function get assetActions():IList
public function set assetActions(value:IList):void
selectedAssets | 屬性 |
target | 屬性 |
public var target:IAssetHandler
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the target asset handler that is wrapped by this instance.
userPermissions | 屬性 |
userPermissions:IList
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a list of permissions that is associated with the current logged-in user.
實作
public static function get userPermissions():IList
public static function set userPermissions(value:IList):void
userPermissionsPrefixMap | 屬性 |
public static var userPermissionsPrefixMap:Object
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}
.
建構函式詳細資料
PermissionBasedAssetHandler | () | 建構函式 |
public function PermissionBasedAssetHandler(targetHandler:IAssetHandler)
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
參數targetHandler:IAssetHandler — The AssetHandler instance that is associated with this object.
|
方法詳細資訊
getAssetType | () | 方法 |
handleAction | () | 方法 |
public function handleAction(actionEvent:AssetActionEvent):void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called when a user clicks an action associated with an asset type.
參數
actionEvent:AssetActionEvent — The event that is thrown when the user clicks an action associated with an asset type.
|
initialize | () | 方法 |
public function initialize():void
語言版本: | ActionScript 3.0 |
產品版本: | Asset Manager Building Block 9.5 |
執行階段版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Initializes the handler. Called when AssetHandlerRegistry starts.
Tue Jun 12 2018, 03:47 PM Z